BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
13 stars 10 forks source link

Issue with icons and links in mindLAMP #822

Open kijote0 opened 3 months ago

kijote0 commented 3 months ago

We have noticed the following two bugs when testing mindLAMP:

  1. Icons on the "Assess" tab do not initially load properly after logging into the app; however, they do load after switching to another tab.
  2. Some embedded hyperlinks do not work properly, even when the links in question are not broken and can be accessed outside of mindLAMP on a web browser, for instance.

To Reproduce This error was noted with the version of mindLAMP developed for a collaborator on mobile and desktop; log-in credentials and the domain can be provided if helpful.

To reproduce the bug with icons not loading on the "Assess" tab, log into mindLAMP as a user, and the "Assess" tab should automatically open without the icons properly loaded in. To reproduce the bug with hyperlinks not working properly, log into mindLAMP as a user, and click on a hyperlink in a tip in the "Learn" tab.

Screenshots On logging into the app, the icons are not loaded. Assess_icons_not_loading

After clicking on the "Learn" tab and then returning to the "Assess" tab, the icons load properly. Assess_icons_loading

Example of hyperlink in tip. hyperlink

Error message received on clicking on above hyperlink. hyperlink_error

ZCOEngineer commented 3 months ago

@kijote0 We shall check and comment

sarithapillai8 commented 3 months ago

We have updated the fix in staging. But we are facing the same issue again, the staging is not getting updated. Could you please check @kijote0 ?

Please make sure you are giving the link in the format below:

[Link text Here](https://your-link.com)

kijote0 commented 3 months ago

@sarithapillai8 We restarted the staging dashboard server. Did this resolve the issue you encountered with staging not getting updated?

sarithapillai8 commented 3 months ago

@kijote0 No the staging seems not updated yet.

kijote0 commented 3 months ago

@sarithapillai8 I logged back into the user account where this issue was initially discovered on the staging dashboard, and it seems that the icons load properly now. Just wanted to confirm, does staging now appear to be updated on your end?

sarithapillai8 commented 2 months ago

Yes @kijote0. I commented before you restarted the server, Working fine for us.

kijote0 commented 2 months ago

Icons seem to load properly now, so I have marked this issue as closed

kijote0 commented 3 weeks ago

@sarithapillai8 I am reopening this issue as both problems with the icons and links have resurfaced: in particular, the hyperlinks in the Tips section do not seem to work reliably even when formatted correctly. #856