Skip to content

move pane menu item prepration to solid-ui - #918

Merged
SharonStrats merged 3 commits into
stagingfrom
feat/folder-refactor
Nov 2, 2026
Merged

SharonStrats merged 3 commits into
stagingfrom
feat/folder-refactor

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Clean up code when refactoring folder-pane for additional 3 dot menu on storage-header.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the pane-menu preparation change.

No open issues 🎉

What changed in this PR

Adds reusable pane-menu preparation to solid-ui’s file-explorer helpers so callers can turn pane definitions into resource-menu actions.

Changes:

  • Adds preparePaneMenuItems, preserving pane order, filtering unlabeled panes, and resolving icons with optional host overrides.
  • Exports the helper and its types through the file-explorer entry point.
  • Adds tests for menu preparation and supplied action-event forwarding.
File Description
test/​unit/​file-explorer/​pane-menu-items.test.ts Tests ordering, label filtering, icon resolution, overrides, and action forwarding.
src/​lib/​file-explorer/​pane-menu-items.ts Defines menu types and implements asynchronous pane-menu preparation.
src/​lib/​file-explorer/​index.ts Exports the new helper and types.
src/​components/​resource-actions-menu/​ResourceActionsMenu.test.ts Tests rendering supplied actions and forwarding selection events.

Review effort: Balanced

@SharonStrats
SharonStrats merged commit e5b2c78 into staging Nov 2, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Nov 2, 2026
@SharonStrats
SharonStrats deleted the feat/folder-refactor branch November 2, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants