Conversation
There was a problem hiding this comment.
Pull request overview
Adds an estimated time remaining (ETA) indicator to the Geant4 dataset download UI, improving user feedback during long downloads.
Changes:
- Compute a smoothed download speed per dataset and derive an ETA string for the DOWNLOADING state.
- Update dataset status rendering to show the ETA next to the dataset name.
- Adjust the accordion summary click handler (adds
stopPropagation) and extend progress bar mapping to includeIDLE.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
The progress bars gets into unknown state when I refresh the page (to stop download) in the middle of the download process. I would expect that after refresh and page reload the "progress bars" would be sliding left and right but stand still... Take a look around second 13... simplescreenrecorder-2026-03-30_16.43.10.mp4 |
This pull request enhances the user experience of the Geant4 dataset download UI by adding a real-time estimated time remaining indicator during downloads and improving the behavior of the dataset accordion. The main changes are focused on providing better feedback to users about download progress and making the UI interactions more intuitive.
Download progress and estimation improvements:
formatTimeand logic to calculate and display an estimated time remaining for dataset downloads, smoothing the speed calculation for more accurate estimates. The estimated time is shown next to the dataset name during downloads. [1] [2]UI/UX enhancements: