Bug 38201

Summary: VueJS architecture rethink
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: In Discussion --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, jonathan.druart, martin.renvoize, matt.blenkinsop, paul.derscheid, pedro.amorim
Version: Main   
Hardware: All   
OS: All   
URL: https://github.com/PTFS-Europe/koha/tree/b_38201
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37930
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 37301    
Bug Blocks:    

Description Pedro Amorim 2024-10-18 08:21:50 UTC
The goal is to streamline and provide a standard to how a regular CRUD component is implemented, instead of having to implement everything every time a new CRUD is required.
Comment 1 Pedro Amorim 2024-10-18 08:26:04 UTC
Have a WIP on a branch at the moment, for discussion.
Comment 2 Pedro Amorim 2024-10-18 08:35:17 UTC
Bug 37301 is the first step. The idea here is to go one step furhter.
To have all CRUD forms be rendered dynamically from a list of resource attributes, instead of having to be implemented every time for every CRUD.
Tables to be rendered dynamically from the same list of resource attributes, instead of having to be implemented every time for every CRUD.
This would greatly ease future components development, and ensure further consistency and less bugs by having common overlapping code DRY.
Have one single way of rendering an AV dropdown on a form, have one single way of rendering a boolean input on a form, and so on.
Comment 3 Pedro Amorim 2024-10-18 09:13:11 UTC
Chatting with Matt, this should likely be based on bug 37930.