Skip to content

feat: add view blocks, board views and a calendar on generic view queries - #19

Merged
ljm12914 merged 1 commit into
mainfrom
refactor/generic-views
Nov 29, 2026
Merged

ljm12914 merged 1 commit into
mainfrom
refactor/generic-views

Conversation

@ljm12914

Copy link
Copy Markdown
Member

Completes the views section on top of the shared view queries from #18.

View blocks

  • Insert table, board or calendar views into a page from the slash menu; one view per block.
  • Block settings (conditions, sort, group, columns, card properties, name, height, collapsed groups) are page edits in that page's history. Search, selection and scroll stay in the display.
  • "Current page" filter values resolve to the page showing the block, so a synced block evaluates per page.
  • Filter page references are not links: no retention, no backlinks.
  • Missing attributes and purged filter pages are repaired for display only; main never rewrites block settings.
  • A block can open in a tab bound to it; settings changed there write back to the block.
  • Edits made from a view block record in both the edited page and the block's page.

Board view

  • One column per group, empty options and a "none" column included, collapsible columns.
  • Dragging cards across columns writes the grouped attribute (multi-value fields swap only the source value, time fields keep the clock time); multi-card moves commit once.

Calendar

  • The calendar now queries through the shared view query module, with search and filter conditions, in the built-in tab and in view blocks.
  • Day fields: month (grid + agenda) and week layouts.
  • Minute and hour fields: week time grid with an optional end field, overlap layout, 15 min / 1 h snapping drag and resize.

Checks

  • typecheck, lint, knip: 0 errors, 0 warnings
  • db:check passes; test:db 318 and test:feed 45 pass
  • perf thresholds met for view blocks, board, calendar layouts and the earlier table checks; editor open time unchanged
  • Real-input smoke test not done (physical mouse drag and edge scroll, trackpad, key repeat, IME candidates)

🤖 Generated with Claude Code

…ries

- View blocks: table, board and calendar views inside pages, with per-block
  settings in page history, "current page" filters, display-only repair and
  tabs bound to a block.
- Board view: one column per group, cross-column drag writes the grouped
  attribute, multi-card moves commit once.
- Calendar: queries through the shared view query module; day fields get
  month and week layouts, minute and hour fields get a week time grid with
  optional end times, snapping drag and resize.
- Edits made from a view block record in both the edited page and the
  block's page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ljm12914
ljm12914 merged commit b8f5ea7 into main Nov 29, 2026
1 check passed
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