Commit 327e06f
committed
fix(timeline): drop the test's
Two findings from the automated review on aa8d3bb:
- the mocked `tl` was cast to `any` behind a biome-ignore, which AGENTS.md rules
out ("don't add new `any`"). Cast through `unknown` to the real
`ReturnType<typeof useTimeline>` instead: the prop keeps its type and the
suppression goes away.
- the "add a region kind" checklist pointed at pre-PR line numbers in
V4Timeline.tsx, and this branch moved them by ~130 lines. Recomputed against
the current file: :461-509 for the pill call site, :1478-1488 for the lane
render block, :332 for the `kind` union. (They were already drifting before
this branch — check-docs does not verify line numbers.)
The third finding, `currentColor` → `currentcolor` for stylelint's
value-keyword-case, does not apply here: the repo has no stylelint at all (CI's
Lint job is `biome check`, green on both spellings), and the convention in
website/src/css/custom.css is `currentColor`. Changing it would leave the only
lowercase spelling in the codebase.any and refresh the checklist's line refs1 parent f4d8c01 commit 327e06f
2 files changed
Lines changed: 6 additions & 4 deletions
File tree
- src/components/ai-edition/v4
- technical-documentation/architecture
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | | - | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments