Commit 99f5c40
extensions_ui: Apply category filter to dev extensions (#48954)
Following up on #49183 which fixed the category filter for remote
extensions.
This PR applies the same category filter logic to **dev extensions**.
Previously, dev extensions were always shown regardless of the selected
category filter (e.g., "Themes", "Languages").
Changes:
- Add `filtered_dev_extension_indices` to track which dev extensions
match the active `provides_filter`
- Add `dev_extension_matches_provides()` helper to map
`ExtensionManifest` fields to `ExtensionProvides` variants
- Update `render_extensions()` and list count to use filtered dev
extension indices
Release Notes:
- Fixed extension category filter not applying to dev extensions in the
extensions panel.
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>1 parent a023f39 commit 99f5c40
1 file changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
323 | 324 | | |
324 | 325 | | |
325 | 326 | | |
| |||
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| 385 | + | |
384 | 386 | | |
385 | 387 | | |
386 | 388 | | |
| |||
493 | 495 | | |
494 | 496 | | |
495 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
496 | 511 | | |
497 | 512 | | |
498 | 513 | | |
| |||
601 | 616 | | |
602 | 617 | | |
603 | 618 | | |
604 | | - | |
| 619 | + | |
605 | 620 | | |
606 | 621 | | |
607 | 622 | | |
608 | 623 | | |
609 | 624 | | |
610 | 625 | | |
611 | | - | |
| 626 | + | |
| 627 | + | |
612 | 628 | | |
613 | 629 | | |
614 | 630 | | |
| |||
1821 | 1837 | | |
1822 | 1838 | | |
1823 | 1839 | | |
1824 | | - | |
| 1840 | + | |
1825 | 1841 | | |
1826 | 1842 | | |
1827 | 1843 | | |
| |||
0 commit comments