nextcloud / nextcloud/text

Request page reload when text version or settings change

Open
#3,937 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 26 feedback enhancement high javascript
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.