nextcloud / nextcloud/officeonline
Make use of Edit_Notification post message to update the file list mtime
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 63
- Forks
- 13
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 8
Description
Office Online does not tell the frontend if the file was saved, so we have no reliable way of updating the file list with the most recent mtime.
Reloading the full file list is not feasible due to performance implications.
We could however at least implement https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/online/scenarios/postmessage#edit_notification to refresh it if the current user starts editing.
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 by locating the Office Online integration's postMessage handling and the file-list mtime update path. Read the Edit_Notification documentation linked in the issue and trace how editing begins. Done means an Edit_Notification from the current user refreshes the relevant file-list mtime without reloading the full list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100