Beautiful + Configurable Login Page
Status: In Progress
Technical Complexity: Easy
Summary:
The current O3 Login page is nice and clean, but very simple.
Numerous implementers are manually customizing their login page to show an image on the left or right.
We should make the O3 EMR Login page easy to configure with beautiful images and/or announcements.
Examples:
1. Problem
Currently, we make it easy for Implementers to change the look/feel of their OpenMRS system because the Logo and colors can be changed with simple configuration. However, we have noticed a trend: many Implementers customize their OpenMRS distribution’s login screen beyond the basic white labelling:
In order to make these changes, Implementers have to make hard-coded changes. Let’s make it easier for Implementers to have a beautiful login page they can be proud of!
User Stories
As an OpenMRS Implementer:
Images: I want the login page to look exciting and have the kinds of images or branding that my stakeholders (e.g. end-users, Ministry of Health) get excited about, so that they are more supportive of the system. For example: A regional image can make a county/provincial office feel more bought-in/ownership of a system (such as the Kenya EMR example, where the use of a Lake/Boat picture for the Kisumu County Government’s distribution makes sense because that area is famous for it’s big lake).
“Powered by”/Supported by: I need it to be easy to add or change the names/brands that are supporting us.
Announcements: I want an easy way to share recent news/announcements that people will notice. For example: We noticed that some implementers will have a rotating images; some are plain / inspiring, while some have simple text announcing expected downtimes or exciting feature additions.
Changes: I want it to be easy for me to change the image(s) on our login screen, since partner branding or announcements could change regularly.
Tablet / Responsive: Vertical split screens should default their focus only on the login box when on tablet, so that it does not become hard to see or enter login information while using tablets.
Technical Considerations & Dependencies
Should be configuration-driven, ideally in same place that the login Logo is currently configurable.
Should have a simple way to configure things like:
Whether or not you want to use vertical split screen.
Ideally it would be possible to have a fade-in setting so that implementers can achieve either the obvious split screen (like the KenyaEMR example) or the less obvious right/left difference (like the UgandaEMR example).
Whether it’s 1 image or multiple that rotate through something like a “carousel-indicator”
Show messages like planned downtime (It would be good to have a note in the code where the config happens that cautions devs to “be thoughtful about messages here, since anyone can see these messages without logging in.”)
Responsiveness: Please remember - Vertical split screens should default their focus only on the login box when on tablet, so that it does not become hard to see or enter login information while using tablets.
Time Expiration: Nice-to-Have / Bonus: Images or announcements with a time expiration (e.g. a text note or image that says “Planned downtime for Nov 23, 2024”) should ideally have an encoded expiration, so that the image or announcement stops showing up automatically when the image/announcement is no longer relevant. This matters because so many sites don’t update automatically through a live internet connection, so some messages or images could be super old, which makes the system look less reliable.