Skip to content

redraw the journal list as a timeline on a shared view base - #1114

Open
vyagh wants to merge 2 commits into
journal-timeline-infrafrom
journal-list-timeline
Open

redraw the journal list as a timeline on a shared view base#1114
vyagh wants to merge 2 commits into
journal-timeline-infrafrom
journal-list-timeline

Conversation

@vyagh

@vyagh vyagh commented Aug 16, 2026

Copy link
Copy Markdown
Member

The list view becomes a timeline. Entries fall into day bands, and the entries a child made in one stretch of work fold into a single row you can open.

two commits:

  1. add basejournalview.py, a shared base with the query, selection and visibility handling that the list and the upcoming
    grid view both need.
  2. redraws the list view on top of it.

Builds on #1112.

Notes:

  • The list view installs a Gtk.CssProvider. Stock jarabe didn't have it.
  • The timeline is drawn on top of the existing TreeView instead of rebuilding on FlowBox, because FlowBox can't break rows on group boundaries, and grouping entries was waht I was trying to achieve.

Testing:
91 journal tests pass at this commit, 15 of them new for the base class. The drawing code needs a running GTK, which the test suite doesn't have, so I verified that part in a live shell: the timeline renders, sittings fold and unfold, the view updates when an entry is added or changed, and the logs show no new tracebacks.

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

vyagh added 2 commits August 17, 2026 04:03
List and grid need the same query, selection and
visibility lifecycle. The list view adopts it in the next
commit; the grid view arrives built on it.
Day bands, sitting folds and inline ticks over the classic
list. The shell now touches PangoCairo at draw time, so its
version is declared with the other gi requirements.
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