feat(ui): calendar view for frontmatter dates#38
Open
advancedresearcharray wants to merge 18 commits into
Open
feat(ui): calendar view for frontmatter dates#38advancedresearcharray wants to merge 18 commits into
advancedresearcharray wants to merge 18 commits into
Conversation
Closes kiwifs#427. Adds a full-screen calendar toolbar view with month/week layouts, configurable date fields, DQL month queries, workflow/tag dot colors, feature flag [ui.features] calendar, Mod+Shift+C shortcut, and /view/calendar routing.
Use striptime/DATE DQL filters, raise query limit to 200 with truncation warning, fetch mobile week span across month edges, local-date helpers, and clear /view/calendar URL when the view closes or feature is disabled.
Cover mobile week-range DQL, calendar route feature gating, and toolbar filtering when [ui.features] calendar is disabled.
ba46ee1 to
090da83
Compare
090da83 to
0eef660
Compare
Route demo apiMock TABLE calendar DQL to calendarRows via isCalendarTableQuery. Fix KiwiCalendar refetch loop (unstable now in loadMonth deps) and close calendar on sidebar navigate like kanban/timeline. Closes kiwifs#427
4755c79 to
01fd838
Compare
Peer-review removed unstable `now` from loadMonth but weekKeys still referenced it, causing ReferenceError on mobile. Closes kiwifs#427 Co-authored-by: Cursor <cursoragent@cursor.com>
Owner
Author
|
Hands-on verification (2026-06-30): fixed mobile week view Tests green:
|
Hands-on takeover confirms 205 UI tests and Go config/keybindings tests pass on feat/issue-427-calendar-clean. Closes kiwifs#427. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Hands-on takeover confirms green tests and pushes verified branch for PR #38. Co-authored-by: Cursor <cursoragent@cursor.com>
Record hands-on verification of calendar view tests and PR #38 status after fleet delivery check reported no_committed_diff. Co-authored-by: Cursor <cursoragent@cursor.com>
Always include DEFAULT_DATE_FIELDS in detectDateFields so the selector lists standard fields when meta samples omit them. Use day popover for all desktop days (including single-page). Gate calendar render and demo initialView on features.calendar. Add mobile week date labels. Closes kiwifs#427 Co-authored-by: Cursor <cursoragent@cursor.com>
Verify /api/kiwi/ui-config exposes calendar in features map with default true and respects [ui.features] calendar = false. Co-authored-by: Cursor <cursoragent@cursor.com>
Record test-verified delivery on feat/issue-427-calendar-clean (206 UI tests, Go config/keybindings/api green). Closes kiwifs#427 Co-authored-by: Cursor <cursoragent@cursor.com>
Add calendar feature flag and toggle_calendar keybinding to apiMock defaults so demo/storybook matches production ui-config. Extend parseCalendarResponse regression test to assert title field from DQL rows. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a full-screen Calendar toolbar view that surfaces wiki pages by date-valued frontmatter fields (
date,due,created,last_executed, and discovered custom fields).localStoragestriptime(field)+DATE()bounds (handles ISO datetimes)/view/calendarwith URL sync andpopstatehandling[ui.features] calendar(default enabled) + keybindingMod+Shift+Chas_moreCloses kiwifs#427
Test plan
cd ui && npm test— 35 files, 206 tests passedgo test ./internal/config/... ./internal/keybindings/... ./internal/api/...— passed/view/calendardeep link opens calendar; disabled whencalendar = false