Skip to content

feat(ui): BasicLayout menus add type="group" prop#1448

Merged
dengfuping merged 1 commit intooceanbase:masterfrom
linhf123:feature/basic-layout-menu-update
Apr 16, 2026
Merged

feat(ui): BasicLayout menus add type="group" prop#1448
dengfuping merged 1 commit intooceanbase:masterfrom
linhf123:feature/basic-layout-menu-update

Conversation

@linhf123
Copy link
Copy Markdown
Contributor

@linhf123 linhf123 commented Mar 11, 2026

  • Introduced 'group' type for menu items to allow grouping of related menu entries.
  • Updated MenuItem interface to include optional 'type' property.
  • Enhanced rendering logic to accommodate grouped menu items in both standard and collapsed views.
  • Added a new demo for showcasing menu groups functionality.
image

📦 Modified package

  • @oceanbase/design
  • @oceanbase/ui
  • @oceanbase/icons
  • @oceanbase/charts
  • @oceanbase/util
  • @oceanbase/codemod
  • Other (about what?)

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Add menu group support in BasicLayout with new demo component
🇨🇳 Chinese 🆕 BasicLayout menus 新增 type="group" 属性,以支持菜单分组。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Tests is updated/provided or not needed
  • Changelog is provided or not needed

- Introduced 'group' type for menu items to allow grouping of related menu entries.
- Updated MenuItem interface to include optional 'type' property.
- Enhanced rendering logic to accommodate grouped menu items in both standard and collapsed views.
- Added a new demo for showcasing menu groups functionality.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 11, 2026

@linhf123 is attempting to deploy a commit to the dengfuping's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dengfuping dengfuping changed the title feat(ui): Add menu group support in BasicLayout with new demo component feat(ui): BasicLayout menus add type="group" prop Apr 16, 2026
@dengfuping dengfuping merged commit 68b8bb4 into oceanbase:master Apr 16, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants