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

Added support for xlsx files in Asset Import #4437

Merged
merged 5 commits into from
Dec 29, 2022
Merged

Added support for xlsx files in Asset Import #4437

merged 5 commits into from
Dec 29, 2022

Conversation

khavinshankar
Copy link
Member

@khavinshankar khavinshankar commented Dec 28, 2022

Proposed Changes

  • Fixes Support Excel files for importing assets #4433
  • Added support for xlsx files in Asset Import
  • Added an extra package read-excel-file (its a lightweight package for reading data from excel)
  • Added support for csv files
  • Fixed export menu disabled even after closing import modal issue
  • Added Excel file sample format to the ui

Excel File Template:
https://docs.google.com/spreadsheets/d/11JaEhNHdyCHth4YQs_44YaRlP77Rrqe81VSEfg1glko/edit?usp=sharing

@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

@khavinshankar khavinshankar requested a review from a team December 28, 2022 13:46
@khavinshankar khavinshankar requested a review from a team as a code owner December 28, 2022 13:46
@vercel
Copy link

vercel bot commented Dec 28, 2022

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

Name Status Preview Updated
care-storybook ✅ Ready (Inspect) Visit Preview Dec 28, 2022 at 10:12PM (UTC)

@netlify
Copy link

netlify bot commented Dec 28, 2022

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 467cbd2
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/63acbebf6d38cf000a9973e8
😎 Deploy Preview https://deploy-preview-4437--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 settings.

@khavinshankar khavinshankar added needs testing P1 breaking issue or vital feature labels Dec 28, 2022
src/Common/constants.tsx Fixed Show resolved Hide resolved
src/Common/constants.tsx Fixed Show resolved Hide resolved
@@ -41,17 +43,39 @@ const AssetImportModal = ({ open, onClose, facility }: Props) => {
});
}, []);

// window["parsePhone"] = parsePhoneNumberFromString;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// window["parsePhone"] = parsePhoneNumberFromString;
// window["parsePhone"] = parsePhoneNumberFromString;

Seems like this can be removed.

@github-actions github-actions bot added the cypress failed pull request with cypress test failure label Dec 28, 2022
@sonarcloud
Copy link

sonarcloud bot commented Dec 28, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 14 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions github-actions bot added cypress failed pull request with cypress test failure and removed cypress failed pull request with cypress test failure labels Dec 28, 2022
@nihal467
Copy link
Member

LGTM

@mathew-alex mathew-alex merged commit 1b66b3d into develop Dec 29, 2022
@sainak sainak deleted the feat#4433 branch January 19, 2024 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 breaking issue or vital feature tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Excel files for importing assets
4 participants