uwrit / leaf

Leaf Clinical Data Explorer
https://www.youtube.com/watch?v=ZuKKC7B8mHI
Other
86 stars 47 forks source link

Problems with Maintenance Mode #546

Open artgoldberg opened 1 year ago

artgoldberg commented 1 year ago

Hi Folks

I experience a few problems with Maintenance Mode, which I've documented with screen recordings that show the Leaf GUI and DBeaver views of tables and queries in the LeafDB being used by Leaf.

  1. If IsUp is True and DowntimeFrom <= GETDATE() <= DowntimeUntil then Leaf should be in Maintenance Mode, but is not. See a test in a screen recording “2022-07-28 Leaf does not use DowntimeFrom and DowntimeUntil” of an admin user.
  2. If DowntimeMessage is not NULL, then users should see the DowntimeMessage, but they do not. See a test in a screen recording “2022-07-27 Leaf Recording no DowntimeMessage displayed” of an admin user.
  3. When Leaf transitions from Available into Maintenance Mode a regular users who is logged in should see the "Maintenance Mode" sign, and be notified that they must logout within a time limit. If they fail to logout, they should be automatically logged out then. This doesn't work, as documented in “2022-07-28 Leaf does not notify regular user that Maintenance Mode has started” screen recording, which waits a minute after entering Maintenance Mode for user to be notified.

Thanks Arthur