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

Feature: Progress Indicator for page loading and downloads #239

Closed
3 tasks done
pepper3k opened this issue Jun 12, 2022 · 4 comments · Fixed by #285 or #1339
Closed
3 tasks done

Feature: Progress Indicator for page loading and downloads #239

pepper3k opened this issue Jun 12, 2022 · 4 comments · Fixed by #285 or #1339
Labels
enhancement ✨ New feature or request

Comments

@pepper3k
Copy link

Preflight Checklist

Problem Description

When I refresh the page, or load a new page within a service, sometimes because the webapp is slow I'm not sure if anything is happening.

The same problem occurs when I download a file within a service.

Proposed Solution

I solution to this would be to create some sort of progress indicator for page loading and downloads.

Example for replacing the service logo while loading:

https://i0.wp.com/css-tricks.com/wp-content/uploads/2021/08/s_2A9C470D38F43091CCD122E63014ED4503CAA7508FAF0C6806AE473C2B94B83E_1627522653545_loadinfo.gif?resize=200%2C200&ssl=1

A couple of examples for a download progress bar:

https://codepen.io/shankarcabus/pen/kOEYBO
https://codepen.io/aorcsik/pen/JXMvar

The information displayed would be path/filename, downloadKB/totalKB, download speed, download link, etc..
Also, there would be clickable options to open file, or open file location.
Al

Alternatives Considered

Nothing

Additional Information

No response

@pepper3k pepper3k added the enhancement ✨ New feature or request label Jun 12, 2022
@vraravam
Copy link
Contributor

Could I request you to please separate out the 2 items into 2 feature requests?

The first one: there's already a loader in the app, and I think it (or a similar loader to what you have linked) can be implemented in a simple manner.

The download manager ui that you describe is much more complex, and will take time.

SpecialAro added a commit to SpecialAro/ferdium-app that referenced this issue Jun 14, 2022
vraravam pushed a commit that referenced this issue Jun 14, 2022
@HenrijsS
Copy link

@SpecialAro What do you think about a more subtle progress bar at the top?

Here's a pretty simple library for it: https://kimmobrunfeldt.github.io/progressbar.js/

For example:
Animate the bar to 0.4 when starting navigation and to 1.0 when finished and hide it. (Like some SPA Frameworks do it).

@SpecialAro
Copy link
Member

@SpecialAro What do you think about a more subtle progress bar at the top?

Here's a pretty simple library for it: https://kimmobrunfeldt.github.io/progressbar.js/

For example: Animate the bar to 0.4 when starting navigation and to 1.0 when finished and hide it. (Like some SPA Frameworks do it).

I can consider this. It would be better visually, I agree.
Will try and get back to you, thank you!

@vraravam
Copy link
Contributor

Actually, we could use this: https://www.npmjs.com/package/react-topbar-progress-indicator - its a react component and doesn't need to be treated like a standalone js library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
4 participants