Skip to content

fix the menu, preserve action identity when lazy items reorder - #913

Open
SharonStrats wants to merge 2 commits into
stagingfrom
fix/loading
Open

SharonStrats wants to merge 2 commits into
stagingfrom
fix/loading

Conversation

@SharonStrats

Copy link
Copy Markdown
Collaborator

contents was not showing the folder view and the pane was not appearing in the menu, this is needed to help fix that.

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.

🟡 Changes recommended

Slot collisions can select the wrong action, reordering can lose keyboard focus, and missing lockfile peers can block clean installs.

2 open issues
What changed in this PR

This PR updates resource-action menus to address action identity when lazy-loaded items reorder, supporting the folder-view and pane-menu fixes.

Changes:

  • Adds optional action keys and keyed rendering to resource menu items.
  • Derives menu slots from explicit keys, with positional fallbacks.
  • Updates dependency classifications and placement in the lockfile.
File Description
src/​components/​resource-actions-menu/​ResourceActionsMenu.ts Adds action keys and passes them to menu items.
src/​components/​menu/​Menu.ts Adds keyed dropdown rendering and key-derived slot names.
package-lock.json Reclassifies dependencies, relocates type entries, and removes React type peers.

Review effort: Balanced

Comment thread src/components/menu/Menu.ts Outdated
Comment thread src/components/menu/Menu.ts Outdated
@SharonStrats SharonStrats moved this to In review in SolidOS NLNet UI Oct 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants