(feat) Improve no active visit empty state in admission workspace#2172
Open
denniskigen wants to merge 1 commit intomainfrom
Open
(feat) Improve no active visit empty state in admission workspace#2172denniskigen wants to merge 1 commit intomainfrom
denniskigen wants to merge 1 commit intomainfrom
Conversation
This change enhances the user experience when attempting to admit a patient without an active visit by replacing plain text with a rich empty state component that includes: - An illustrative SVG graphic for visual appeal - Clear messaging explaining why a visit is required - A "Start visit" button that launches the start visit workflow - A styled separator with "Choose another patient" secondary action - Proper responsive layout for desktop and tablet views
Contributor
|
Size Change: -17.6 kB (-0.22%) Total Size: 8.09 MB ℹ️ View Unchanged
|
Member
|
Yeah, I like that idea. It makes things simpler, though it would be nice to have some way to communicate to the user that the need to start a visit before the patient can be admitted... Maybe instead of no-action, clicking on the patient card (but not the start visit button) could display an info notification or something? |
Contributor
|
Or maybe show the "Admit" button next to the "Start visit" button, but disabled? |
Member
It's a pretty narrow screen, though, right? But I like that better than my notification idea. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements
Summary
This change enhances the user experience when attempting to admit a patient without an active visit by replacing plain text with a rich empty state component that includes:
Screenshots
Before
After
Related Issue
Other