-
Notifications
You must be signed in to change notification settings - Fork 59
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
(feat) O3-3252: Form engine UI improvements #282
Conversation
Size Change: +385 B (+0.04%) Total Size: 1.05 MB ℹ️ View Unchanged
|
Definitely an improvement! One small comment: the whole point of rendering a form in a slightly larger workspace on desktops was to give us space to render the navigation stuff, but it looks like that's only available in the full-screen variant? |
Yeah, I'd love to hear @samuelmale's thoughts on that, Ian. |
Thanks @denniskigen for this clean up. I've noticed a discrepancy in the background colors with the soft white cutting off midway the last field (which in this case is the select field) could there be an extra margin or padding causing that? |
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.
This might not be related to this PR but there seems to be a missing label. Wasn't this resolved?
That's right, there's a bit of padding around the button set on the tablet viewport. For context, see this Zeplin screen of the Medication Order form. The designs also envision the sidebar appearing when in the tablet viewport, which is currently not the case. If we go in that direction, we wouldn't need to show the button set at the bottom of the page. That's what Ian is suggesting above. If we decide not to show the sidebar on tablet, one way to mitigate the issue you raised could be to apply a top border to the button set container.
This issue was resolved. I haven't bumped the Core tooling in my local copy of the Patient Chart, which is why you see some labels fail to load. |
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.
LGTM, thanks @denniskigen for the UI revamp 🎉
Please don't merge yet, @samuelmale. I have a commit on the way. |
Sorry for the additional scope in the latest commit, hopefully it all makes sense. @samuelmale, About @ibacher's question, do you know whether a ticket exists to handle it. Is it something you've considered? |
@denniskigen not to my knowledge. |
I've filed this issue to explore the feasibility of rendering the form navigation menu in the tablet and minimized desktop views. |
* (feat) Form engine UI improvements * Fixup
Requirements
Summary
This PR applies various fixes to the form engine UI, including:
Screenshots
Before
Tablet
Desktop (maximized) - the sidebar doesn't quite match the designs
After
Tablet
Desktop
Desktop (maximized) - the sidebar aligned with the designs
Related Issue
https://openmrs.atlassian.net/browse/O3-3252
Other