merge: correct invite privacy copy

This commit is contained in:
jjbrunton committed 2026-09-06 12:47:48 +01:00
commit a02e9d531b
3 files changed
+9 -2

No files matched your search

@@ -65,6 +65,13 @@ describe('/join/[code] JoinClient', () => {
expect(source).not.toContain('glass-light')
})
it('describes open-answer visibility truthfully', async () => {
const source = await readFile(componentPath, 'utf8')
expect(source).toContain('For open-answer questions, each response can be visible after you have both answered.')
expect(source).not.toContain('Neither of you sees the other’s individual answers.')
})
it('shows a clear fallback message for a malformed invite code', async () => {
const source = await readFile(componentPath, 'utf8')
+1 -1
View File
@@ -124,7 +124,7 @@ export function JoinClient({ code }: { code: string }) {
const storeUnavailableTitle = isOnline ? undefined : 'Reconnect to open the app store.'
const desktopCopy = platform === 'desktop'
? 'Sauci is a phone app. Copy your code, then open this link on your phone or install from the store there.'
: 'They have already answered questions about you two. When you join, you will both see only the things you agree on. Neither of you sees the other’s individual answers.'
: 'They have already answered questions about you two. Join them to discover what you have in common. For open-answer questions, each response can be visible after you have both answered.'
return (
<main className="min-h-screen bg-gradient-to-b from-background-light to-background">
+1 -1
View File
@@ -3,7 +3,7 @@ import { JoinClient } from './JoinClient'
export const metadata: Metadata = {
title: 'Compare answers together on Sauci',
description: 'Copy your invite code, then join Sauci to discover what you both agree on.',
description: 'Copy your invite code, then join Sauci to make shared discoveries together.',
}
export default async function JoinPage({