MartinYe1234
33c5ce69ef
Hide Rules UI when Skills feature flag is enabled ( #56782 )
...
Hides the legacy Rules surfaces when the `skills` feature flag is
enabled, since Rules are surfaced through the Skills UI in that case:
- The **Rules** entry in the agent panel's ellipsis (triple-dot)
dropdown menu is hidden.
- The `assistant: open rules library` command palette action is hidden.
The `@rules` autocomplete in the chat input is intentionally left alone
for now.
### Implementation notes
`cx.has_flag::<SkillsFeatureFlag>()` reads from a global feature-flag
store that is populated asynchronously from the server:
- **Command palette**: `update_command_palette_filter` is already re-run
via `cx.on_flags_ready` once flags arrive, so the filter is reapplied
with the correct value. No new wiring needed.
- **Dropdown menu**: the popover's menu closure runs on every open, so
the latest flag value is reflected at click time.
Release Notes:
- N/A
2026-05-15 17:14:16 +00:00
..
2026-05-14 22:20:34 +00:00
2026-05-15 16:27:14 +00:00
2026-05-15 12:01:31 +00:00
2026-05-14 22:20:34 +00:00
2026-05-13 15:24:17 +00:00
2026-05-08 17:06:02 +00:00
2026-05-14 16:30:08 +00:00
2026-05-15 17:14:16 +00:00
2026-05-07 15:43:43 +00:00
2026-05-15 13:57:33 +00:00
2026-05-15 09:08:55 +00:00
2026-05-05 22:41:13 +00:00
2026-05-15 16:27:11 +00:00
2026-05-08 15:53:40 +00:00
2026-05-08 15:53:40 +00:00
2026-05-11 15:53:20 +00:00
2026-05-14 13:29:49 +00:00
2026-05-12 19:40:00 +00:00
2026-05-14 11:55:18 +00:00
2026-05-11 15:22:43 +00:00
2026-05-15 17:01:42 +00:00
2026-05-08 15:53:40 +00:00
2026-05-05 22:41:13 +00:00
2026-05-14 21:03:56 +00:00
2026-05-13 14:48:39 +00:00
2026-05-05 22:41:13 +00:00
2026-05-15 17:08:40 +00:00
2026-05-15 11:12:41 +00:00
2026-05-13 23:35:10 +00:00
2026-05-14 22:20:34 +00:00
2026-05-12 08:21:38 +00:00
2026-05-08 14:18:44 +00:00
2026-05-15 15:14:41 +00:00
2026-05-13 11:34:50 +00:00
2026-05-05 22:41:13 +00:00
2026-05-06 17:03:01 +00:00
2026-05-14 22:20:34 +00:00
2026-05-15 11:43:39 +00:00
2026-05-06 09:28:05 +00:00
2026-05-08 10:36:03 +00:00
2026-05-06 09:35:43 +00:00
2026-05-06 18:52:31 +00:00
2026-05-11 17:58:17 +00:00
2026-05-05 22:41:13 +00:00
2026-05-13 21:21:52 +00:00
2026-05-13 12:43:39 +00:00
2026-05-14 21:41:37 +00:00
2026-05-06 10:56:20 +00:00
2026-05-15 15:53:21 +00:00
2026-05-12 17:43:06 +00:00
2026-05-15 12:46:37 +00:00
2026-05-08 10:36:03 +00:00
2026-05-12 08:55:22 +00:00
2026-05-14 15:31:46 +00:00
2026-05-15 14:29:14 +00:00
2026-05-12 08:59:58 +00:00
2026-05-15 15:34:18 +00:00
2026-05-07 14:09:39 +00:00
2026-05-14 16:22:49 +00:00
2026-05-08 10:36:03 +00:00
2026-05-14 22:20:34 +00:00
2026-05-05 22:41:13 +00:00
2026-05-14 22:20:34 +00:00
2026-05-08 13:19:33 +00:00
2026-05-15 16:27:11 +00:00
2026-05-15 16:27:11 +00:00
2026-05-15 17:08:40 +00:00
2026-05-15 16:27:11 +00:00
2026-05-08 10:36:03 +00:00
2026-05-13 23:35:10 +00:00
2026-05-08 09:30:34 +00:00
2026-05-08 10:36:03 +00:00
2026-05-14 20:03:29 +00:00
2026-05-13 23:35:10 +00:00
2026-05-06 12:27:58 +00:00
2026-05-06 09:28:05 +00:00
2026-05-14 21:03:56 +00:00
2026-05-05 22:41:13 +00:00
2026-05-14 21:03:56 +00:00
2026-05-14 19:51:10 +00:00
2026-05-10 20:29:59 +00:00
2026-05-08 10:36:03 +00:00
2026-05-12 15:52:52 +00:00
2026-05-14 16:30:08 +00:00
2026-05-06 14:06:48 +00:00
2026-05-14 22:20:34 +00:00
2026-05-05 22:41:13 +00:00
2026-05-14 01:24:30 +00:00
2026-05-05 22:41:13 +00:00
2026-05-14 16:30:08 +00:00
2026-05-06 20:08:42 +00:00
2026-05-09 01:54:42 +00:00
2026-05-05 22:41:13 +00:00
2026-05-07 17:40:28 +00:00
2026-05-15 12:07:32 +00:00
2026-05-08 21:03:40 +00:00
2026-05-05 22:41:13 +00:00
2026-05-15 10:07:50 +00:00
2026-05-13 23:35:10 +00:00
2026-05-14 20:03:29 +00:00
2026-05-14 20:03:29 +00:00
2026-05-15 14:17:57 +00:00
2026-05-14 14:47:30 +00:00
2026-05-05 22:41:13 +00:00
2026-05-05 22:41:13 +00:00
2026-05-12 16:20:53 +00:00
2026-05-05 22:41:13 +00:00
2026-05-13 15:51:42 +00:00
2026-05-13 23:35:10 +00:00
2026-05-06 09:28:05 +00:00
2026-05-06 21:18:29 +00:00
2026-05-14 20:03:29 +00:00
2026-05-14 16:30:08 +00:00
2026-05-08 10:36:03 +00:00
2026-05-15 11:12:41 +00:00
2026-05-12 22:47:51 +00:00
2026-05-14 06:39:33 +00:00
2026-05-12 19:40:00 +00:00
2026-05-13 23:35:10 +00:00
2026-05-08 19:28:01 +00:00
2026-05-07 09:56:04 +00:00
2026-05-14 15:02:33 +00:00
2026-05-14 16:30:08 +00:00
2026-05-13 11:34:50 +00:00