Commit e04cae8
committed
feat: polish PolicyWorkbench UI - active chip indicator, focus management, test fixes
- Add navigation lock to prevent IntersectionObserver from overriding manually-clicked chip selection during smooth scroll
- Blur chip button on mouse click to remove lingering focus ring
- Blur focused chip when activeCategory changes (scroll-driven updates)
- Guard getBoundingClientRect calls against environments lacking implementation (happy-dom tests)
- Ensure all 10 tests pass without unhandled errors
Signed-off-by: Vitor Mattos <[email protected]>1 parent 0e665a6 commit e04cae8
5 files changed
Lines changed: 1075 additions & 125 deletions
File tree
- src
- store
- views/Settings/PolicyWorkbench
- settings
- tsa
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
| |||
0 commit comments