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

Integrate angular app into SORMAS #11666

Open
2 of 13 tasks
MartinWahnschaffe opened this issue Mar 16, 2023 · 0 comments
Open
2 of 13 tasks

Integrate angular app into SORMAS #11666

MartinWahnschaffe opened this issue Mar 16, 2023 · 0 comments
Labels
angular-app Affects the Angular app that is currently in development epic A high level ticket with subtickets for development (ticket type) vaadin-app Affects the Vaadin application

Comments

@MartinWahnschaffe
Copy link
Contributor

MartinWahnschaffe commented Mar 16, 2023

Situation Description & Motivation

As the long-term goal is to move from Vaadin to Angular, we need a foundation that allows us to:

  1. Move existing SORMAS features (e.g. mSERS, Case Surveillance, etc.) from Vaadin to Angular
  2. Build the UI for new features only in Angular and no longer in Vaadin

The https://github.com/hzi-braunschweig/SORMAS-Angular project provides a lot of the core functionality of SORMAS. Unfortunately none of the features is complete in a way that would allow it to completely replace the existing SORMAS Vaadin UI.

High-Level Explanation

The idea is to run the Vaadin UI and Angular UI in parallel. We will not embedded one UI into the other. Instead, we will use the different views of SORMAS as the separation between the two frontends. In other words, we will switch between both frontends using links.
E.g. .../sormas-ui/#!cases would be provided by the Sormas Vaadin UI, while .../sormas-web/about would be provided by the Sormas Angular UI.

Goal:

  • sormas-web module in the SORMAS-Project repository with all the basic dependencies that can be copied from SORMAS-Angular. The whole vertical slice from backend to frontend should be in one repository.
  • Navigation menu that looks like the one of the current Vaadin application and needs to be configured based on which features are available (as configured in the backend) and thus have an entry in the navigation menu.
  • An easy way to provide URL of each view, so the correct frontend is used. This either needs to be kept in sync for both frontends or use a shared logic in the backend.
  • Single-sign-on (keycloak)
  • Clarify whether legacy login (basic auth) should still be supported
  • I18n has to work

Timeline

Tasks

Alternatives

Risks

  • The transition period where old and new version of a view (e.g. cases) are supported (or in preview), should be as short as possible, so we can drop the vaadin view and the related automated tests as quickly as possible.
@MartinWahnschaffe MartinWahnschaffe added angular-app Affects the Angular app that is currently in development epic A high level ticket with subtickets for development (ticket type) vaadin-app Affects the Vaadin application labels Mar 16, 2023
@MartinWahnschaffe MartinWahnschaffe changed the title Integrate vaadin app and angular app with each other Integrate angular app into SORMAS Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular-app Affects the Angular app that is currently in development epic A high level ticket with subtickets for development (ticket type) vaadin-app Affects the Vaadin application
Projects
None yet
Development

No branches or pull requests

1 participant