Skip to content

Reload versions tab after editing/saving in editor #5267

@PVince81

Description

@PVince81

TODO: When saved emit a files:node:updated event in richdocuments.


How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
When in the text editor and saving, if the versions tab is open it will not automatically reload the list.
One needs to close the sidebar then open it again.

Describe the solution you'd like
Technically, every editor should trigger a global Javascript event (on the event bus?) so that the sidebar tabs knows that a file has been edited. The versions tab can then listen to that event to reload itself.

Describe alternatives you've considered
N/A

Additional context

@juliushaertl are the text apps and office already triggering such events ?

cc @artonge @CarlSchwan as we discussed this as part of versions.

I suspect that implementing this is rather trivial, most time will likely been spent discussing the name of the event and mechanism 😅

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions