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

Asset CSV export #6262

Merged
merged 2 commits into from
Sep 12, 2023
Merged

Asset CSV export #6262

merged 2 commits into from
Sep 12, 2023

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Sep 11, 2023

Backend PR: ohcnetwork/care#1592

WHAT

🤖 Generated by Copilot at c70cfc3

Added CSV export feature for assets and fixed label inconsistency in XLSX import schema.

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

HOW

🤖 Generated by Copilot at c70cfc3

  • Change the label for the camera access key column in the XLSX asset import schema to use a hyphen instead of a colon (link)
  • Add a new button for exporting assets in CSV format to the AssetsList component, with a similar logic and options as the JSON export button (link)
  • Change the label and the file prefix for the JSON export button in the AssetsList component to specify the format and the facility name or "all" (link, link)

@Ashesh3 Ashesh3 requested a review from a team September 11, 2023 10:22
@Ashesh3 Ashesh3 requested a review from a team as a code owner September 11, 2023 10:22
@Ashesh3 Ashesh3 requested a review from gigincg September 11, 2023 10:22
@vercel
Copy link

vercel bot commented Sep 11, 2023

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 Sep 12, 2023 11:02am

@netlify
Copy link

netlify bot commented Sep 11, 2023

Deploy Preview for care-egov-staging ready!

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

@Ashesh3 Ashesh3 added the P1 breaking issue or vital feature label Sep 11, 2023
@cypress
Copy link

cypress bot commented Sep 12, 2023

Passing run #1227 ↗︎

0 71 0 0 Flakiness 0

Details:

Merge f5f72a7 into dd1dcc3...
Project: CARE Commit: bb9d82eefb ℹ️
Status: Passed Duration: 07:15 💡
Started: Sep 12, 2023 11:06 AM Ended: Sep 12, 2023 11:13 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@khavinshankar khavinshankar merged commit 8c242d6 into develop Sep 12, 2023
24 checks passed
@khavinshankar khavinshankar deleted the fix-6079 branch September 12, 2023 13:51
@github-actions
Copy link

@Ashesh3 We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cypress passed P1 breaking issue or vital feature tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Asset Export: Allow xlsx, csv
3 participants