Skip to content

feat(sessions): add main-session search toggle - #699

Merged
pascalandr merged 1 commit into
NeuralNomadsAI:devfrom
pascalandr:fix/main-session-search-toggle
Sep 17, 2026
Merged

pascalandr merged 1 commit into
NeuralNomadsAI:devfrom
pascalandr:fix/main-session-search-toggle

Conversation

@pascalandr

Copy link
Copy Markdown
Contributor

Summary

Small follow-up to #698: add Show main sessions immediately before Show subsessions, enabled by default. The two independent controls support main-only, subsession-only, combined and empty results. Controls wrap at narrow widths and labels are translated in all ten locales. Normal browsing retains its hierarchy.

Validation

  • UI typecheck passed.
  • 14 session-tree cases passed.
  • Existing real-component browser regression extended and passed: defaults, control order, all four combinations, existing filters/sorts/selection and restoring hierarchy with main results disabled.
  • git diff --check passed.

Maintenance note: existing packages/ui/src/components/session-list.tsx is approximately 1040 lines; no size-only refactor included.

Add Show main sessions immediately before Show subsessions in the search controls, enabled by default. The independent filters allow main-only, subsession-only, combined or empty results without changing normal browsing hierarchy. Reuse the existing controls and wrapping utilities, and translate the label in all ten locales.

Extend the existing real-component browser regression to cover default state, control order, all filter combinations and restoring the hierarchy with main results disabled. UI typecheck, 14 session-tree cases, browser regression and diff checks pass.
@pascalandr
pascalandr merged commit 8a24487 into NeuralNomadsAI:dev Sep 17, 2026
14 of 16 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.

1 participant