nextcloud / nextcloud/officeonline

Make use of Edit_Notification post message to update the file list mtime

Open
#492 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.