Skip to content

feat(shell): support plugin account menu links - #150

Closed
cattan0710-tech wants to merge 1 commit into
modelsphere:mainfrom
cattan0710-tech:feat/plugin-user-menu
Closed

cattan0710-tech wants to merge 1 commit into
modelsphere:mainfrom
cattan0710-tech:feat/plugin-user-menu

Conversation

@cattan0710-tech

Copy link
Copy Markdown
Collaborator

What type of PR is this?

  • feature

What this PR does and why

Add an optional userMenu declaration to the Console plugin SDK. Installed plugins can contribute account menu links to their own registered pages or applications. This gives configuration pages such as AutoTune settings an entry alongside the existing Console account actions.

The shell resolves the destination through existing navigation and permission checks. For an application, it uses the first accessible static page when the default page is unavailable. Contributions without an accessible destination are omitted. Plugins can provide translated labels and ordering.

Related work

Builds on the installed plugin runtime in #143. The AutoTune host branch with navigation composition and path-level authorization is available separately for integration testing.

How it was tested

  • Isolated checkout of the PR head: Console Web typecheck, production build, and 853 tests.
  • Plugin SDK typecheck, build, and 187 tests using its frozen pnpm lockfile.
  • go vet ./... and go test ./....

Checks

  • Go vet and tests pass.
  • Console Web typecheck, tests and build pass.
  • The plugin development guide documents the SDK declaration.
  • No internal hostnames, IPs, registries or credentials.

Release note

Installed Console plugins can contribute links to their own pages and applications in the account menu.

@imneov

imneov commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

This functionality appears to have already landed through #152: #152 explicitly references #150 as shared work, includes the feat(shell): support plugin account menu links commit, and was merged at dcdb0d0. Current main contains the SDK userMenu contract and resolveUserMenuItems() in the shell.

Since this PR is now Draft and DIRTY against main, it can likely be closed as superseded. Is there any remaining change here that is not covered by #152?

@imneov

imneov commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Closing as superseded by #152. The account-menu commit and the resulting userMenu host support are already on main.

@imneov imneov closed this Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants