Skip to content

Fix feature toggle cascade when group display name differs from name - #26241

Merged
sumeyyeKurtulus merged 1 commit into
rel-10.7from
maliming/feature-management-group-key
Oct 7, 2026
Merged

sumeyyeKurtulus merged 1 commit into
rel-10.7from
maliming/feature-management-group-key

Conversation

@maliming

@maliming maliming commented Oct 6, 2026

Copy link
Copy Markdown
Member

The feature management modal keyed the selected tab by group display name, but features() is keyed by group name. So getCurrentGroup() returned an empty list and checking a child or unchecking a parent did nothing for groups like SettingManagement or any localized group name. The tabs now use group.name as their value.

https://abp.io/support/questions/10906

Copilot AI balanced review requested due to automatic review settings October 6, 2026 07:56

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.

Copilot review overview

🟢 Approval recommended

The focused changes consistently align tab selection with feature-map keys while preserving display labels.

Review effort: Balanced
Findings: None

What changed in this PR

Fixes feature-toggle cascading by using group names consistently for tab selection and feature lookup.

Changes:

  • Uses group.name for selection state, tabs, and panels.
  • Preserves display names in visible headings.
File Description
npm/​ng-packs/​packages/​feature-management/​src/​lib/​components/​feature-management/​feature-management.component.ts Aligns selection state and feature lookup keys.
npm/​ng-packs/​packages/​feature-management/​src/​lib/​components/​feature-management/​feature-management.component.html Updates tab bindings while preserving display labels.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@maliming maliming added this to the 10.7-final milestone Oct 6, 2026
@sumeyyeKurtulus
sumeyyeKurtulus merged commit 7664727 into rel-10.7 Oct 7, 2026
2 of 3 checks passed
@sumeyyeKurtulus
sumeyyeKurtulus deleted the maliming/feature-management-group-key branch October 7, 2026 10:14
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.

3 participants