Skip to content

Preview: gap between adjacent slots, one slot per detail line, no flicker while writing - #16

Open
citoki wants to merge 5 commits into
mainfrom
feature/adjacent-slot-gap
Open

citoki wants to merge 5 commits into
mainfrom
feature/adjacent-slot-gap

Conversation

@citoki

@citoki citoki commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Changes

  • Gap between adjacent slots: when one slot ends exactly where the next starts (e.g. only the temperature changes), the bars keep a 1px gap so the boundary stays visible.
  • Detail line: one slot per line next to the day, aligned (tabular numbers). The block reserves room for the day with the most slots, so hovering days does not resize the card.
  • No flicker while writing: during Apply, every card on the page keeps showing the days being written with their old values until each day is written and read back (src/held-days.ts). Days that are briefly unreadable while ebusd re-reads them keep their last value (not when offline). The preview in the edit card is no longer dimmed while writing (still inert).
  • Dev page: preview cards (week, today + tomorrow, today) next to the edit cards.
  • README screenshots updated.
  • Version 0.6.3 (no tag / release yet).

Tests

  • npm run typecheck, npm test (191 passed, incl. new test/held-days.test.ts), npm run test:e2e passed.

This branch has not been deployed

No deployments
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