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

Refactored FileUpload component #8329

Merged
merged 12 commits into from
Aug 23, 2024
Merged

Refactored FileUpload component #8329

merged 12 commits into from
Aug 23, 2024

Conversation

shivankacker
Copy link
Member

@shivankacker shivankacker commented Aug 14, 2024

Proposed Changes

image

@coronasafe/care-fe-code-reviewers @coronasafe/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

Copy link

vercel bot commented Aug 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2024 7:28am

Copy link

netlify bot commented Aug 14, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit db7f198
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/66c839d1fd4a71000846f66b
😎 Deploy Preview https://deploy-preview-8329--care-egov-staging.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

cypress bot commented Aug 14, 2024

CARE    Run #3174

Run Properties:  status check passed Passed #3174  •  git commit db7f198e23: Refactored FileUpload component
Project CARE
Branch Review fileupload-refactor
Run status status check passed Passed #3174
Run duration 02m 58s
Commit git commit db7f198e23: Refactored FileUpload component
Committer Shivank Kacker
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 126
View all changes introduced in this branch ↗︎

@nihal467
Copy link
Member

image

  • @shivankacker click the view button, once the discharge summary is uploaded to the section , there will be error thrown

@nihal467
Copy link
Member

LGTM

Copy link
Member

@khavinshankar khavinshankar left a comment

Choose a reason for hiding this comment

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

@shivankacker the refactor looks good, way cleaner compared to the previous version, just i18n the text and let's get it merged. Please check all the changed files, in some places i18n were missing.

src/Components/Files/AudioCaptureDialog.tsx Outdated Show resolved Hide resolved
@shivankacker
Copy link
Member Author

@nihal467 internationalisation done

cc. @gigincg @khavinshankar

src/Components/Patient/ManagePatients.tsx Outdated Show resolved Hide resolved
src/Components/Patient/ManagePatients.tsx Outdated Show resolved Hide resolved
src/Components/Patient/PatientConsentRecords.tsx Outdated Show resolved Hide resolved
src/Components/Resource/ResourceBoardView.tsx Outdated Show resolved Hide resolved
src/Utils/useFileUpload.tsx Outdated Show resolved Hide resolved
src/Components/Files/AudioCaptureDialog.tsx Outdated Show resolved Hide resolved
Copy link

👋 Hi, @shivankacker,
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 Aug 22, 2024
@shivankacker shivankacker removed changes required merge conflict pull requests with merge conflict labels Aug 23, 2024
@khavinshankar khavinshankar merged commit 0daadf2 into develop Aug 23, 2024
60 of 62 checks passed
@khavinshankar khavinshankar deleted the fileupload-refactor branch August 23, 2024 07:40
Copy link

@shivankacker 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! 🙌

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.

Migrate FileUpload page to useFileUpload and useFileManager hooks
4 participants