Move Copy/Export to top of consensus report; verify markdown parity#20
Merged
Conversation
Moves the Copy and Export action bar from the bottom of the completed consensus report to the top, above the decision text. The export dropdown now opens downward (was upward, overlapping the report text), uses an opaque surface background (was translucent glass — text bled through), and closes on outside-click, matching the shared ExportMenu used by the thread (library) view. No markdown change needed: both the live consensus view and the library thread view already render the decision through the same shared <Markdown> component (remark-gfm + rehype-highlight + duh-prose), so formatting is identical. 204 Vitest tests pass, build clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EkrekgzMAQko92UkjnXhHL
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.
From the screenshot: the Copy/Export buttons sat at the bottom of the report and the Export dropdown opened upward, overlapping the report text, with a translucent background you could read through.
Changes
top-full), uses an opaque surface (--color-surface-solid/--color-surface-hover— no more see-through overlap), and closes on outside-click — matching the sharedExportMenuused by the thread (library) view.Markdown parity (verified, no change needed)
Both the live consensus view (
ConsensusComplete) and the library view (ThreadDetail) render the decision through the same shared<Markdown>component (react-markdown + remark-gfm + rehype-highlight +duh-prose). Confirmed.duh-prosesets no ownfont-size, so thetext-sm-on-wrapper vstext-sm-on-element difference resolves to identical output. Formatting is the same engine end to end.Note (content, not formatting): when a thread has an executive overview, the live view leads with the overview and tucks the full decision in a disclosure, while the library view leads with the decision. Same markdown rendering — just a different lead block.
Testing
204 Vitest tests pass, build clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EkrekgzMAQko92UkjnXhHL