Skip to content

refactor: rename slashMenu to contextMenu#1961

Open
caio-pizzol wants to merge 2 commits intomainfrom
caio/sd-1824-rename-slashmenu-config-to-contextmenu
Open

refactor: rename slashMenu to contextMenu#1961
caio-pizzol wants to merge 2 commits intomainfrom
caio/sd-1824-rename-slashmenu-config-to-contextmenu

Conversation

@caio-pizzol
Copy link
Contributor

No description provided.

Rename all slashMenu references to contextMenu for consistency:
- Rename extension dir/files: slash-menu/ → context-menu/
- Rename component dir/files: SlashMenu.vue → ContextMenu.vue
- Update config keys: slashMenuConfig → contextMenuConfig
- Update events: slashMenu:open/close → contextMenu:open/close
- Update CSS classes: .slash-menu-* → .context-menu-*
- Update exports, types, docs, and tests
- Add backward-compat aliases with deprecation warnings
@linear
Copy link

linear bot commented Feb 6, 2026

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7475b2c184

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -1 +0,0 @@
export * from './slash-menu.js';

Choose a reason for hiding this comment

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

P2 Badge Preserve deprecated slash-menu deep import path

Because @superdoc/super-editor still exports deep paths via exports["./*"] in package.json, removing extensions/slash-menu/index.js means existing consumers who import @superdoc/super-editor/extensions/slash-menu will now hit a module‑not‑found error at build/runtime. This is a breaking change for users relying on the old path, and it’s inconsistent with the new deprecation shims for slashMenu config and SlashMenu alias. Consider keeping a stub that re‑exports from context-menu (or adjusting the export map) to avoid breaking existing integrations.

Useful? React with 👍 / 👎.

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.

1 participant