Make Data Query Default to Metadata
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 28
- Forks
- 25
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 20
Description
Is your feature request related to a problem? Please describe.
Users want to download data for their own use and do not need a web plot / table.
This would also assist with performance.
Describe the solution you'd like
Have the default view be the "metadata" tab and when the user has not selected table or plot yet have it directly call the timeseries endpoint for streaming the CSV (when that is ready) or change the mimetype to application/csv so that it triggers a download from the API.
Currently we pull the data into memory, create an invisible a-tag and fill it with the base-64 encoded data to generate an in-browser CSV.
Describe alternatives you've considered
Do not load any of the tabs and have a simple message that says "click download to download or select a tab to visualize"
Additional context
If a user selects 15 timeseries IDs for full period of record this could drag down the plot currently. The table is now updated to virtualize and probably would handle it.
Also having it go straight to a file could assist with memory if we were dealing with very large datasets.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the current tab-selection and in-browser CSV download flow, then inspect the timeseries endpoint mentioned in the issue. The change is complete when metadata is the default view and an unselected visualization downloads data without loading it into memory or base64-encoding it; verify that table and plot selection still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, frontend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100