https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42959
Bug ID: 42959
Summary: Migrate staff interface functionality from CGI
controller + Template Toolkit to REST API + Vue.js
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
Koha's staff interface has historically used Perl CGI controllers (.pl files)
paired with Template Toolkit templates (.tt files) to render pages server-side.
The modern architecture — already established in modules such as ERM and
Preservation — uses REST API endpoints (Koha::REST::V1::*) paired with Vue.js 3
single-page components rendered client-side.
This META bug tracks the incremental migration of existing staff interface
functionality to the new pattern.
Migration pattern:
- From: koha/foo.pl (CGI) + koha-tmpl/intranet-tmpl/prog/en/modules/foo.tt (TT)
- To: api/v1/swagger/ + Koha/REST/V1/ (REST API) + Vue.js 3 component under
koha-tmpl/intranet-tmpl/prog/js/vue/
Goals:
- Consistent, testable REST API surface for all major data operations
- Improved UI responsiveness and user experience via client-side rendering
- Reduced server-side template complexity
- Better separation of concerns between data and presentation layers
This is a tracking/collection bug only. Individual migration bugs should be
filed separately and blocked against this one. Migrations should include REST
API tests (t/db_dependent/api/v1/) and Cypress end-to-end tests. Pages that
have complex existing workflows should be scoped carefully — partial migrations
(e.g. migrating a modal or a tab before the whole page) are acceptable and
encouraged.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/