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

Dashboard/ecoli export csv #101

Merged
merged 8 commits into from
Dec 19, 2024
Merged

Dashboard/ecoli export csv #101

merged 8 commits into from
Dec 19, 2024

Conversation

danilomartinss
Copy link
Collaborator

Created download logic to E.coli Dashboard

  • Created logic to Download all data according to user's selection(Samples, Collections and Phylogroup)
  • Updated logic to show unique colors in the graphs

- Changed encoding to UTF-8
- Removed white spaces
- Created a generic funciton(removed NormDataRecord interface)
- Updated logic to cleanup
- Removed white spaces
- Added Download button
- Added logic to download data for user chatType selection
- Updated phenotypeData logic to use selectedPhenotypes.length
- Updated safeHues colors
- Updated initialChartConfig to use only collectionSamples data to generate different colors
- Updated resetSelections
    - added setSelectedPhenotypes
- Updated filterAndMapData
    - Download all data according to user selection
- Updated download button logic
    - Created handleDownload
    - Updated disabled logic just for filteredDownload.length === 0
- Created a generic funciton(removed NormDataRecord interface)
- Updated logic to cleanup
Copy link

vercel bot commented Dec 19, 2024

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

Name Status Preview Comments Updated (UTC)
pathogen-platform ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 2:08pm

@danilomartinss danilomartinss merged commit 3dd5672 into main Dec 19, 2024
3 checks passed
@danilomartinss danilomartinss deleted the dashboard/Ecoli-exportCSV branch December 19, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants