You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,14 @@
4
4
5
5
### Added
6
6
7
+
-`FloatingModal` legend when viewing an obs-column annotation in the metrics layer ([#29](https://github.com/patcon/polislike-human-cartography-prototype-v2/issues/29)).
8
+
- Shows the column name as the label and colored category swatches for categorical columns; continuous columns show an empty modal (legend to follow).
9
+
- Prev/next arrows (and ←/→ keyboard shortcuts) cycle through available obs columns, updating the active annotation.
10
+
- X button returns to the groups layer, matching the statement-modal behavior.
11
+
- Extended `FloatingModal` with optional `title` and `legendItems` props for the annotation rendering path; existing statement rendering is unchanged.
12
+
- Categorical annotation layers use a dedicated Tableau 20 palette (20 colors) separate from the 10-color painting palette, giving more range without affecting group colors.
13
+
- Legend is hidden for columns with >65 categories (e.g. timestamps, UUIDs) — only the column title is shown, matching continuous column behavior.
14
+
- Blank category labels are displayed as **N/A**.
7
15
- Prev/next navigation buttons on `FloatingModal` for touch-friendly statement cycling in votes layer mode ([#27](https://github.com/patcon/polislike-human-cartography-prototype-v2/issues/27)).
8
16
- Extracted shared `cycleStatement` callback so keyboard arrow keys and buttons use the same logic.
9
17
-`onPrev` / `onNext` are optional injected props — buttons only render when provided, keeping the modal reusable for other contexts.
Copy file name to clipboardExpand all lines: CLAUDE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ Tests use Vitest with jsdom. `src/test-setup.ts` mocks `matchMedia`, `ResizeObse
78
78
`CHANGELOG.md` follows [Keep a Changelog](https://keepachangelog.com) conventions with `Added`, `Changed`, and `Fixed` subsections under each release.
79
79
80
80
-**Every feature branch must include a `CHANGELOG.md` update** in the same commit (or PR) as the code change.
81
+
-**Claude must always update `CHANGELOG.md`** when implementing any feature, fix, or notable change — without waiting to be asked.
81
82
- Entries go under `## [Unreleased]` until a version is tagged.
82
83
- Link each entry to its GitHub issue (`[#27](.../issues/27)`) if one exists, otherwise fall back to the PR (`[#42](.../pull/42)`).
83
84
- On release: rename `[Unreleased]` to the new version + date, update its compare URL to `compare/vPREV...vNEW`, and add a fresh empty `[Unreleased]` block at the top pointing to `compare/vNEW...main`.
0 commit comments