You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The open Shares panel doesn't show shares or links another session adds #4363
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
The open Shares panel doesn't update when another session adds, changes or removes shares or links of the shown item (or of one of its parent folders). The file list already shows the new share indicators, but the panel keeps the old state until you select something else or reload.
Cause: loadShares in packages/web-pkg/src/components/SideBar/FileSideBar.vue returns early for an already loaded resource, and the share/link SSE handlers only update the resource in the file list, never the shares. Parent folder shares come from a cache, so they'd stay stale even on a reload of the panel.
Reproduction Steps
Open the Shares panel of a folder
From another tab or client, share that folder with someone and create a public link
Wait a few seconds
Expected Outcome
The new collaborator and link show up in the open panel (same for changes and removals, also for shares of parent folders).
Actual Outcome
The row gets the share indicators, but the panel still shows no collaborators and "This folder has no public link."
Activity