Skip to content

add a grid view of the journal - #1115

Open
vyagh wants to merge 1 commit into
journal-list-timelinefrom
journal-grid
Open

add a grid view of the journal#1115
vyagh wants to merge 1 commit into
journal-list-timelinefrom
journal-grid

Conversation

@vyagh

@vyagh vyagh commented Aug 16, 2026

Copy link
Copy Markdown
Member

Grid View for the Journal:
Cards grouped by sitting, inside the same day bands as the list. Subclasses BaseJournalView from #1114, so query, selection and visibility match the list view. The toggle is the next PR for switching the views.

Builds on #1112 and #1114.

Design notes:

  • Row breaking is hand-rolled instead of Gtk.FlowBox, same reason as the list: FlowBox can't end a row on a group boundary.
  • Animations are add_tick_callback loops, like the rest of the series. second Gtk.CssProvider use.

Testing: 112 journal tests pass, 21 new, all on the grouping logic. The drawing has no unit coverage; checked by eye in a live shell.

gridview.py is added to Makefile.am and POTFILES.in.

Cards grouped by sitting in day bands. Hand-rolled layout:
Gtk.FlowBox cannot break rows on group boundaries.
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