Skip to content

fix: share the clicked folder from the breadcrumb menu, not the selection - #3813

Merged
AlexAndBear merged 2 commits into
mainfrom
fix/breadcrumb-share-selection
Oct 15, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
fix/breadcrumb-share-selection

Conversation

@tammi-23

Copy link
Copy Markdown
Contributor

Description

  • "Share" in the breadcrumb context menu: selects the current folder before opening the sharing panel, so the panel shows the folder instead of a previously selected item.
  • "Share" in the file list (quick action, context menu): unchanged, the clicked item was already the selection.

Follows the existing "Details" action, which sets the selection to the clicked resource before opening the sidebar.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser test against a local OpenCloud
  • test case 1: unit: the share action selects the resource and opens the sharing panel
  • test case 2: browser: select a file, breadcrumb ⋮ → Share opens the sharing panel of the current folder and clears the file selection
  • test case 3: browser: the share quick action of a row still opens the sharing panel of that row

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@tammi-23 tammi-23 self-assigned this Oct 15, 2026
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Oct 15, 2026
@AlexAndBear AlexAndBear moved this from Qualification to Needs Review in OpenCloud Team Board Oct 15, 2026
@AlexAndBear
AlexAndBear merged commit eb4f73a into main Oct 15, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/breadcrumb-share-selection branch October 15, 2026 10:08
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in OpenCloud Team Board Oct 15, 2026
@openclouders openclouders mentioned this pull request Oct 15, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Share in the breadcrumb menu shares the selected item instead of the folder

2 participants