Skip to content

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

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

SharonStrats wants to merge 2 commits into
stagingfrom
fix/loading

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Oct 26, 2026 •

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.

i had to add the solid-ui-menu because we want the resource items to be in a particular order. The primary pane first, contents and then the other panes.

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
@SharonStrats

Copy link
Copy Markdown
Collaborator Author

We don't need this anymore. It works without it.

@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Oct 27, 2026
@SharonStrats
SharonStrats deleted the fix/loading branch October 27, 2026 08:12
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.

2 participants