Task #575
closedImprove FE configuration
100%
Description
As it stands now, FE can be configured by two ways:
By editing the config.json of the selected stage - but it is required to do it within build of FE
By editing the config.js - but this adds global variables which is not really configuration and is very error
I would prefer a more flexible path. The new way of configuring should support configuration without the necessity of re-building the application. A restart is not a problem.
Updated by Vít Švanda about 7 years ago
- Target version deleted (
Diamond (7.4.0))
Updated by Radek Tomiška about 7 years ago
- Assignee changed from Radek Tomiška to Vít Švanda
- Target version set to Forsterite (7.6.0)
- % Done changed from 0 to 90
Whole object is transformed to simple JS and is used as application configuration => can be changed after build (with some limitations - theme, overrideModuleDescriptor is used in build phase, so is not possible to change it ):
https://wiki.czechidm.com/devel/dev/configuration/frontend
Could you pls do a review?
Updated by Radek Tomiška about 7 years ago
- Status changed from New to Needs feedback
Updated by Vít Švanda about 7 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
Works fine. I appreciate nice solution (transform whole config.json object).