Skip to content

Refactor chat history into a dated thread archive - #504

Merged
dovvnloading merged 1 commit into
mainfrom
refactor/thread-archive
Nov 15, 2026
Merged

dovvnloading merged 1 commit into
mainfrom
refactor/thread-archive

Conversation

@dovvnloading

Copy link
Copy Markdown
Owner

Design

The previous sidebar gave New thread and Project workspace equal billing and clipped conversation titles to a single line. This change gives the history panel an illustrated cover based on the Cortex aperture, a prominent New thread button, and a fixed footer for the workspace. The cover uses an original 74 KiB local WebP and system typefaces.

Custom groups appear first. Unfiled threads follow in month and year sections, with localized dates and room for two-line titles. Search shows its match count and reveals results in collapsed groups. Legacy conversations with unreadable dates remain accessible. On short screens the move menu opens toward the available space and scrolls internally.

Verification

  • npm run typecheck and npm run build passed.
  • npm run lint completed with the same two existing warnings in useModelJobs.ts seen on the base revision.
  • npm test -- --maxWorkers=4 passed all 1,236 tests across 93 files.
  • npm run e2e -- --workers=1 --retries=1 passed all 44 Chromium tests on their first attempt.
  • With the repository’s showcase backend, axe found zero WCAG A/AA violations in five sidebar views: desktop light, desktop dark, search, touch portrait, and touch landscape. Also exercised forced-color keyboard focus, a move from the last thread at 667 × 375, and all 17 folder destinations after resizing to 630 × 320.
  • Native Windows WebView2 was outside this local verification.

Compatibility and rollback

All grouping and date formatting happen in the frontend. Existing chat and group records, navigation, and API calls retain their current contracts. Reverting the commit restores the previous panel without a data migration.

@dovvnloading
dovvnloading marked this pull request as ready for review November 15, 2026 21:52
@dovvnloading
dovvnloading merged commit d740324 into main Nov 15, 2026
16 checks passed
@dovvnloading
dovvnloading deleted the refactor/thread-archive branch November 16, 2026 20:26
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