feat: current-time line in day and week views #31

Merged
makiolaj merged 1 commits from feat/now-line into release/v2.8.0 2026-06-23 07:59:12 +00:00
Owner

Adds the standard "now" indicator to the timed grids.

  • A thin primary-coloured line with a leading dot marks the current time across today's column in the day and week views
  • Positioned on the same HOUR_HEIGHT scale as the event blocks, so it lines up with the hour grid
  • New shared ui/common/NowLine.kt ticks once a minute, re-aligning to each minute boundary to avoid drift; only mounts on today's column (single coroutine), renders nothing when today isn't in view

Builds clean (compileDebugKotlin / assembleDebug). Verified on-device (Pixel 10).

Adds the standard "now" indicator to the timed grids. - A thin primary-coloured line with a leading dot marks the current time across today's column in the day and week views - Positioned on the same HOUR_HEIGHT scale as the event blocks, so it lines up with the hour grid - New shared ui/common/NowLine.kt ticks once a minute, re-aligning to each minute boundary to avoid drift; only mounts on today's column (single coroutine), renders nothing when today isn't in view Builds clean (compileDebugKotlin / assembleDebug). Verified on-device (Pixel 10).
makiolaj added 1 commit 2026-06-23 07:40:18 +00:00
feat(views): show a current-time line in day and week views
All checks were successful
CI / ci (pull_request) Successful in 4m21s
7f8a9069c0
A thin primary-coloured indicator (leading dot + line) marks the current
time across today's column in the day and week timelines, positioned on the
same HOUR_HEIGHT scale as the event blocks so it lines up with the grid.

Shared ui/common/NowLine.kt ticks once a minute, re-aligning to each minute
boundary to avoid drift, and only mounts on today's column so a single
coroutine runs. Renders nothing when today isn't in view.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
makiolaj merged commit 6b0eb48056 into release/v2.8.0 2026-06-23 07:59:12 +00:00
makiolaj deleted branch feat/now-line 2026-06-23 07:59:13 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: makiolaj/calendula#31