Skip to content

feat(web): recency headers on Sidebar V2 settled tail - #129

Merged
patroza merged 1 commit into
fork/changesfrom
feat/sidebar-v2-settled-recency-headers
Jul 28, 2026
Merged

feat(web): recency headers on Sidebar V2 settled tail#129
patroza merged 1 commit into
fork/changesfrom
feat/sidebar-v2-settled-recency-headers

Conversation

@patroza

@patroza patroza commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

Phase A of the V2 + Recent integration strategy: add calendar recency headers only on the settled shelf, without changing V2’s lifecycle model.

  • Active cards stay creation-order stable (no activity reordering).
  • Snoozed shelf unchanged.
  • Settled history (already sorted by settle/activity end time) is bucketed with shared thread-recency-groups:
    • Last Hour → Earlier Today → Yesterday → Previous 7/30 Days → Older
  • Headers render only when more than one non-empty bucket is visible on the current page (same “no lone header” rule as classic Threads).
  • “Show more” paging still applies to the thread list; recency is a presentation layer on the visible page.

Test plan

  • Enable Sidebar V2 beta; settle threads across several days → Settled shelf shows date headers.
  • All settled rows in the last hour → no section headers under Settled.
  • Expand/collapse Settled shelf still works; route-open settled thread still appears when collapsed.
  • Show more settled preserves order and updates buckets as more rows appear.
  • Active list does not gain recency headers or reorder on activity.
  • Sidebar.logic unit tests pass (groupSettledThreadsByRecencyForSidebarV2).

Partition stays lifecycle-first (active / snoozed / settled). Within the
settled shelf, group already-sorted history by Last Hour / Earlier Today /
… via shared thread-recency-groups. Suppress headers when only one bucket
is visible on the current page so paging stays quiet.
@patroza
patroza force-pushed the feat/sidebar-v2-settled-recency-headers branch from 33adeaf to 44597a8 Compare July 28, 2026 06:27
@patroza
patroza merged commit f071aa5 into fork/changes Jul 28, 2026
5 of 6 checks passed
patroza added a commit that referenced this pull request Jul 29, 2026
Partition stays lifecycle-first (active / snoozed / settled). Within the
settled shelf, group already-sorted history by Last Hour / Earlier Today /
… via shared thread-recency-groups. Suppress headers when only one bucket
is visible on the current page so paging stays quiet.

Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza added a commit that referenced this pull request Jul 29, 2026
Partition stays lifecycle-first (active / snoozed / settled). Within the
settled shelf, group already-sorted history by Last Hour / Earlier Today /
… via shared thread-recency-groups. Suppress headers when only one bucket
is visible on the current page so paging stays quiet.

Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza added a commit that referenced this pull request Jul 29, 2026
Partition stays lifecycle-first (active / snoozed / settled). Within the
settled shelf, group already-sorted history by Last Hour / Earlier Today /
… via shared thread-recency-groups. Suppress headers when only one bucket
is visible on the current page so paging stays quiet.

Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
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