Skip to content

feat: legal-page links to kurrentschrift.ink & cite-citadel - #9616

Merged
MarkusNeusinger merged 8 commits into
mainfrom
feat/legal-other-projects
Jul 8, 2026
Merged

feat: legal-page links to kurrentschrift.ink & cite-citadel#9616
MarkusNeusinger merged 8 commits into
mainfrom
feat/legal-other-projects

Conversation

@MarkusNeusinger

@MarkusNeusinger MarkusNeusinger commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds an "other projects" block to the legal page below the disclaimer, cross-linking the maintainer's other projects: kurrentschrift.ink and cite-citadel (GitHub repo — the Pages URL only hosts example wikis). One line per project, tracked as external_link with destinations kurrentschrift / cite_citadel. Deliberately rel="noopener" without noreferrer so the target sites' analytics can attribute the traffic (own sites).
  • Refreshes the stale destination/Where documentation in docs/reference/plausible.md and bumps the legal page's "last updated" stamp.
  • Fixes all react-refresh ESLint warnings: PALETTE/Swatch/Lang/snippet() extracted from PalettePage.tsx into PalettePage.helpers.ts (same pattern as MapPage.helpers.ts), and react-refresh/only-export-components scoped off for test modules (*.test.{ts,tsx}, test-utils.tsx) — they never participate in Fast Refresh. yarn lint is now warning-free.
  • Persists the 2026-07-08 product/UX audit report (agentic/audits/2026-07-08-product-ux.md + latest.md) — 8-auditor workflow run, Health Score 43, critical finding: all crawler UAs receive 502 from the nginx @seo_proxy hop.

Plan

N/A (direct request)

Test plan

  • yarn lint — 0 errors, 0 warnings (previously 3 react-refresh warnings)
  • yarn fm:check, yarn type-check, yarn test — 602 tests green
  • yarn build — Cloud Build parity, passes
  • Browser-verified /legal at 1440×900 and 390×844, light and dark theme: block renders below the disclaimer, each project on one line at desktop width, correct wrap on mobile, no console/network errors
  • After merge: verify links + Plausible external_link events on anyplot.ai/legal

MarkusNeusinger and others added 2 commits July 8, 2026 23:29
New 'other projects' block below the disclaimer in the legal-notice
section, cross-linking the maintainer's other projects. Tracked as
external_link with destinations kurrentschrift / cite_citadel;
deliberately without noreferrer so the target sites' analytics can
attribute the traffic. Also refreshes the stale footer/legal
destination lists in docs/reference/plausible.md and bumps the
legal page's 'last updated' stamp.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PALETTE, Swatch, Lang and snippet() move from PalettePage.tsx to a new
PalettePage.helpers.ts (same pattern as MapPage.helpers.ts), so the
page module only exports the component and Fast Refresh works cleanly.
The react-refresh/only-export-components rule is scoped off for test
modules (*.test.{ts,tsx}, test-utils.tsx) — they never participate in
Fast Refresh, so the rule has no meaning there.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 8, 2026 21:30
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds cross-project outbound links on the /legal page (with Plausible tracking), updates Plausible reference docs + changelog, and removes react-refresh/only-export-components ESLint warnings by extracting non-component exports from PalettePage.tsx and scoping the rule off for test modules.

Changes:

  • Add an “other projects” section to the Legal page with external_link tracking for kurrentschrift and cite_citadel.
  • Extract PALETTE/types and snippet() into PalettePage.helpers.ts and update tests accordingly.
  • Update Plausible destinations documentation and add changelog entries for the feature + lint fix.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/reference/plausible.md Updates documented link destinations / analytics property notes.
CHANGELOG.md Adds Unreleased entries for the legal-page block and ESLint warning fixes.
app/src/pages/PalettePage.tsx Removes non-component exports by importing palette/snippet helpers from a new module.
app/src/pages/PalettePage.snippet.test.ts Updates imports to test snippet() via the new helpers module.
app/src/pages/PalettePage.helpers.ts New helper module containing palette data, types, and snippet() generator.
app/src/pages/LegalPage.tsx Adds the “other projects” block with tracked external links and updates the “last updated” stamp.
app/src/pages/LegalPage.test.tsx Adds coverage for the new links and their analytics tracking.
app/eslint.config.js Disables react-refresh/only-export-components for test modules.

Comment thread docs/reference/plausible.md Outdated
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Copilot AI review requested due to automatic review settings July 8, 2026 21:39
MarkusNeusinger and others added 2 commits July 8, 2026 23:40
Review feedback (Copilot): the destination property list carried stale
values (plausible, stats, compare, mcp) and missed active ones. Now
lists the values actually emitted in app/src, with a pointer to the
authoritative grep.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The GitHub Pages URL only hosts example wikis; the repo README is the
project's actual entry point.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Comment thread docs/reference/plausible.md Outdated
Copilot AI review requested due to automatic review settings July 8, 2026 21:46
8-auditor workflow run (llm-pipeline, frontend, design, pagespeed,
backend, seo, plausible, catalog) with domain-routed cross-validation
of all high-severity findings. Health Score 43; critical finding: all
crawler UAs receive 502 from the nginx @seo_proxy hop.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Comment thread docs/reference/plausible.md Outdated
Comment thread docs/reference/plausible.md Outdated
Comment thread app/src/pages/LegalPage.tsx
Comment thread app/src/pages/LegalPage.test.tsx
Copilot AI review requested due to automatic review settings July 8, 2026 21:51
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

>
kurrentschrift.ink
</Link>{' '}
— read and write old german cursive
>
cite-citadel
</Link>{' '}
— llm-maintained, fully-cited personal wiki
— read and write old german cursive
<br />
<Link
href="https://github.com/MarkusNeusinger/cite-citadel"
Comment thread docs/reference/plausible.md Outdated
Comment on lines 187 to 188
| `external_link` | `destination`, `spec`?, `library`? | Footer.tsx, LegalPage.tsx | User clicks external link |
| `internal_link` | `destination`, `spec`?, `library`? | Footer.tsx | User clicks internal link in footer |
Copilot AI review requested due to automatic review settings July 8, 2026 21:57
@MarkusNeusinger
MarkusNeusinger merged commit 73b7e1a into main Jul 8, 2026
10 checks passed
@MarkusNeusinger
MarkusNeusinger deleted the feat/legal-other-projects branch July 8, 2026 21:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Comment on lines +187 to +188
| `external_link` | `destination`, `spec`?, `library`? | Footer.tsx, LegalPage.tsx, AboutPage.tsx, LibrariesPage.tsx, SectionHeader.tsx | User clicks external link |
| `internal_link` | `destination`, `spec`?, `library`? | Footer.tsx, AboutPage.tsx | User clicks internal link |
| `value` | Filter value | `random_filter`, `filter_remove`, `tag_click` |
| `query` | Search query text | `search`, `search_no_results` |
| `destination` | Link target (github, plausible, stats, compare, linkedin, mcp, legal) | `external_link`, `internal_link` |
| `destination` | Link-target slug — external: `github`, `github_issue_chooser`, `github_personal`, `github_bug`, `github_discussions`, `github_plot_request`, `github_releases`, `linkedin`, `x`, `kurrentschrift`, `cite_citadel`, `library_docs`; internal: `about`, `legal`, `legal_transparency`, `palette`. `SectionHeader` external links emit the target **hostname** instead (e.g. `plausible.io`). Grep `destination:` in `app/src` for the authoritative list. | `external_link`, `internal_link` |
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.

2 participants