Skip to content

fix: escape legal page apostrophes - #86

Merged
kanylbullen merged 1 commit into
kanylbullen:mainfrom
JasonColapietro:fix/legal-page-apostrophes
Aug 7, 2026
Merged

kanylbullen merged 1 commit into
kanylbullen:mainfrom
JasonColapietro:fix/legal-page-apostrophes

Conversation

@JasonColapietro

Copy link
Copy Markdown
Contributor

Summary

  • replace unescaped straight apostrophes on the privacy and cookie pages with typographic apostrophes
  • prune the matching obsolete react/no-unescaped-entities suppression entries

Testing

  • focused byte-level assertions for all 20 replacements
  • JSON parse check for eslint-suppressions.json
  • git diff --check

The full ESLint, TypeScript, and build checks could not run locally because dependencies were unavailable and npm registry resolution was blocked; this draft relies on hosted CI for those gates.

Closes #80.

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

@JasonColapietro is attempting to deploy a commit to the molnkontakt Team on Vercel.

A member of the Team first needs to authorize it.

@JasonColapietro
JasonColapietro marked this pull request as ready for review August 6, 2026 11:18

@kanylbullen kanylbullen left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for picking this up. Reviewed and verified locally against dee725d:

  • npx eslint → 0 errors (the 9 remaining warnings all pre-date this branch), so dropping the two eslint-suppressions.json entries was correct: 6 in cookies/page.tsx, 14 in privacy/page.tsx, and no JSX-level straight apostrophes left in either file.
  • npx tsc --noEmit clean, suppressions file still parses, and the remaining react-hooks/set-state-in-effect entries are untouched.
  • The one straight apostrophe still in privacy/page.tsx:7 sits in a JS comment — out of the rule's scope and correctly left alone.

’ over ' is the right call: both pages already use curly double quotes, so the source reads consistently now. Removing baseline entries as the violations get fixed is exactly the workflow #84 set up.

Two bits of context, neither of them on you:

  • CI hadn't run because workflows from first-time contributors need maintainer approval. Approved now.
  • The red Vercel check is the fork-deploy gate ("Authorization required to deploy"), not a code failure, and it isn't a required check — it won't block the merge.

Merging once build-and-smoke is green. Thanks again.

kanylbullen added a commit that referenced this pull request Aug 7, 2026
GitHub withholds secrets from fork-triggered runs, and configuration
variables too, so the two publishable Supabase values arrived empty and
the production server crashed on every request. Playwright then sat
waiting for a webServer that was never coming and failed the required
check after two minutes. PR #86 hit this; every future outside
contribution would have hit it too.

Inline the two values instead. They are publishable credentials that
already ship in the client bundle on every page of split.xuper.fun, so
this discloses nothing that curl would not. SMOKE_SPLIT_KEY stays a
secret — it is a capability link — and the tests that need it already
skip themselves when it is absent, so a fork run gets lint, build and
the smoke tests that do not touch a real split.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kanylbullen

Copy link
Copy Markdown
Owner

Reopening to pick up the CI fix from #88 — a plain re-run would reuse the old workflow file. Nothing wrong with your commit.

@kanylbullen kanylbullen closed this Aug 7, 2026
@kanylbullen kanylbullen reopened this Aug 7, 2026
@kanylbullen
kanylbullen merged commit 543c428 into kanylbullen:main Aug 7, 2026
1 of 3 checks passed
@JasonColapietro
JasonColapietro deleted the fix/legal-page-apostrophes branch September 28, 2026 03:10
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.

Fix the unescaped apostrophes in the legal pages

2 participants