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

Give feedback while loading a new week #906

Open
marcelm opened this issue Nov 22, 2023 · 0 comments
Open

Give feedback while loading a new week #906

marcelm opened this issue Nov 22, 2023 · 0 comments

Comments

@marcelm
Copy link

marcelm commented Nov 22, 2023

Please describe the feature

As a user I want to have some kind of feedback when switching between weeks while the numbers for the current week are being loaded so that I know whether I have a) not filled in the numbers or b) the page has just not finished loading.

Detailed description

After switching to a new week, the times for each day of the week are immediately erased and the totals are set to 0.

This is somewhat irritating in two ways:

  • When going to an earlier week that I have filled in, it appears as if all data had been lost.
  • When going to a week that I have not filled in, I have to wait a couple of seconds until I can be certain that the site probably has finished loading and that there is indeed nothing filled in.

For me, it takes about three seconds until all numbers are loaded.

A couple of ways in which this could be solved:

  • Load the hours faster. It takes about 100ms per activity at the moment.
  • Fill in the hours as soon as the data is available.
  • Do not set the totals to 0 when switching to a new week, but leave them empty. This makes it clear that no data is available. Then fill in everything at once as soon as all data is available, including totals.
  • Show some other type of "Loading ..." indicator.

More info

Related: #646

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

No branches or pull requests

1 participant