-
Notifications
You must be signed in to change notification settings - Fork 199
[configuration] mapping field and tree UI features #10449
Copy link
Copy link
Open
Enhancement
0 / 30 of 3 issues completed
Copy link
Labels
Area: UIPR or issue related to the user interfacePR or issue related to the user interfaceCategory: FeaturePR or issue that aims to introduce a new featurePR or issue that aims to introduce a new featureCategory: RefactorPR or issue that aims to improve the existing codePR or issue that aims to improve the existing codeLanguage: JavascriptPR or issue that update Javascript codePR or issue that update Javascript codeLanguage: PHPPR or issue that update PHP codePR or issue that update PHP codeLanguage: SQLPR or issue that update SQL codePR or issue that update SQL codeModule: configurationPR or issue related to configuration modulePR or issue related to configuration moduleProposalPR or issue suggesting an improvement that can be accepted, rejected or alteredPR or issue suggesting an improvement that can be accepted, rejected or altered
Metadata
Metadata
Assignees
Labels
Area: UIPR or issue related to the user interfacePR or issue related to the user interfaceCategory: FeaturePR or issue that aims to introduce a new featurePR or issue that aims to introduce a new featureCategory: RefactorPR or issue that aims to improve the existing codePR or issue that aims to improve the existing codeLanguage: JavascriptPR or issue that update Javascript codePR or issue that update Javascript codeLanguage: PHPPR or issue that update PHP codePR or issue that update PHP codeLanguage: SQLPR or issue that update SQL codePR or issue that update SQL codeModule: configurationPR or issue related to configuration modulePR or issue related to configuration moduleProposalPR or issue suggesting an improvement that can be accepted, rejected or alteredPR or issue suggesting an improvement that can be accepted, rejected or altered
Type
Fields
Give feedbackNo fields configured for Enhancement.
Is your feature request related to an existing module?
Implementation expected for
Configurationmodule.It should be accessible to anyone having already the right access to the configuration module.
Issues
Configuration is handled by:
config.xmlfile, no UI.Config/ConfigSettingstables in the database, with UI.To get a config item, the main process goes through the
NDB_Config::getSettings()method which first take a look at theconfig.xmlfile, then if nothing is found, go to the db.The problem is two-fold:
Studymain category is the root level parent, and all level 1 items such asstudy titleandstudy logoare displayed with their associated values. We can go deeper in the database organization/structure e.g. representingredcapmodule level structures, but we cannot display them on the configuration UI.It would be very useful in a context where complex configurations or configuration details are required.
Complex configuration are handled in the
config.xmlbecause it is easier to access and modify, but the display lacks the full picture only showing the db side.Describe the solution you'd like
1. Mapped values + UI
The goal is the include:
For instance, adding a couple of db elements to be able to have mappings of values, even the case of listed/multiple elements.
Or even better: a different table.
UI:
allowMultiple = truethen it should have a couple of items per line.2. Configuration tree + UI
Ideally, having interactive and collapsible blocs of elements organize in a tree-like structure should be the targeted.
I do not have a definitive UI in mind, and it should be discussed. Here is a quick proposition:
name,labelanddescription.In DB:
max_recursive_iterationsto avoid going into neverland.Example of UI: demo_html_20260414.html
Other designs can be discussed.