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

Patient attachments app improvement #751

Merged
merged 21 commits into from
Aug 3, 2022

Conversation

vasharma05
Copy link
Member

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.
  • My work includes tests or is validated by existing tests.

Summary

Improvement to the functionality and UI/ UX for patient attachments.

  • Camera capturing improved
  • Uploading files and reviewing the files to change their name and description completed.

Screenshots

None yet

Related Issue

Other

@ZacButko
Copy link
Contributor

@vasharma05 looks reasonable so far 👍

@vasharma05 vasharma05 marked this pull request as ready for review July 28, 2022 14:10
Copy link
Contributor

@ZacButko ZacButko left a comment

Choose a reason for hiding this comment

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

A bunch of small css cleanup. Otherwise looks good

}

.closePreviewButton svg path {
fill: $ui-01 !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

no important

}

.closePreviewButton:hover svg path {
fill: $ui-05 !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

no important

display: grid;
grid-template-columns: 1fr 1fr;
button{
max-width: unset !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

no important

grid-template-columns: 1fr 1fr;

button {
max-width: unset !important;
Copy link
Contributor

Choose a reason for hiding this comment

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

no important


return (
<div className={styles.galleryContainer}>
{attachments.map((attachment, indx) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

5 letters for index was too expensive? 😂

Copy link
Member

Choose a reason for hiding this comment

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

Gotta save those byts

Copy link
Member Author

Choose a reason for hiding this comment

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

😆

@vasharma05 vasharma05 merged commit d0acf93 into master Aug 3, 2022
@vasharma05 vasharma05 deleted the patient-attachments-app-improvement branch August 3, 2022 07:54
vasharma05 added a commit that referenced this pull request Aug 3, 2022
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.

3 participants