Repository navigation
fix: reload favorites and shares when clicking the current breadcrumb or shares tab - #3477
Merged
Merged
Conversation
JammingBen
reviewed
Sep 30, 2026
JammingBen
approved these changes
Sep 30, 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.
Description
Clicking the current breadcrumb item reloads the list in Personal, Spaces, Deleted files and the admin settings views, but not in Favorites and the Shares views. Those views set
toon their breadcrumb item, pointing to the route that is already active. The router treats navigating to the current route as a no-op, so nothing happens. The same applies to the Shares navigation tabs (Shared with me, Shared with others, Shared via link): clicking the active tab does nothing.Changes:
onClick: () => loadResourcesTask.perform()instead ofto. This is the same pattern as the Spaces view.SharesNavigation: clicking the active tab (desktop list and mobile dropdown) publishesapp.files.list.load. This event is already used to reload Personal and Deleted files. Clicking any other tab still just navigates.app.files.list.loadon mount and reload their list when it's published. They unsubscribe on unmount. The SSE handlers only publish this event while a folder view (files-spaces-generic) is active, so this doesn't cause extra reloads on the Shares views.isStativNavtypo in the Spaces view breadcrumb (isStaticNav).Related Issue
How Has This Been Tested?
REPORT /dav/spacessharedWithMe/sharedByMe)SharesNavigation(active tab publishes the reload event, inactive tab doesn't); web-app-files unit tests and type check passTypes of changes