Request page reload when text version or settings change
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Is your feature request related to a problem? Please describe.
We updated the collaboration backend and had to fix some bugs within.
However people may still have old tabs open with cached js.
Describe the solution you'd like
Add a mechanism to notify the user they need to reload the page
Describe alternatives you've considered
I'm not sure if more modern packaging like vite offer a solution for automatically reloading javascript when it expired.
Additional context
This is how talk calculates its hash
https://github.com/nextcloud/spreed/blob/master/lib/Controller/RoomController.php#L147-L165
This is the heart of the frontend implementation:
https://github.com/nextcloud/spreed/blob/master/src/store/talkHashStore.js
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 with src/store/talkHashStore.js and compare its approach with the linked Spreed RoomController.php hash implementation. Trace how the text frontend can detect a changed version or setting, then define the reload notification flow; done means users with outdated tabs are prompted to reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100