Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep architectural change of the GUI (discussion) #362

Open
hannaeko opened this issue Nov 14, 2022 · 2 comments
Open

Deep architectural change of the GUI (discussion) #362

hannaeko opened this issue Nov 14, 2022 · 2 comments
Labels
T-Question Type: Incoming question
Milestone

Comments

@hannaeko
Copy link
Member

I think I mentioned this briefly on a meeting, I am opening an issue so we have a place to discus it.

The feeling I have from working with on GUI for more than a year now is that how it is made (single page application, doing everything on the browser) make certain things hard to do:

  • customization, since the GUI is "assembled" at compile time, changing the structure of the document, the scripts, or the style is not straightforward without rebuilding the GUI;
  • in a similar way, since last release and even more going forward after next release, adding / updating translation is not possible to do without recompiling;
  • changing the base url to run the GUI from a sub path require manual update of the release files, after each release;
  • after Upgrade angular and bootstrap #349 language choice based on browser preference will be harder and error prone.

To that we also need to add the work required to maintain the project alive by upgrading our dependencies for each release, which can take some effort.

I am wondering if we could consider moving to a "server based GUI", with a server that would do the rendering / HTTP routing of the GUI. This way I think we could solve some of the issues mentioned before:

  • customization would be achieve by having templates, which are decoupled from our application, only changing the template without recompiling is possible;
  • same thing for translation, our translation file could live separately from the server and be rendered when page are served, this allow for a user to modify the translation and simply point the server to the modified translation folder;
  • the base url could be a configuration of the server, no need to change the source files;
  • if we have a server we can correctly parse accept-language headers.

What are you thoughts on that?

@matsduf @mattias-p @PNAX @tgreenx @marc-vanderwal

@hannaeko hannaeko added the T-Question Type: Incoming question label Nov 14, 2022
@hannaeko hannaeko changed the title Deep architectural change of the GUI Deep architectural change of the GUI (discussion) Nov 14, 2022
@matsduf
Copy link
Contributor

matsduf commented Nov 25, 2022

@blacksponge, is this something for the F2F?

@matsduf matsduf added this to the v2023.1 milestone Nov 25, 2022
@hannaeko
Copy link
Member Author

Yes I think we could discuss that there.

@matsduf matsduf modified the milestones: v2023.1, v2023.2 Jun 26, 2023
@matsduf matsduf modified the milestones: v2023.2, v2024.1 Mar 19, 2024
@matsduf matsduf modified the milestones: v2024.1, v2024.2 Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Question Type: Incoming question
Projects
None yet
Development

No branches or pull requests

2 participants