Skip to content

fix(web): News calendar classes clashed with the Stats activity strip; quieter dateline rule - #223

Merged
ra3orblade merged 1 commit into
mainfrom
fix/news-calendar-classes
Oct 24, 2026
Merged

ra3orblade merged 1 commit into
mainfrom
fix/news-calendar-classes

Conversation

@ra3orblade

Copy link
Copy Markdown
Owner

Two things seen on 0.18.1's dark dashboard.

  • The Stats activity strip rendered as an empty bordered box. The News month calendar (M14.11) was styled as .cal / .cal-grid, the class names the Stats view's activity strip in components/charts.tsx already owned, so the strip inherited the calendar's panel border, padding and display: table. check:classes passes on any className that exists somewhere, which is how the collision got through. The month calendar is .mcal-* now; the strip's rules are untouched.
  • The dateline rule was too bright. A 2px bar in the full foreground colour glares on a dark ground. It is a 1px line at 35% of the foreground now, in both themes.

Verified on a copy of the live database through a scratch daemon in headless Chrome: the strip shows 53 columns with 71 lit days again, the News calendar lays its seven columns at 29px each, the rule computes to 1px at 35% alpha.

typecheck · lint · test (1105 pass) · build:web · check:classes

🤖 Generated with Claude Code

… strip; a quieter dateline rule

The month calendar beside the news (M14.11) was styled as .cal / .cal-grid,
the names the Stats view's activity strip (components/charts.tsx) already
owns, so that strip got the calendar's panel border and a table layout and
rendered as an empty box. check:classes passes on a className that exists
anywhere, which is exactly how a collision slips through. The month calendar
is .mcal-* now; the strip is untouched.

The rule under a dateline was a 2px bar in the full foreground colour, which
glares on a dark ground; it is a 1px line at 35% of it now.

Verified on a copy of the live database through a scratch daemon in headless
Chrome: the strip shows 53 columns with 71 lit days, the News calendar lays
its seven columns at 29px each. typecheck, lint, 1105 tests, build:web,
check:classes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ra3orblade
ra3orblade merged commit 8c76d72 into main Oct 24, 2026
2 checks passed
@ra3orblade
ra3orblade deleted the fix/news-calendar-classes branch October 24, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant