Skip to content
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

O3-982: Visit form UI tweaks #482

Merged
merged 2 commits into from
Dec 21, 2021
Merged

O3-982: Visit form UI tweaks #482

merged 2 commits into from
Dec 21, 2021

Conversation

denniskigen
Copy link
Member

@denniskigen denniskigen commented Dec 20, 2021

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide.
  • I checked for feature overlap with existing widgets.

Summary

This PR fixes existing design mismatches in the current implementation of the Visit form. These include:

  • Fixing the design of the visit form header that gets shown in tablet mode.
  • Fixing the design of the radio buttons used to select a particular Visit Type.

See the relevant Zeplin screen here.

Screenshots

Before

Screenshot 2021-12-19 at 11 46 11

  • Shows missing weight and allergies data

Screenshot 2021-12-19 at 23 50 03

After

Screenshot 2021-12-19 at 23 46 39

Screenshot 2021-12-19 at 23 47 29

Screenshot 2021-12-19 at 23 48 22

Screenshot 2021-12-19 at 23 50 34

Issue

https://issues.openmrs.org/browse/O3-982

Comment on lines 6 to 7
@include carbon--type-style('label-01');
color: $text-02;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the indentation

Comment on lines 52 to 53
// margin: $spacing-03 0 $spacing-08 0;
// margin: 0 $spacing-05;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to leave these in?

Copy link
Contributor

@brandones brandones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix indentation and clean up commented-out code. Otherwise looks great, thanks!

@brandones brandones merged commit b3a0771 into master Dec 21, 2021
@brandones brandones deleted the O3-982 branch December 21, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants