Skip to content

Move Copy/Export to top of consensus report; verify markdown parity#20

Merged
msitarzewski merged 1 commit into
mainfrom
feat/consensus-actions-top
Jun 22, 2026
Merged

Move Copy/Export to top of consensus report; verify markdown parity#20
msitarzewski merged 1 commit into
mainfrom
feat/consensus-actions-top

Conversation

@msitarzewski

Copy link
Copy Markdown
Owner

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

  • Action bar moved to the top of the completed consensus report (above the decision/overview text).
  • Export dropdown now opens downward (top-full), uses an opaque surface (--color-surface-solid / --color-surface-hover — no more see-through overlap), and closes on outside-click — matching the shared ExportMenu used 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-prose sets no own font-size, so the text-sm-on-wrapper vs text-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

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
@msitarzewski msitarzewski merged commit 015df5c into main Jun 22, 2026
3 checks passed
@msitarzewski msitarzewski deleted the feat/consensus-actions-top branch June 22, 2026 05:53
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