Conversation
Hide all actions except Accept share and Reject share in the overflow popper menu for pending share rows. The popper is teleported to body so CSS :has() cannot reach it; a click capture listener with rAF retry and a MutationObserver handle the filtering. Refactored pending share setup into a single setupPendingShare function with one shared MutationObserver for both row blocking and popper filtering.
Disable pointer events on the name link in the pending shares view so files cannot be opened before the share is accepted. The fix uses a body class (nmc-pendingshares-view) set by JS based on the current URL, since the accept-share action only exists in the teleported popper and cannot be targeted via CSS :has() on the row. Also removes the unreliable isPendingShareRow helper and replaces it with isPendingSharesPage() for row click blocking.
Resize the file/folder type icon to 44x36 in the pending shares list view. Scoped to list view only (.files-list:not(.files-list--grid)) to avoid affecting the grid view icon layout.
Hide the Actions text label on action-item__menutoggle buttons that contain the dots-horizontal-icon, showing only the icon.
memurats
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hide all actions except Accept share and Reject share in the overflow popper menu for pending share rows. The popper is teleported to body so CSS :has() cannot reach it; a click capture listener with rAF retry and a MutationObserver handle the filtering.
Refactored pending share setup into a single setupPendingShare function with one shared MutationObserver for both row blocking and popper filtering.