Problem
In the CRM record detail page header (RecordDetailView), action buttons such as "Change Status" and "Assign User" are rendered multiple times, including both inline and in the dropdown.
列表页也有类似的问题,这是一个元数据驱动的平台,从平台层面去解决为什么action按钮会重复?
Screenshot

Root Cause
recordHeaderActions are pre-filtered for record_header but are wrapped in an action:bar and passed to the schema.- In the
DetailView, the schema renders both action:bar (which has its own overflow menu) and a separate hardcoded ⋯ (More Actions dropdown), leading to duplication. - Actions defined with both
record_header and record_more locations may appear in both the toolbar and the menu.
How to Reproduce
- Go to any CRM record detail page (e.g., Project Task > Backend API Integration)
- Observe the action buttons: duplicates are visible inline and in the dropdown menu.
Expected Behavior
- Each action should only appear once in the header.
- Inline actions and menu actions should not duplicate each other.
- "More Actions" dropdown should only show actions that are not shown inline.
Possible Fix
- Deduplicate
recordHeaderActions before passing to schema. action:bar should filter actions strictly by location and avoid including duplicates.- Ensure menu actions do not overlap with inline actions.
- Consider merging the overflow logic into a single menu, not two.
References
- Related code: apps/console/src/components/RecordDetailView.tsx, packages/plugin-detail/src/DetailView.tsx, packages/components/src/renderers/action/action-bar.tsx
Problem
In the CRM record detail page header (
RecordDetailView), action buttons such as "Change Status" and "Assign User" are rendered multiple times, including both inline and in the dropdown.列表页也有类似的问题,这是一个元数据驱动的平台,从平台层面去解决为什么action按钮会重复?
Screenshot
Root Cause
recordHeaderActionsare pre-filtered forrecord_headerbut are wrapped in anaction:barand passed to the schema.DetailView, the schema renders bothaction:bar(which has its own overflow menu) and a separate hardcoded⋯(More Actions dropdown), leading to duplication.record_headerandrecord_morelocations may appear in both the toolbar and the menu.How to Reproduce
Expected Behavior
Possible Fix
recordHeaderActionsbefore passing to schema.action:barshould filter actions strictly by location and avoid including duplicates.References