From f9be66f4c0e6573a63ab51c9b5d883b8d4d2aae2 Mon Sep 17 00:00:00 2001 From: RevealUI Studio <43050008+joshua-v-dev@users.noreply.github.com> Date: Tue, 29 Sep 2026 22:31:59 -0400 Subject: [PATCH] copy: explain example graph and missing-page navigation --- app/App.tsx | 2 +- app/lib/__tests__/honesty.test.ts | 4 ++-- app/lib/honesty.ts | 2 +- app/routes/HomePage.tsx | 2 +- app/routes/NotFoundPage.tsx | 6 +++--- app/routes/__tests__/NotFoundPage.test.tsx | 9 +++++++-- 6 files changed, 15 insertions(+), 10 deletions(-) diff --git a/app/App.tsx b/app/App.tsx index d50d3c8..7795830 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -18,7 +18,7 @@ export function App() { meta: { title: 'RevMind | architecture from your knowledge graph', description: - 'RevMind — architecture from your knowledge graph. A RevealFleet product. Not a public Architecture SKU.', + 'Explore an example knowledge graph and its relationships. RevMind displays demonstration data.', }, }, { diff --git a/app/lib/__tests__/honesty.test.ts b/app/lib/__tests__/honesty.test.ts index 6b09a88..9f5f421 100644 --- a/app/lib/__tests__/honesty.test.ts +++ b/app/lib/__tests__/honesty.test.ts @@ -9,8 +9,8 @@ describe('RevMind honesty', () => { }); it('refuses a public Architecture SKU', () => { - expect(DIAGRAM_HONESTY).toContain('architecture from your knowledge graph'); - expect(DIAGRAM_HONESTY).toContain('not a public Architecture SKU'); + expect(DIAGRAM_HONESTY).toContain('example knowledge graph'); + expect(DIAGRAM_HONESTY).toContain('demonstration data'); }); it('ships a demo snapshot with named nodes', () => { diff --git a/app/lib/honesty.ts b/app/lib/honesty.ts index 8342cea..d36dd68 100644 --- a/app/lib/honesty.ts +++ b/app/lib/honesty.ts @@ -1,6 +1,6 @@ /** Safe honesty line — RevMind is not a public Architecture SKU. */ export const DIAGRAM_HONESTY = - 'architecture from your knowledge graph; not a public Architecture SKU' as const; + 'Explore an example knowledge graph and the relationships it contains. This view uses demonstration data.' as const; export const PRODUCT_NAME = 'RevMind' as const; diff --git a/app/routes/HomePage.tsx b/app/routes/HomePage.tsx index 832c8ce..20b873b 100644 --- a/app/routes/HomePage.tsx +++ b/app/routes/HomePage.tsx @@ -13,7 +13,7 @@ export function HomePage() {

{DIAGRAM_HONESTY}

-

Demo graph

+

Example graph

diff --git a/app/routes/NotFoundPage.tsx b/app/routes/NotFoundPage.tsx index 5c93e91..69d097c 100644 --- a/app/routes/NotFoundPage.tsx +++ b/app/routes/NotFoundPage.tsx @@ -6,13 +6,13 @@ export function NotFoundPage() {

404

- Page not found + This page isn't available.

- The page you are looking for is not here. + Return to the example graph to continue exploring.

- Return home + Return to the example graph
diff --git a/app/routes/__tests__/NotFoundPage.test.tsx b/app/routes/__tests__/NotFoundPage.test.tsx index 49de289..77074f4 100644 --- a/app/routes/__tests__/NotFoundPage.test.tsx +++ b/app/routes/__tests__/NotFoundPage.test.tsx @@ -17,7 +17,12 @@ function renderApp(path: string) { describe('NotFoundPage', () => { it('renders a 404 heading for unknown paths', () => { renderApp('/does-not-exist'); - expect(screen.getByRole('heading', { level: 1, name: 'Page not found' })).toBeInTheDocument(); - expect(screen.getByRole('link', { name: 'Return home' })).toHaveAttribute('href', '/'); + expect( + screen.getByRole('heading', { level: 1, name: "This page isn't available." }), + ).toBeInTheDocument(); + expect(screen.getByRole('link', { name: 'Return to the example graph' })).toHaveAttribute( + 'href', + '/', + ); }); });