-
Notifications
You must be signed in to change notification settings - Fork 6
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
CARDS-1741: Add a "PageStart" extension point to the patient UI #1180
base: dev
Are you sure you want to change the base?
Conversation
a6ff8bb
to
08bb084
Compare
modules/patient-portal/src/main/frontend/src/patient-portal/index.jsx
Outdated
Show resolved
Hide resolved
modules/patient-portal/src/main/frontend/src/patient-portal/index.jsx
Outdated
Show resolved
Hide resolved
Steps to reproduce:
Please note: if in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of layout issues popped up in the Patient UI with the introduction of the Demo banner, and they need to be addressed:
-
On a short screen (e.g. on a smartphone or a short desktop browser window) the footer containing the link to the Terms of Use is pushed too high and ends up being displayed above the action button. It should be positioned at the bottom, like it is when there is no banner.
-
After logging in, when scrolling a survey up, the banner is visible on the sides behind the survey header. It should not be visible at all once the user starts scrolling up.
-
The pagination controls look misplaced when the banner is on:
To replicate all of the above:
- start with
-P proms --demo
- as admin, create patient info form and visit info form; the latter should have
6012-HC-Congenital Cardiac
selected for theClinic
question to make sure there's a paginated survey to fill out - from Chrome dev tools, switch to emulating a mobile device (the above screenshots are on emulated iPhone SE), then log in and complete surveys as a patient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The absolute positioning of the banners does not work well in the default UI (admin and clinician), as the banners get scrolled up leaving an unsightly gap at the top (see screenshot).
I suggest passing the position as a prop so we can customize it on a case by case basis. - All looks good now in the patient UI with one minor exception: the shadow of the banner visible on the sides of the patient ui header looks a bit messy. I suggest we get rid of that shadow from all banners.
- There is still a screen without a banner:
- In Administration/Patient identification, uncheck the first checkbox ("Patients can answer surveys without a personalized link")
- Sign out and go to /Survey.html: a page displaying the welcome message and informing the user that "To fill out surveys, please follow the personalized link that was emailed to you." is displayed. There is no banner on that page.
Indeed it's out of scope.
This one is out of scope too, since the login page extension point was developed elsewhere. These issues should be reported separately. |
The banner is there but it is under the landing page UI. TBH with the current implementation of the landing page it won't be trivial to display it. Additionally, given that the production workflows now exclude staff interacting with the app, this can be considered very low priority and should not condition the merge of this PR. We may even end up redoing the landing page completely, and we'll tackle the banner display then (or after). |
44ad785
to
20a1fb6
Compare
12d295e
to
a32ac38
Compare
All should be fixed except reverting to the |
small ui issue -not sure if it is related to this PR Patient.1._.DATA-PRO.-.Google.Chrome.2022-09-23.09-40-27.mp4DATA-PRO.-.Google.Chrome.2022-09-23.09-45-24.mp4 |
On iPad and on cell phone patent cannot access the DATA-PRO.-.Google.Chrome.2022-09-23.09-48-31.mp4DATA-PRO.-.Google.Chrome.2022-09-23.09-48-06.mp4 |
It is related to this PR and I wouldn't call it small. The introduction of |
Unable to access Dashboard._.DATA-PRO.-.Google.Chrome.2022-09-26.13-29-37.mp4 |
Failing to load
By some reason can not reproduce that one on my build |
Indeed that's a poorly phrased log message. The cause of it is harmless, we simply don't have custom widgets displayed on the clinic dashboard (and we're not supposed to have them). Please ignore it.
I can't replicate it either, but something did make the ghost element show up there at the bottom in that screenshot so I'll keep investigating. |
it turns out that issue with the vertical scroll bar on narrow screen is only happening in this PR 1929 |
Can this be improved? DATA-PRO.-.Google.Chrome.2022-09-27.12-17-16.mp4 |
@veronikaslc this one is only happening in this PR here is the video from dev branch: Dashboard._.DATA-PRO.-.Google.Chrome.2022-09-27.12-22-39.mp4 |
Fixed Survey header
This should be fixed now. |
Moved login header down
Fixed the height of the sidebar panel
All reported defects except this one are now fixed: Related Jira tasks CARDS-1930 and CARDS-1931 are fixed too. QUESTION: Should the remaining defect be logged separately so we can close this PR? |
The only reply regarding landing page was that one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested
The remaining issue is low priority and is reported in CARDS-1934
To test CARDS-1741 build and run with
./start_cards.sh --demo -P proms
. Openhttp://localhost:8080/Survey
to see demo warning banner.also fixes CARDS-1929, CARDS-1930, CARDS-1931,