Update Session received screen #388ehp2
This issue concerns 6th part of data transmission and can be done independently of the other parts. The screens for the whole process for HCP are attached below.
The broader story can be found on ClickUp: HCP
Note: This issue only deals with the 6th screens on the images below.
Note!
This issue is very similar to #231 and should be handled in the same way. There is probably a lot to abstract here.
What is to be done?
- Update
OpenSessionStoreService.importSessionConfigs
(see. below) such that it looks like the 6th screen below 'Therapieverlauf öffnen' - If the user clicks the action button in the center, import the Session, then activate the session, see below
- If the user clicks cancel throw a UserCanceledError and close the modal.
- Please use rccButtonComponent for the cancel button (see #225), use a mock component if rccButton is not ready yet.
Current State
This particular part of the app gets triggered when a Session enters the app (via IcomingDataService
).
OpenSessionStoreService.importSessionConfigs
opens an alert when that happens. Please replace that alert by a modal looking like the 6th screen below. The method already activates the session and with it opens the session home page.
Why Session and not report?
The design layout refers to reports why is this about sessions? – At the moment sessions are what the HCP receives. This will change in the near future ( I suppose ). Switching to Report here will break the App, and I'd rather prevent that. Once we found a good way to solve this issue, it is easily transferable to Reports, or the type of data the HCP will receive in the future. We still add the receive Sessions screen – instead of skipping it for now – so that the whole data transmission process is done and testable.
Attachments
Link to figma for the whole sequence: figma HCP
Only screen 6 is relevant for this issue.