Skip to content

fix: defer sidebar actions until resource loads - #3312

Merged
JammingBen merged 1 commit into
opencloud-eu:mainfrom
fredrikblau:fix/3297-actions-sidebar-null-resource
Sep 8, 2026
Merged

JammingBen merged 1 commit into
opencloud-eu:mainfrom
fredrikblau:fix/3297-actions-sidebar-null-resource

Conversation

@fredrikblau

Copy link
Copy Markdown
Contributor

Description

The Actions panel can stay mounted while the sidebar switches resources. During that gap it resolves actions with a null resource and can throw before the shares selection finishes loading.

Return no actions until the resource is available. A regression test covers the loading state.

Related Issue

How Has This Been Tested?

  • test environment: Node 24.20.0, pnpm 11.25.0
  • test case 1: FileActions unit suite (3 passed)
  • test case 2: full unit suite (3,916 passed, 6 skipped, 11 todo)
  • test case 3: type checks, lint, formatting, and production build

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)

@JammingBen JammingBen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx!

@JammingBen
JammingBen merged commit dd89691 into opencloud-eu:main Sep 8, 2026
32 checks passed
@openclouders openclouders mentioned this pull request Sep 8, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Actions sidebar panel may cause errors on shares page

2 participants