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

Refresh button/update indicator #270

Closed
krzysztofrewak opened this issue Dec 6, 2022 · 2 comments · Fixed by #410
Closed

Refresh button/update indicator #270

krzysztofrewak opened this issue Dec 6, 2022 · 2 comments · Fixed by #410
Labels
feature new feature to implement

Comments

@krzysztofrewak
Copy link
Member

I would like to have an indicator that could tell me that displayed data are outdated. I can see two way to handle this:

  • easier: save timestamp of visit somewhere in the frontend and display "Refresh me!" button in navigation when for example day changes
  • more complex: create an endpoint with hash/date of last database change and ping it every x minutes (and then display button "Referesh me!"

Something similar is implemented in Github pull requests. When you are on Files changed tab (eg. https://github.com/blumilksoftware/toby/pull/269/files) and someone pushes some new changes to the branch in question, "Refresh me!" button appears almost automatically.

Proposed frontend solution:

image

@krzysztofrewak krzysztofrewak added the feature new feature to implement label Dec 6, 2022
@krzysztofrewak krzysztofrewak changed the title Refresh button Refresh button/update indicatior Dec 6, 2022
@krzysztofrewak krzysztofrewak changed the title Refresh button/update indicatior Refresh button/update indicator Dec 6, 2022
@EwelinaSkrzypacz EwelinaSkrzypacz added this to the M3: Post-first deploy milestone Dec 6, 2022
@EwelinaSkrzypacz
Copy link
Member

But we have information that year is outdated ("Wróć do obecnego roku")

image

@krzysztofrewak
Copy link
Member Author

That's not what I'm talking about. I have Toby tab pinned to the browser. Very often I have a situation where I'm checking something on dashboard main screen and all data are outdated, because I haven't refreshed the page.

kamilpiech97 added a commit that referenced this issue Mar 21, 2024
kamilpiech97 added a commit that referenced this issue Mar 22, 2024
kamilpiech97 added a commit that referenced this issue Mar 25, 2024
kamilpiech97 added a commit that referenced this issue Mar 25, 2024
kamilpiech97 added a commit that referenced this issue Mar 25, 2024
kamilpiech97 added a commit that referenced this issue Mar 26, 2024
* #270 - refresh inidicator added

* #270 - added last update component

* #270 - update

* #270 - configurable refresh time

* #270 -c csf

* #270 - added calendar to refreshable pages

* #270 - fix connected with previous PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature to implement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants