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

Investigations Print Preview Page #8679

Conversation

Jacobjeevan
Copy link
Contributor

@Jacobjeevan Jacobjeevan commented Oct 1, 2024

Proposed Changes

Investigations tab

image

Investigations View Page

image image

Investigations Print Preview Page

image

@ohcnetwork/care-fe-code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

- Created a different print preview page for investigations, similar to medications
- Changed the existing Investigations print page to just view page (i.e. print button redirects to print preview page instead)
@Jacobjeevan Jacobjeevan requested a review from a team as a code owner October 1, 2024 05:18
Copy link

netlify bot commented Oct 1, 2024

Deploy Preview for care-ohc ready!

Name Link
🔨 Latest commit 2b6ff47
🔍 Latest deploy log https://app.netlify.com/sites/care-ohc/deploys/670fb0950a30d10008543790
😎 Deploy Preview https://deploy-preview-8679--care-ohc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

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

LGTM, just i18n

@nihal467
Copy link
Member

nihal467 commented Oct 1, 2024

@Jacobjeevan

image

  • in mobile view, the inputted data in the field is not visible

image

  • reduce the width of the value field in normal view, as its not that much required

image

  • when we save the edited value, the users have been redirected to the consultation dashboard, it shouldn't be the expected behavior, keep the user in the same page itself to view the updated value

Jacobjeevan and others added 2 commits October 3, 2024 10:26
- Disable navigate on save for investigations form edit
	- Also replace the initial values after submit (correct behavior when clicking cancel following a form submission)
- Using translations for terms
- Adjusted width of table in view page
@github-actions github-actions bot added the Deploy-Failed Deplyment is not showing preview label Oct 3, 2024
@Jacobjeevan
Copy link
Contributor Author

  • in mobile view, the inputted data in the field is not visible
  • reduce the width of the value field in normal view, as its not that much required
  • when we save the edited value, the users have been redirected to the consultation dashboard, it shouldn't be the expected behavior, keep the user in the same page itself to view the updated value

👍 @nihal467

@rithviknishad rithviknishad added needs testing and removed test failed Deploy-Failed Deplyment is not showing preview labels Oct 3, 2024
@nihal467
Copy link
Member

nihal467 commented Oct 3, 2024

image

@aparnacoronasafe can you look into the new investigation print preview, without requesting @Jacobjeevan added patient admission, IP/OP no, allergies, and bed no to the print preview of the investigation, is it ok to keep it or should we remove them and only keep the patient name and facility name in the investigation print preview

@nihal467 nihal467 added the question Further information is requested label Oct 3, 2024
@bodhish
Copy link
Member

bodhish commented Oct 3, 2024

Lets add it; the prints should eventually have everything we store.
Lets remove it @Jacobjeevan, Investigation doesn't need it

@bodhish bodhish removed the question Further information is requested label Oct 3, 2024
@Jacobjeevan
Copy link
Contributor Author

@nihal467 I was working on #8275, should we do the same thing here and move print button inside?

image image image

@nihal467
Copy link
Member

nihal467 commented Oct 4, 2024

@Jacobjeevan yes we can do it and once the PR is ready, let me know

@Jacobjeevan
Copy link
Contributor Author

Jacobjeevan commented Oct 7, 2024

@nihal467 Ready 👍

@Jacobjeevan Jacobjeevan removed the merge conflict pull requests with merge conflict label Oct 9, 2024
@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

👋 Hi, @Jacobjeevan,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

@Jacobjeevan Jacobjeevan removed the merge conflict pull requests with merge conflict label Oct 11, 2024
Copy link

👋 Hi, @Jacobjeevan,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Oct 13, 2024
@Jacobjeevan Jacobjeevan removed the merge conflict pull requests with merge conflict label Oct 14, 2024
@nihal467
Copy link
Member

nihal467 commented Oct 14, 2024

image

@Jacobjeevan the persist in Chrome browser, responsive view of iPhone 14 pro, can you look it

- Adjusted padding for result (spacing for inputText in mobile and tab view)
- Removed the print classnames (no longer used as this page isn't for print)
@Jacobjeevan
Copy link
Contributor Author

image

@Jacobjeevan the persist in Chrome browser, responsive view of iPhone 14 pro, can you look it

@nihal467 Got it 👍 Take a look now.

@nihal467
Copy link
Member

LGTM

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Oct 16, 2024
Copy link

👋 Hi, @Jacobjeevan,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

@github-actions github-actions bot removed the merge conflict pull requests with merge conflict label Oct 16, 2024
@khavinshankar khavinshankar merged commit a8fd4c1 into ohcnetwork:develop Oct 16, 2024
22 of 23 checks passed
Copy link

@Jacobjeevan Your efforts have helped advance digital healthcare and TeleICU systems. 🚀 Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! 🙌

@Jacobjeevan Jacobjeevan deleted the issues/8583-investigationsView-noScroll branch November 6, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase the width of investigation view details page padding
5 participants