Skip to content

Day page: date-only episodes fold into the grouped card - #130

Merged
shahryarjb merged 4 commits into
masterfrom
feat/day-all-day-episode-group
Oct 10, 2026
Merged

shahryarjb merged 4 commits into
masterfrom
feat/day-all-day-episode-group

Conversation

@shahryarjb

Copy link
Copy Markdown
Member

What

  • Fold all-day episodes. On the Day page, 3 or more shows airing on a day with no air time now fold into the same grouped card the timeline uses: poster stack, title, chevron. Opening it lists each show, and tapping a row opens that show. Films and the reader's own all-day events stay as rows; 1–2 shows stay as rows.
  • Honest count. A show that drops a whole season is one row with many episodes, so the card says "3 shows · 18 episodes" when the counts differ. It keeps "N episodes" when each show has one. Persian: %{n} سریال.
  • Fresh on return. Coming back to the Day page (e.g. after removing a show from it) re-reads the day through handle_kati(:resumed, …). It keeps the chip and the open groups. Before, it drew the old rows until you moved a day.

Tested

  • bin/ci_local.sh: 4614 tests. One order hit a flake in TitlePreviewTest (5 s assert_receive), unrelated to this change; the same seed passes on re-run.
  • New test/kati/day_all_day_group_test.exs: fold/no-fold threshold, film stays a row, member taps, the shows · episodes title, the chevron toggle, and the resume re-read.
  • Real phone (release build, signed): temporarily followed Squid Game, Sex Education and The Morning Show (all on Fri 17 Sep 2021). The card read "3 shows · 18 episodes", opened, and each row opened its show. After removing each show, the day updated immediately: 2 rows, then 1, then empty. The test shows were removed afterwards.

🤖 Generated with Claude Code

shahryarjb and others added 4 commits October 10, 2026 07:34
Episodes with a date and no hour used to sit one row each in the all-day
band. They now fold like the timeline's groups, open by the same chevron,
and each member row opens its show.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ay re-reads on return

A show that drops a season is one row carrying many episodes, so the card
said "3 episodes" for three shows and eighteen episodes. It now says
"3 shows · 18 episodes" when the counts differ.

Coming back from a show (say after removing it) re-reads the day, keeping
the chip and the open groups, instead of drawing the old rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The +n MORE tile had a minimum width and centred its figure with weighted
spacers, so it took the whole row and the two kept cards were drawn zero
wide. It is 44 wide, as drawn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The router is linked to the test process, so by on_exit it can die between
the alive? check and GenServer.stop, which failed CI on PR #130.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shahryarjb
shahryarjb merged commit 08324e6 into master Oct 10, 2026
1 check passed
@shahryarjb
shahryarjb deleted the feat/day-all-day-episode-group branch October 10, 2026 06:33
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