From b707439de7f3b704f5befa3ca2144c0c04677ef6 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 27 Aug 2025 22:17:07 +0200 Subject: [PATCH] Rename to Compass (2) --- backend/api/src/helpers/endpoint.ts | 2 +- docs/knowledge.md | 2 +- web/components/SEO.tsx | 4 ++-- web/components/widgets/linkify.tsx | 2 +- web/pages/api/og/lover.tsx | 6 +----- web/pages/messages/[channelId].tsx | 2 +- web/pages/waitlist.tsx | 3 +-- 7 files changed, 8 insertions(+), 13 deletions(-) diff --git a/backend/api/src/helpers/endpoint.ts b/backend/api/src/helpers/endpoint.ts index 54be9775..b34cfaf0 100644 --- a/backend/api/src/helpers/endpoint.ts +++ b/backend/api/src/helpers/endpoint.ts @@ -74,7 +74,7 @@ export const lookupUser = async (creds: Credentials): Promise => { switch (creds.kind) { case 'jwt': { if (typeof creds.data.user_id !== 'string') { - throw new APIError(401, 'JWT must contain Manifold user ID.') + throw new APIError(401, 'JWT must contain user ID.') } return { uid: creds.data.user_id, creds } } diff --git a/docs/knowledge.md b/docs/knowledge.md index 526c3d19..2510662e 100644 --- a/docs/knowledge.md +++ b/docs/knowledge.md @@ -269,7 +269,7 @@ import { runScript } from 'run-script' runScript(async ({ pg }) => { const userPrompt = process.argv[2] // E.g.: - // I want to create a new page which shows off what's happening on manifold right now. Can you use our websocket api to get recent bets on markets and illustrate what's happening in a compelling and useful way? + // I want to create a new page which shows off what's happening right now. Can you use our websocket api to get recent bets on markets and illustrate what's happening in a compelling and useful way? if (!userPrompt) { console.log('Please provide a prompt on what code to change.') return diff --git a/web/components/SEO.tsx b/web/components/SEO.tsx index 6bd4d1b3..39977361 100644 --- a/web/components/SEO.tsx +++ b/web/components/SEO.tsx @@ -16,11 +16,11 @@ export function SEO

>(props: { (ogProps && buildOgUrl(removeUndefinedProps(ogProps.props) as any, ogProps.endpoint)) - const absUrl = 'https://manifold.love' + url + const absUrl = 'https://compassmeet.com' + url return ( - {`${title} | Manifold`} + {`${title} | Compass`} { // TODO: make this more robust against domain changes? if ( href.startsWith('http') && - !href.startsWith(`https://manifold`) // covers manifold.markets and manifold.love + !href.startsWith(`https://compassmeet`) ) return '_blank' return newTab ? '_blank' : '_self' diff --git a/web/pages/api/og/lover.tsx b/web/pages/api/og/lover.tsx index f6c70e55..8a5ecd3e 100644 --- a/web/pages/api/og/lover.tsx +++ b/web/pages/api/og/lover.tsx @@ -96,11 +96,7 @@ function OgLover(props: LoveOgProps) { height={48} /> - manifold - . - - love/{username} - + compassmeet.com/{username} diff --git a/web/pages/messages/[channelId].tsx b/web/pages/messages/[channelId].tsx index 703c8e6d..2c225c2d 100644 --- a/web/pages/messages/[channelId].tsx +++ b/web/pages/messages/[channelId].tsx @@ -116,7 +116,7 @@ export const PrivateChat = (props: { .map((message) => message.userId) ) - // Note: we may have messages from users not in the channel, e.g. a system message from manifold + // Note: we may have messages from users not in the channel, e.g. a system message const otherUsers = useUsersInStore( uniq(messageUserIds.concat(memberIds)), `${channelId}`, diff --git a/web/pages/waitlist.tsx b/web/pages/waitlist.tsx index 08514841..6053f3bd 100644 --- a/web/pages/waitlist.tsx +++ b/web/pages/waitlist.tsx @@ -13,8 +13,7 @@ export default function ManifoldLove() {

- Manifold - .love + CompassMeet.com