Files
apes-sidebar/src
Hoemr f23e40facf fix(files): auto-refresh the tree on window focus and via a dispatchable event
The tree caches loaded directories per refresh tick, so content edited
outside DSH (another editor, a sync plugin pulling from a remote) stayed
stale until the manual refresh click.

- bump the tick when the window regains focus, so switching back to DSH
  shows the on-disk state
- also bump on a bubbling 'dsh-sidebar:refresh-files' window event, so
  external plugins (e.g. dsh-better-overleaf after a pull/push) can
  refresh the tree programmatically without reaching into internals
2026-08-30 17:55:37 +08:00
..