Skip to content

Make sidebar skills and prompts collapsible - #593

Merged
alejandro-ao merged 4 commits into
mainfrom
feature/sidebar-accordion
Aug 17, 2026
Merged

Make sidebar skills and prompts collapsible#593
alejandro-ao merged 4 commits into
mainfrom
feature/sidebar-accordion

Conversation

@alejandro-ao

Copy link
Copy Markdown
Collaborator

Summary

  • make the sidebar skills and prompts sections independently collapsible
  • start both sections collapsed and show loaded resource counts
  • show the estimated system-prompt token footprint for the loaded skill index
  • preserve expanded state while resources reload
  • document the updated sidebar behavior

User experience

Skills and prompts no longer consume most of the sidebar by default. Users can expand either or both sections when needed, while collapsed headings retain useful count and token information.

Validation

  • uv run pytest (1521 passed, 2 skipped)
  • uv run ruff check .
  • uv run ruff format --check .
  • uv run mypy
  • uv build
  • cd website && hugo --minify (passes with the existing taxonomy layout warning)

Manual validation

  1. Start Tau in a terminal wide enough to show the sidebar.
  2. Confirm skills and prompts start collapsed with item counts.
  3. Confirm the skills heading includes an estimated token count.
  4. Expand skills and prompts and confirm both can remain open.
  5. Collapse either section independently.

@alejandro-ao
alejandro-ao marked this pull request as ready for review August 17, 2026 09:39
@alejandro-ao
alejandro-ao merged commit 781b92c into main Aug 17, 2026
2 checks passed
@alejandro-ao
alejandro-ao deleted the feature/sidebar-accordion branch August 17, 2026 09:39
naripok pushed a commit to naripok/tau that referenced this pull request Aug 17, 2026
Reconcile the fork with the latest upstream state:

- 20aafad huggingface#591 groups serialized edit and write continuations
- 781b92c huggingface#593 makes sidebar skills and prompts collapsible
- be01f15 huggingface#594 prepares the Tau 0.3.11 release
- 95b7ca4 huggingface#595 refines sidebar resource heading styles

The fork's turn-level retry work is orthogonal to these changes, so
all fork fixes are preserved; only import/version conflicts needed
resolution. The fork version moves to 0.3.11+naripok.2 (upstream base
0.3.11, fork-local counter preserved). README sync reference updated.
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