Skip to content

Nmc/5422 sharing pending share manage access and share leads to empty sidebar with error message#452

Merged
suet-kei-chan merged 9 commits intostable32from
nmc/5422-sharing-pending-share-manage-access-and-share-leads-to-empty-sidebar-with-error-message
Mar 23, 2026
Merged

Nmc/5422 sharing pending share manage access and share leads to empty sidebar with error message#452
suet-kei-chan merged 9 commits intostable32from
nmc/5422-sharing-pending-share-manage-access-and-share-leads-to-empty-sidebar-with-error-message

Conversation

@suet-kei-chan
Copy link
Copy Markdown

No description provided.

…bar error

The sharing-status-menu action was enabled unconditionally, causing it to
appear in the pendingshares view where files are not yet in the user's
filesystem. Clicking it triggered the sidebar with an unresolvable path,
resulting in an empty sidebar with an error message. Now the action is
excluded from the pendingshares view.
Pending share rows already show Accept/Reject actions. The sharing-popup
button has no valid context on unaccepted shares and should not be visible.
Uses :has() to target rows containing the accept-share action.
Use :has(.files-list__row-action-accept-share) scoped within
#app-content-vue .files-list:not(.files-list--grid) to target only
pending share rows with sufficient specificity to override the
existing display:flex on .files-list__row-action-sharing-popup.
…ending rows

Use :not() selector to hide every action menu item that is not
accept-share or reject-share, including separators and any future items.
@suet-kei-chan suet-kei-chan requested a review from psawalka March 23, 2026 08:01
@suet-kei-chan suet-kei-chan self-assigned this Mar 23, 2026
@suet-kei-chan suet-kei-chan marked this pull request as draft March 23, 2026 08:26
@suet-kei-chan suet-kei-chan marked this pull request as ready for review March 23, 2026 09:57
@suet-kei-chan suet-kei-chan merged commit 45199d6 into stable32 Mar 23, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants