fix: distinguishable rating states; criteria legend lists each list once #27

Open
oliver.maklott wants to merge 0 commits from oliver.maklott/fix-rating-legibility into main AGit

Review follow-ups on rating legibility and the criteria legend (D024).

Rating states

  • "Not rated yet" was an en dash –, practically identical to the negative −, and drawn in the same color as the neutral ✓. It is now ○ in --lvb-rating-none: the lightest neutral gray that still reaches 3:1 (4.5:1 in high contrast) on every resting row background. The palette generator computes it per mode, and the palette tests gate it (light #818995, dark #636b76).
  • ✓ explicitly uses the text color; + stays green, − stays in the warning color.
  • Editor: a checked "erwartet" now uses the neutral fill instead of the accent; a checked "Keine Angabe" is a quiet outlined gray. No two checked states share a color.

Criteria legend: subjects with identical criteria lists share one section, headed by their names ("Deutsch, Englisch und Mathematik"). Each list appears once.

Tests: lib/ui/criteria.test.ts; palette UI contrast for rating-none; e2e 11-criteria checks ○ vs − in the editor and that no criteria list repeats in the summary legend.

Local: check ✓, 90 tests ✓, e2e 42 ✓.

🤖 Generated with Claude Code

Review follow-ups on rating legibility and the criteria legend (D024). **Rating states** - "Not rated yet" was an en dash `–`, practically identical to the negative `−`, and drawn in the same color as the neutral ✓. It is now **○** in `--lvb-rating-none`: the lightest neutral gray that still reaches 3:1 (4.5:1 in high contrast) on every resting row background. The palette generator computes it per mode, and the palette tests gate it (light `#818995`, dark `#636b76`). - ✓ explicitly uses the text color; + stays green, − stays in the warning color. - Editor: a checked "erwartet" now uses the neutral fill instead of the accent; a checked "Keine Angabe" is a quiet outlined gray. No two checked states share a color. **Criteria legend:** subjects with identical criteria lists share one section, headed by their names ("Deutsch, Englisch und Mathematik"). Each list appears once. **Tests:** `lib/ui/criteria.test.ts`; palette UI contrast for `rating-none`; e2e `11-criteria` checks ○ vs − in the editor and that no criteria list repeats in the summary legend. Local: check ✓, 90 tests ✓, e2e 42 ✓. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: distinguishable rating states; criteria legend lists each list once (D024)
All checks were successful
Test / test (pull_request) Successful in 27s
Check / check (pull_request) Successful in 45s
E2E / e2e (pull_request) Successful in 3m20s
Test / test (push) Successful in 31s
Check / check (push) Successful in 50s
Publish / publish (push) Successful in 50s
E2E / e2e (push) Successful in 3m30s
d53826bd1b
- "not rated yet" is ○ in a generated light gray (--lvb-rating-none,
  3:1 on resting backgrounds) instead of an en dash that looked like −
- ✓ uses the text color explicitly; the editor's checked "erwartet" uses
  the neutral fill, a checked "Keine Angabe" a quiet outlined gray
- the criteria legend groups subjects with identical criteria
- tests: groupByCriteria, palette contrast for rating-none; e2e symbols
  and legend without duplicate lists

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
Test / test (pull_request) Successful in 27s
Check / check (pull_request) Successful in 45s
E2E / e2e (pull_request) Successful in 3m20s
Test / test (push) Successful in 31s
Check / check (push) Successful in 50s
Publish / publish (push) Successful in 50s
E2E / e2e (push) Successful in 3m30s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/27/head:oliver.maklott/fix-rating-legibility
git switch oliver.maklott/fix-rating-legibility

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff oliver.maklott/fix-rating-legibility
git switch oliver.maklott/fix-rating-legibility
git rebase main
git switch main
git merge --ff-only oliver.maklott/fix-rating-legibility
git switch oliver.maklott/fix-rating-legibility
git rebase main
git switch main
git merge --no-ff oliver.maklott/fix-rating-legibility
git switch main
git merge --squash oliver.maklott/fix-rating-legibility
git switch main
git merge --ff-only oliver.maklott/fix-rating-legibility
git switch main
git merge oliver.maklott/fix-rating-legibility
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mehrerau/lvb!27
No description provided.