Commit 01b2d49
committed
refactor: improve search tests, stories, and docs
- Add unit tests for all 4 search providers (38 tests)
- Remove unused SearchCategory types (orders, workshops, volunteers)
- Refactor Storybook stories with reusable SearchModalShell/ResultsList
- Add Loading and PagesOnly story variants
- Update docs to reflect current implementation1 parent c416340 commit 01b2d49
4 files changed
Lines changed: 221 additions & 179 deletions
File tree
- docs
- src
- components/admin
- lib/search
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
0 commit comments