Skip to content

Report HTML: add 'Fix all now' button that jumps to the CTA - #32

Merged
serenakeyitan merged 1 commit into
mainfrom
feat/report-fix-all-button
Jul 8, 2026
Merged

Report HTML: add 'Fix all now' button that jumps to the CTA#32
serenakeyitan merged 1 commit into
mainfrom
feat/report-fix-all-button

Conversation

@serenakeyitan

Copy link
Copy Markdown
Contributor

Refs #31. Mirror of first-tree-website#205 in the S3-hosted report template.

A primary accent-green "Fix all now" button next to "Share this roast". Clicking it scrolls to the end-of-report CTA and pulses it — in-page anchor, no link.

  • report-template.html: new button + FIXALL_LABEL token, id="rc-cta" on the CTA, rc-share-primary + rc-cta-pulse CSS, scroll handler in the inline script.
  • render-report.mjs: fills FIXALL_LABEL (一次全修 / Fix all now).

render-report.test.mjs: 17/17 pass. Rendered the fixture and viewed it in a real browser — button renders green in the share row, click lands the CTA in view.

🤖 Generated with Claude Code

Mirror of the website change in the S3-hosted report template. A primary
accent-green "Fix all now" button next to "Share this roast"; clicking it
scrolls to the end-of-report CTA ("Go back to your conversation…") and
pulses it — in-page anchor, no link.

- report-template.html: new button + FIXALL_LABEL token, id="rc-cta" on the
  CTA, rc-share-primary + rc-cta-pulse CSS, scroll handler in the script.
- render-report.mjs: fills FIXALL_LABEL (一次全修 / Fix all now).

render-report.test.mjs: 17/17 pass. Rendered fixture verified in a real
browser — button green in the share row, click lands the CTA in view.

Refs #31.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@serenakeyitan
serenakeyitan merged commit 824d3de into main Jul 8, 2026
1 check passed
@serenakeyitan
serenakeyitan deleted the feat/report-fix-all-button branch July 8, 2026 02:54
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