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

Fixes facility cover image from not reloading after upload #8412

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

rithviknishad
Copy link
Member

@rithviknishad rithviknishad commented Aug 23, 2024

Proposed Changes

image 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

@rithviknishad rithviknishad requested a review from a team as a code owner August 23, 2024 05:03
Copy link

vercel bot commented Aug 23, 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 6:37am

Copy link

netlify bot commented Aug 23, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 8d0f704
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/66c82df4ffe28e0009a73667
😎 Deploy Preview https://deploy-preview-8412--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 23, 2024

CARE    Run #3170

Run Properties:  status check passed Passed #3170  •  git commit 8d0f704ecd: Fixes facility cover image from not reloading after upload
Project CARE
Branch Review rithviknishad/fix/8401-cover-image-refresh
Run status status check passed Passed #3170
Run duration 03m 00s
Commit git commit 8d0f704ecd: Fixes facility cover image from not reloading after upload
Committer Rithvik Nishad
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 ↗︎

@gigincg
Copy link
Member

gigincg commented Aug 23, 2024

@rithviknishad I think this is a better approach, but the browser cache would still cause the old image to persist. Maybe adding the imageKey back might help.

@rithviknishad
Copy link
Member Author

@gigincg Added a note to indicate about time taken for browser cache invalidation

image

@gigincg
Copy link
Member

gigincg commented Aug 23, 2024

@rithviknishad The note isn't showing up on Mobile Screens

image

@rithviknishad
Copy link
Member Author

Updated and improved the design

image image

@gigincg gigincg merged commit 10a991e into develop Aug 23, 2024
70 checks passed
@gigincg gigincg deleted the rithviknishad/fix/8401-cover-image-refresh branch August 23, 2024 06:53
Copy link

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

UdaySagar-Git pushed a commit to UdaySagar-Git/care_fe that referenced this pull request Aug 23, 2024
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.

Facility Cover Image is not getting auto-refresh post upload
2 participants