Consensus nav, collapsible sections, and decision-first layout#9
Merged
msitarzewski merged 1 commit intomainfrom Feb 18, 2026
Merged
Consensus nav, collapsible sections, and decision-first layout#9msitarzewski merged 1 commit intomainfrom
msitarzewski merged 1 commit intomainfrom
Conversation
Add sticky right-side navigation and collapsible disclosure sections to both the live consensus page and stored thread detail view. Decisions now surface to the top when consensus is complete, with dissent getting equal treatment via a refactored DissentBanner that parses model attribution. Key changes: - Shared Disclosure primitive (chevron + toggle) reused across all cards - ConsensusNav/ThreadNav sticky sidebars with per-challenger model names - ConsensusComplete and thread decisions collapsible, positioned at top - DissentBanner parses [model:name]: prefix for proper ModelBadge display - Individual challengers and contributions independently collapsible - Responsive: nav hidden on mobile, collapsible sections still work - 166 Vitest tests (40 new), build clean Co-Authored-By: Claude Opus 4.6 <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
Disclosureprimitive — reusable chevron + toggle component extracted from duplicated collapse logic across PhaseCard, TurnCard, ConsensusComplete, and DissentBannerConsensusNav(live streaming) andThreadNav(stored threads) show round/phase progress with individual challenger model names, click-to-scrollConsensusCompleteand thread final decision surface to the top when consensus is complete, collapsible via Disclosuregpt-4,gemini) in amber[model:name]:prefix to extract model attribution and display ModelBadge with equal visual weighthidden lg:block), collapsible sections still work on all viewportsFiles changed
Disclosure.tsx,shared/index.tsConsensusNav.tsx,PhaseCard.tsx,ConsensusComplete.tsx,ConsensusPanel.tsx,DissentBanner.tsx,consensus/index.tsThreadNav.tsx,ThreadDetail.tsx,TurnCard.tsx,threads/index.tsConsensusPage.tsx,ThreadDetailPage.tsxconsensus-nav.test.tsx,thread-nav.test.tsxactiveContext.md,progress.mdTest plan
npm run build— TypeScript compiles, no errorsnpm test— 166 Vitest tests pass (40 new)🤖 Generated with Claude Code