Journal by day, previews skip headings, Settings in the sidebar #71

Closed
kayg wants to merge 0 commits from issue/43-followup-1 into dev
Owner

Follow-up to #43 (after #70), from checking it on next.calternal.cloud.

  • Journal order: day notes sort and group by the day they're for, newest first (Today, Yesterday, Previous 7 days…, plus Upcoming for future days), not by when the file last changed. Every other list keeps last-change order.
  • Previews: the list preview skips frontmatter, headings and --- rules, so a day note starts with its first log line ("09:12 Walk"), never "Log". Server change in crates/notes/src/meta.rs with a unit test. The list store's schema version goes 2 → 3, so existing rows are rebuilt from the files on the next start.
  • Settings: a Settings button next to your name in the sidebar, reachable while the bar shows a note's tools. ⌘, still works. The note tools stay as they are.
  • Tests: the flow test seeds two old day notes written in the wrong order and checks the Journal order, the 2 October preview ("07:30 Early swim", no "Log"), and opening Settings from the sidebar mid-edit and with ⌘,.

Locally: full browser suite 61 passed / 8 skipped; calternal-notes tests, fmt and clippy clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

Follow-up to #43 (after #70), from checking it on next.calternal.cloud. - **Journal order:** day notes sort and group by the day they're for, newest first (Today, Yesterday, Previous 7 days…, plus Upcoming for future days), not by when the file last changed. Every other list keeps last-change order. - **Previews:** the list preview skips frontmatter, headings and `---` rules, so a day note starts with its first log line ("09:12 Walk"), never "Log". Server change in `crates/notes/src/meta.rs` with a unit test. The list store's schema version goes 2 → 3, so existing rows are rebuilt from the files on the next start. - **Settings:** a Settings button next to your name in the sidebar, reachable while the bar shows a note's tools. ⌘, still works. The note tools stay as they are. - **Tests:** the flow test seeds two old day notes written in the wrong order and checks the Journal order, the 2 October preview ("07:30 Early swim", no "Log"), and opening Settings from the sidebar mid-edit and with ⌘,. Locally: full browser suite 61 passed / 8 skipped; `calternal-notes` tests, fmt and clippy clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Journal by day, previews skip headings, Settings in the sidebar
All checks were successful
CI / rust (pull_request) Successful in 46s
CI / web (pull_request) Successful in 1m55s
86d1d3a038
- The Journal sorts and groups day notes by the day they are for, newest
  first (with Upcoming for future days); every other list keeps the order
  of the last change.
- List previews skip the frontmatter, headings and rules, so a day note
  starts with its first log line, never "Log". The list store's schema
  version is bumped so existing rows are rebuilt.
- A Settings button sits beside your name in the sidebar, reachable while
  the bar shows a note's tools.
- The flow test seeds two old days written in the wrong order and checks
  the Journal order, the preview, and Settings from the sidebar mid-edit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Reviewed by Claude: journal ordered/grouped by note date, snippet skips frontmatter/headings with a unit test, list store version bump to rebuild, Settings reachable from the sidebar. CI green. Merging and redeploying next.

Reviewed by Claude: journal ordered/grouped by note date, snippet skips frontmatter/headings with a unit test, list store version bump to rebuild, Settings reachable from the sidebar. CI green. Merging and redeploying next.
Author
Owner

Closing: this branch is already fully contained in dev (it landed through a merge train). Branch cleanup, 2026-10-15.

Closing: this branch is already fully contained in `dev` (it landed through a merge train). Branch cleanup, 2026-10-15.
kayg closed this pull request 2026-10-15 08:35:23 +00:00
All checks were successful
CI / rust (pull_request) Successful in 46s
CI / web (pull_request) Successful in 1m55s

Pull request closed

Sign in to join this conversation.
No reviewers
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
kayg/calternal!71
No description provided.