Skip to content

Sources list: filter by type, opening on the sessions (3.40) - #156

Merged
munkycdev merged 3 commits into
mainfrom
claude/project-thread-5mdzns
Nov 12, 2026
Merged

munkycdev merged 3 commits into
mainfrom
claude/project-thread-5mdzns

Conversation

@munkycdev

@munkycdev munkycdev commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Requested by Dave · project thread

What

  • Type row on /sources, above the Status row (which now gets its "Status" label too). It uses the Codex's pattern: you can pick several chips or All, and it only offers types the world actually has.
  • Default = the sessions. With no ?type=, the list shows every type SourceTypeDisplay.IsSession counts (Session note, Handwritten note, Imported note, Session transcript, plus the legacy Journal entry and Transcript), so backlog imports aren't hidden. ?type=all shows everything. ?type=GMNote,Map shows a chosen set.
  • The choice lives in the URL, using replace rather than push, the way the Codex does. It's re-read on every navigation, so the sidebar's Sources link brings back the default. The campaign picker now writes the URL too. Before this, Back from a source restored the campaign the page was opened on.
  • Links.SourcesShowing(type): after you save a source that isn't a session, Capture's redirect asks for every type, and so does the source page's Sources crumb. That way the source you just left is on the list.
  • The needing-attention banner still watches every type.
  • Filtering happens in the browser. The page already loads the whole world's list and filters status there, so the API is unchanged.

No migration. 3.40 (3.38 = #157, 3.39 = #154). Dated amendment added to ui-design-system.md.

Tests

  • New SourcesPageTests (bUnit) cover: the default, which chips are offered and in what order, All, narrowing from All, turning off the last chip, the URL round-trip, the sidebar link going back to the default, unknown URL values, the empty-state wording, and SourcesShowing.
  • Breaking the default on purpose fails 3 of them.
  • The full Web suite is green (730 on main at 3.39 merged in), and dotnet format --verify-no-changes is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_0129ciB8UNgsAkSvkYxz91TV

A Type row above the Status row, the Codex's pattern: several chips or All,
only the types the world has. With no ?type= the list shows the sessions
(SourceTypeDisplay.IsSession: typed, handwritten, imported, transcribed);
?type=all shows everything. The choice lives in the address (replace, not
push) and is re-read on every navigation, so the sidebar link brings the
default back. The campaign picker now writes the address too, or Back from
a source restored the campaign the page was opened on.

Links.SourcesShowing gives Capture's post-save redirect and the source
page's crumb a list that holds the source just left. The needing-attention
banner still watches every type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0129ciB8UNgsAkSvkYxz91TV
#154 takes 3.37.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0129ciB8UNgsAkSvkYxz91TV
@munkycdev munkycdev changed the title Sources list: filter by type, opening on the sessions (3.37) Sources list: filter by type, opening on the sessions (3.38) Nov 12, 2026
@munkycdev munkycdev changed the title Sources list: filter by type, opening on the sessions (3.38) Sources list: filter by type, opening on the sessions (3.40) Nov 12, 2026
@munkycdev
munkycdev merged commit 4d647d5 into main Nov 12, 2026
6 checks passed
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.

2 participants