Repository navigation
copy: use "Donation Button" consistently across UI and docs - #9
Merged
Merged
Conversation
The generator page had mixed product-name copy: the <title>, meta/OG/ Twitter tags said "Donation Button" while the visible <h1> and various docs/test pages said "Pay Button". We go to market as "Donation Button", so make the product-name copy consistent. Changed (user-facing / marketing copy): - index.html <h1>: "Blink Pay Button Generator" -> "Blink Donation Button Generator" - generator.js: embed-snippet comments the user copies + file header - README / MULTILANG-README / ANALYTICS-README / USD-invoice guide headings - *-test.html titles/headings + wordpress snippet comment - package.json description Deliberately NOT changed (code identity / API / legal, not marketing copy): - window.BlinkPayButton API, blink-pay-button-container id, .blink-pay-* classes, js/blink-pay-button.js filename/header + console.error strings - LICENSE copyright attribution - referral=embedded_donation_button analytics value No behavior change; npm test green (86 passing).
5 of 6 tasks
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.
What
The generator page shipped mixed product-name copy. The browser-tab
<title>, meta description, and OG/Twitter share cards already said "Donation Button", but the visible<h1>headline said "Pay Button" — plus several docs and test pages were inconsistent.We go to market as "Donation Button", so this makes the product-name copy consistent everywhere it's user-facing.
Changed (user-facing / marketing copy)
index.html<h1>:Blink Pay Button Generator→Blink Donation Button Generatorjs/generator.js: the embed-snippet comments a user copies (<!-- Blink Donation Button widget/script -->) + file headerREADME.md,MULTILANG-README.md,ANALYTICS-README.md, USD-invoice guide headings*-test.htmltitles/headings +wordpress-test-snippet.htmlcommentpackage.jsondescriptionDeliberately NOT changed (code identity / API / legal — per AGENTS.md guardrails)
window.BlinkPayButton/BlinkPayButton.initblink-pay-button-containerid,.blink-pay-*CSS classesjs/blink-pay-button.jsfilename, header comment, andconsole.errordebug strings (touching the widget file would also trigger a version bump for a non-behavior change)LICENSEcopyright attributionreferral=embedded_donation_buttonanalytics value (data contract)Testing
npm testgreen — 86 passing.Part 1 of 2. Part 2 (username deep-linking, e.g.
/pretyflaco) follows in a separate PR.