Repository navigation
Replies: 1 comment
|
Closed this discussion for now. Please vote here: https://lists.apache.org/thread.html/2vql6bvgr75jczjj6w9dp7qv129gfwm2 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Proposal
The discussion #9387 compared frontend frameworks, and many members preferred React. As the next step, I propose creating an experimental React frontend beside today's Angular frontend.
New folder
frontend-react/I propose a separate folder and a separate path, so that the two frontends run side by side on one site. Below is
Hosting the Experiment Frontend Separately
The browser reaches both frontends through the same gateway, and both call the same
/api. I think this arrangement has three benefits:frontend/changes, and with the flag off a release behaves exactly as today./alpha/already signed in. A page not built in React yet links to its Angular page.New frontend endpoints will be controlled by a config flag
/alpha/is off by default, so a release behaves as today until a deployment turns it on. The flag sits with the other frontend switches incommon/config/src/main/resources/gui.conf:The React build ships in the Dashboard Service's image beside the Angular build, and the Dashboard Service serves it at
/alpha/only while the flag is on, as it serves the Angular build at/. Both gateways already send/to the Dashboard Service, so they need no new route. A deployment turns the flag on withGUI_ALPHA_FRONTEND_ENABLED=true, inbin/single-node/.envor undertexeraEnvVarsin the Helm values.0 votes ·
All reactions