feat(ui): group federated specs by project on the Specs page#33
Merged
Conversation
The Specs page rendered ~28 federated specs (attune-ai + attune-gui) as one flat table — the `project` field plumbed by #30 was invisible to the user. Wrap rows in per-project <details> sections so federation becomes a visible structural signal instead of noise mixed by slug. The section matching the active workspace expands by default; others collapse. Drops the single specs_root meta-line in favour of a small "Reading from N root(s)" hint. Approved proposal: attune-ai/docs/specs/spec-viewer-ia/proposal.md Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<details>blocks driven byspec.project(plumbed by feat(specs): federated multi-root spec listing + coverage config #30). The section matching the active workspace expands by default; others collapse.specs_rootmeta-line in favor of a "Reading from N root(s)" hint when multiple roots are configured.projectis surfaced —root(filesystem noise) andcollision(the natural "same slug under two sections" signal is now visible structurally) are not rendered.Federation is now visible to the user instead of disappearing into a flat list of ~28 rows.
Approved proposal:
attune-ai/docs/specs/spec-viewer-ia/proposal.mdOut of scope (deferred per proposal)
_scan_featureand deserves its own review.Test plan
pytest sidecar/tests/test_cowork_pages.py(20 passed, including newtest_specs_page_groups_by_project)ruff checkclean on changed.pyfiles🤖 Generated with Claude Code