Bug 38201 - VueJS architecture rethink
Summary: VueJS architecture rethink
Status: In Discussion
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL: https://github.com/PTFS-Europe/koha/t...
Keywords:
Depends on: 37301
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-18 08:21 UTC by Pedro Amorim
Modified: 2024-10-20 22:32 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.