Commit 5c62124
committed
refactor(ui): migrates accordion to Kobalte, fixes scroll/a11y
- Replaces custom accordion with @kobalte/core Accordion (aria, keyboard
nav, heading semantics via h3)
- Extracts OrgContent sub-component for SolidJS reactivity isolation
- Fixes FLIP animation scroll preservation (reads-before-writes pattern)
- Fixes accordion default expansion mid-load shift (stable initial value)
- Uses unfiltered selectedCount in accordion badge
- Adds fill-mode: forwards to accordion CSS animation
- Adds 8 new tests (1580 total): FLIP rAF callback with call-order
assertion, accordion threshold transitions, loading/error states,
selectedCount filter invariant1 parent 3e77d31 commit 5c62124
File tree
6 files changed
+604
-286
lines changed- src/app
- components/onboarding
- lib
- tests
- components
- onboarding
- lib
6 files changed
+604
-286
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
139 | 158 | | |
140 | 159 | | |
141 | 160 | | |
| |||
145 | 164 | | |
146 | 165 | | |
147 | 166 | | |
148 | | - | |
149 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
150 | 170 | | |
151 | 171 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
47 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
48 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
49 | 64 | | |
50 | 65 | | |
51 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
685 | 696 | | |
686 | 697 | | |
687 | 698 | | |
| |||
700 | 711 | | |
701 | 712 | | |
702 | 713 | | |
703 | | - | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
704 | 717 | | |
705 | 718 | | |
706 | 719 | | |
707 | 720 | | |
| 721 | + | |
| 722 | + | |
708 | 723 | | |
709 | 724 | | |
710 | 725 | | |
| |||
0 commit comments