Skip to content

feat(sidebar): combine Recent/Projects into Threads with grouping - #121

Merged
patroza merged 1 commit into
fork/changesfrom
feat/sidebar-combined-grouping
Jul 27, 2026
Merged

feat(sidebar): combine Recent/Projects into Threads with grouping#121
patroza merged 1 commit into
fork/changesfrom
feat/sidebar-combined-grouping

Conversation

@patroza

@patroza patroza commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Web + mobile: remove the separate Recent / Projects list modes in favor of a single Threads surface (plus Board).
  • Add a grouping control on Threads:
    • Group by recency — Today / Yesterday / Previous 7 Days / Previous 30 Days / Older (as in the reference UI)
    • Group by project — previous Projects layout (sort + expand/preview preserved)
    • Group by nothing — flat activity-sorted list (previous Recent layout without day headers)
  • Shared calendar bucketing lives in @t3tools/client-runtime (thread-recency-groups) so web and mobile stay aligned.
  • Migration: stored recent / projects decode as Threads; grouping defaults from the legacy mode when the new key is unset (Recent → recency, Projects → project).
  • Custom user groups intentionally deferred to a follow-up PR.

Test plan

  • Web classic sidebar: Threads | Board switcher; grouping menu switches recency / project / flat.
  • Recency: section headers match calendar buckets; hide-settled still works.
  • Project grouping: project expand, sort menu, DnD (web), add-project still work.
  • Mobile compact home + split sidebar: same grouping options via filter menu.
  • Board mode still navigates/shows board and hides thread chrome.
  • Legacy localStorage: was on Recent → recency groups; was on Projects → project groups.
  • Unit: threadRecencyGroups + mobile homeListItems recency layout tests.

Replace the separate Recent and Projects list modes with a single Threads
surface (plus Board) and a grouping control: by recency (Today/Yesterday/
Previous 7 Days/…), by project, or flat. Shared recency bucketing lives in
client-runtime so web and mobile stay aligned. Legacy stored modes migrate
to Threads with matching grouping defaults.
@patroza
patroza merged commit 5884c5f into fork/changes Jul 27, 2026
9 of 10 checks passed
patroza added a commit that referenced this pull request Jul 27, 2026
…#124)

#121's thread recency grouping uses calendar Date APIs intentionally; Effect's
globalDate diagnostic was failing typecheck on the new helpers and tests.

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 28, 2026
Replace the separate Recent and Projects list modes with a single Threads
surface (plus Board) and a grouping control: by recency (Today/Yesterday/
Previous 7 Days/…), by project, or flat. Shared recency bucketing lives in
client-runtime so web and mobile stay aligned. Legacy stored modes migrate
to Threads with matching grouping defaults.

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 28, 2026
…#124)

#121's thread recency grouping uses calendar Date APIs intentionally; Effect's
globalDate diagnostic was failing typecheck on the new helpers and tests.

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
Replace the separate Recent and Projects list modes with a single Threads
surface (plus Board) and a grouping control: by recency (Today/Yesterday/
Previous 7 Days/…), by project, or flat. Shared recency bucketing lives in
client-runtime so web and mobile stay aligned. Legacy stored modes migrate
to Threads with matching grouping defaults.

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
…#124)

#121's thread recency grouping uses calendar Date APIs intentionally; Effect's
globalDate diagnostic was failing typecheck on the new helpers and tests.

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
Replace the separate Recent and Projects list modes with a single Threads
surface (plus Board) and a grouping control: by recency (Today/Yesterday/
Previous 7 Days/…), by project, or flat. Shared recency bucketing lives in
client-runtime so web and mobile stay aligned. Legacy stored modes migrate
to Threads with matching grouping defaults.

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
…#124)

#121's thread recency grouping uses calendar Date APIs intentionally; Effect's
globalDate diagnostic was failing typecheck on the new helpers and tests.

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
Replace the separate Recent and Projects list modes with a single Threads
surface (plus Board) and a grouping control: by recency (Today/Yesterday/
Previous 7 Days/…), by project, or flat. Shared recency bucketing lives in
client-runtime so web and mobile stay aligned. Legacy stored modes migrate
to Threads with matching grouping defaults.

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
…#124)

#121's thread recency grouping uses calendar Date APIs intentionally; Effect's
globalDate diagnostic was failing typecheck on the new helpers and tests.

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