Skip to content

The open Shares panel doesn't show shares or links another session adds #4363

Closed

Description

@AlexAndBear

Initial Checklist

  • 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

  1. Open the Shares panel of a folder
  2. From another tab or client, share that folder with someone and create a public link
  3. 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."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions