AI-native design editor. Open-source Figma alternative.
feat(settings): offer the OpenPencil Cloud waitlist in Storage settings (#1111)
Danila Poyarkov69a26d62e260
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex bd4db1f73..791d1bb39 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,7 @@### Added+- Settings → Cloud storage offers the OpenPencil Cloud waitlist: the web app signs you up there, with a confirmation email, and the desktop app opens the sign-up on openpencil.dev.- Drop design token files, `.tokens`, `.tokens.json`, or `.resolver.json`, on the editor to import them into the document's variables, as the Variables dialog's Import button does.### Changeddiff --git a/packages/feedback/.dev.vars.example b/packages/feedback/.dev.vars.exampleindex 448c2a445..0c0d0caa5 100644--- a/packages/feedback/.dev.vars.example+++ b/packages/feedback/.dev.vars.example@@ -1,4 +1,4 @@POSTHOG_KEY=phc_development# Cloudflare's Turnstile test secret, which accepts every token and reports example.com.TURNSTILE_SECRET=1x0000000000000000000000000000000AA-TURNSTILE_HOSTNAME=example.com+TURNSTILE_HOSTNAMES=example.comdiff --git a/packages/feedback/README.md b/packages/feedback/README.mdindex 8619358ef..471880da4 100644--- a/packages/feedback/README.md+++ b/packages/feedback/README.md@@ -6,7 +6,7 @@ The Cloudflare Worker behind `feedback.openpencil.dev`. It is operated by the Op| --- | --- | --- || `POST /ping` | The daily anonymous ping. | One counter per day and build (version, OS, architecture, desktop or web, browser family). Nothing per install, no addresses. || `POST /ingest` | Opt-in usage stats, forwarded to PostHog EU. Refuses any event or property not in `src/contract`. | Nothing. PostHog gets no client address, person profile, or GeoIP. |-| `POST /waitlist` | OpenPencil Cloud waitlist sign-ups from the website, checked by Turnstile and confirmed by email. | The address and optional note; unconfirmed sign-ups are removed after seven days. |+| `POST /waitlist` | OpenPencil Cloud waitlist sign-ups from the website and the web app's Settings, checked by Turnstile and confirmed by email. | The address and optional note; unconfirmed sign-ups are removed after seven days. |`@open-pencil/feedback/contract` holds the request schemas and the event list, and `@open-pencil/feedback/client` is a client typed by the Worker's routes (`hc<FeedbackAPI>`). The app sends through that client and the privacy page renders its tables from the contract, so the documented, sent, and accepted data cannot drift apart.@@ -27,5 +27,5 @@ Done once on the Cloudflare account; `.github/workflows/feedback.yml` deploys ev1. `bunx wrangler d1 create feedback --jurisdiction eu` and put the database ID in `wrangler.jsonc` (done for the production database).2. Onboard `openpencil.dev` to Email Service so `[email protected]` can send. Sending to addresses outside the account needs the Workers Paid plan; send one confirmation to an outside address before announcing the waitlist.-3. Create a Turnstile widget for `openpencil.dev` (its public site key is `TURNSTILE_SITE_KEY` in the contract; the form gives it the `waitlist` action), then `bunx wrangler secret put TURNSTILE_SECRET`.+3. Create a Turnstile widget for `openpencil.dev` and `app.openpencil.dev`, the hostnames in `TURNSTILE_HOSTNAMES` (its public site key is `TURNSTILE_SITE_KEY` in the contract; the form gives it the `waitlist` action), then `bunx wrangler secret put TURNSTILE_SECRET`.4. Create a PostHog EU project with "Discard client IP data" on and data retention at 12 months, as the privacy page promises, then `bunx wrangler secret put POSTHOG_KEY` with its project key.diff --git a/packages/feedback/src/env.ts b/packages/feedback/src/env.tsindex 2f85025ce..af3abc03d 100644--- a/packages/feedback/src/env.ts+++ b/packages/feedback/src/env.ts@@ -15,7 +15,8 @@ export interface FeedbackBindings {POSTHOG_HOST: stringPOSTHOG_KEY: stringEMAIL_FROM: string- TURNSTILE_HOSTNAME: string+ /** The sites whose Turnstile passes a sign-up accepts, separated by commas. */+ TURNSTILE_HOSTNAMES: stringTURNSTILE_SECRET: string}diff --git a/packages/feedback/src/waitlist/route.ts b/packages/feedback/src/waitlist/route.tsindex 38df0972b..5cb45d6ab 100644--- a/packages/feedback/src/waitlist/route.ts+++ b/packages/feedback/src/waitlist/route.ts@@ -48,7 +48,7 @@ export function waitlistRoutes(services: FeedbackServices) {const human = await verifyTurnstile(services.fetch, {secret: c.env.TURNSTILE_SECRET,token: signup.turnstileToken,- hostname: c.env.TURNSTILE_HOSTNAME,+ hostnames: c.env.TURNSTILE_HOSTNAMES.split(',').map((hostname) => hostname.trim()),action: WAITLIST_TURNSTILE_ACTION})if (!human) return c.body(null, 403)diff --git a/packages/feedback/src/waitlist/turnstile.ts b/packages/feedback/src/waitlist/turnstile.tsindex b3adead3a..39268f710 100644--- a/packages/feedback/src/waitlist/turnstile.ts+++ b/packages/feedback/src/waitlist/turnstile.ts@@ -11,7 +11,7 @@ const SiteverifySchema = v.object({})/**- * Whether Turnstile accepts the token as one issued on our site for `action`. Anything else,+ * Whether Turnstile accepts the token as one issued on one of our `hostnames` for `action`. Anything else,* including an unreachable or slow Turnstile, refuses. The client address is optional to* Turnstile and is not sent. Turnstile itself rejects a token used twice.*/@@ -20,9 +20,9 @@ export async function verifyTurnstile({secret,token,- hostname,+ hostnames,action- }: { secret: string; token: string; hostname: string; action: string }+ }: { secret: string; token: string; hostnames: readonly string[]; action: string }): Promise<boolean> {const response = await fetcher(SITEVERIFY_URL, {method: 'POST',@@ -38,7 +38,7 @@ export async function verifyTurnstile(return (result.success &&result.output.success &&- result.output.hostname === hostname &&+ hostnames.some((hostname) => hostname === result.output.hostname) &&result.output.action === action)}diff --git a/packages/feedback/tests/harness.ts b/packages/feedback/tests/harness.tsindex aac7780d8..cf99934f0 100644--- a/packages/feedback/tests/harness.ts+++ b/packages/feedback/tests/harness.ts@@ -59,7 +59,7 @@ export async function createTestService() {POSTHOG_HOST: 'https://eu.i.posthog.com',POSTHOG_KEY: 'phc_test',TURNSTILE_SECRET: 'turnstile-secret',- TURNSTILE_HOSTNAME: 'openpencil.dev',+ TURNSTILE_HOSTNAMES: 'openpencil.dev,app.openpencil.dev',EMAIL_FROM: '[email protected]',PING_LIMITER: limiters.ping,INGEST_LIMITER: limiters.ingest,diff --git a/packages/feedback/tests/waitlist.test.ts b/packages/feedback/tests/waitlist.test.tsindex 8de6d1db6..e821319a5 100644--- a/packages/feedback/tests/waitlist.test.ts+++ b/packages/feedback/tests/waitlist.test.ts@@ -121,6 +121,12 @@ describe('waitlist', () => {expect(await rows()).toEqual([])})+ test('accepts a Turnstile pass issued on the web app', async () => {+ turnstile({ success: true, hostname: 'app.openpencil.dev', action: 'waitlist' })++ expect((await service.postJSON('/waitlist', SIGNUP)).status).toBe(202)+ })+test('refuses a Turnstile pass issued for another site', async () => {turnstile({ success: true, hostname: 'example.com', action: 'waitlist' })diff --git a/packages/feedback/worker-configuration.d.ts b/packages/feedback/worker-configuration.d.tsindex e9e73a85c..1f3703057 100644--- a/packages/feedback/worker-configuration.d.ts+++ b/packages/feedback/worker-configuration.d.ts@@ -1,5 +1,5 @@/* eslint-disable */-// Generated by Wrangler by running `wrangler types --include-runtime=false` (hash: 843ed7462cb0c3bd285237880953fadc)+// Generated by Wrangler by running `wrangler types --include-runtime=false` (hash: d8d43b461a15bf47e1b2c7555a4a6760)interface __BaseEnv_Env {DB: D1Database;EMAIL: SendEmail;@@ -8,7 +8,7 @@ interface __BaseEnv_Env {WAITLIST_LIMITER: RateLimit;POSTHOG_HOST: "https://eu.i.posthog.com";EMAIL_FROM: "[email protected]";- TURNSTILE_HOSTNAME: "openpencil.dev";+ TURNSTILE_HOSTNAMES: "openpencil.dev,app.openpencil.dev";POSTHOG_KEY: string;TURNSTILE_SECRET: string;}@@ -23,7 +23,7 @@ type StringifyValues<EnvType extends Record<string, unknown>> = {[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;};declare namespace NodeJS {- interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "POSTHOG_HOST" | "EMAIL_FROM" | "TURNSTILE_HOSTNAME" | "POSTHOG_KEY" | "TURNSTILE_SECRET">> {}+ interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "POSTHOG_HOST" | "EMAIL_FROM" | "TURNSTILE_HOSTNAMES" | "POSTHOG_KEY" | "TURNSTILE_SECRET">> {}}declare module "*.txt" {const value: string;diff --git a/packages/feedback/wrangler.jsonc b/packages/feedback/wrangler.jsoncindex ad6f7f85f..296db4bf4 100644--- a/packages/feedback/wrangler.jsonc+++ b/packages/feedback/wrangler.jsonc@@ -9,7 +9,8 @@"vars": {"POSTHOG_HOST": "https://eu.i.posthog.com","EMAIL_FROM": "[email protected]",- "TURNSTILE_HOSTNAME": "openpencil.dev"+ // The website's form and the web app's Settings; the desktop app opens the website.+ "TURNSTILE_HOSTNAMES": "openpencil.dev,app.openpencil.dev"},// Created with `wrangler d1 create feedback --jurisdiction eu`, so rows stay in the EU."d1_databases": [diff --git a/packages/vue/src/i18n/locales/de/storage.json b/packages/vue/src/i18n/locales/de/storage.jsonindex a5365208a..4206138b6 100644--- a/packages/vue/src/i18n/locales/de/storage.json+++ b/packages/vue/src/i18n/locales/de/storage.json@@ -15,5 +15,19 @@"bucket": "Bucket","region": "Region","accessKeyID": "Zugriffsschlüssel-ID",- "secretAccessKey": "Geheimer Zugriffsschlüssel"+ "secretAccessKey": "Geheimer Zugriffsschlüssel",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "Der Arbeitsbereich deines Teams, für dich gehostet: Live-Synchronisierung, Freigabelinks, Team-Bibliotheken und gehostete KI, ganz ohne eigenen Bucket. Trag dich in die Warteliste ein, und wir schreiben dir, sobald es losgeht.",+ "waitlistEmail": "E-Mail-Adresse",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "Auf die Warteliste",+ "waitlistConfirmHuman": "Bestätige, dass du ein Mensch bist",+ "waitlistInvalid": "Gib eine gültige E-Mail-Adresse ein.",+ "waitlistJoined": "Schau in dein Postfach",+ "waitlistJoinedDetail": "Öffne den Link, den wir dir geschickt haben, um deine Adresse zu bestätigen. Wir schreiben dir nur zu OpenPencil Cloud.",+ "waitlistRefused": "Wir konnten nicht bestätigen, dass du kein Bot bist. Versuch es noch einmal.",+ "waitlistLimited": "Zu viele Versuche. Versuch es in einer Minute noch einmal.",+ "waitlistFailed": "Die Warteliste ist nicht erreichbar. Prüfe deine Verbindung und versuch es noch einmal.",+ "waitlistUnavailable": "Von hier aus ist die Anmeldung nicht möglich. Trag dich auf openpencil.dev ein.",+ "waitlistOpenWebsite": "Auf openpencil.dev eintragen"}diff --git a/packages/vue/src/i18n/locales/es/storage.json b/packages/vue/src/i18n/locales/es/storage.jsonindex 0e467b5cf..b76f1334b 100644--- a/packages/vue/src/i18n/locales/es/storage.json+++ b/packages/vue/src/i18n/locales/es/storage.json@@ -15,5 +15,19 @@"bucket": "Bucket","region": "Región","accessKeyID": "ID de clave de acceso",- "secretAccessKey": "Clave de acceso secreta"+ "secretAccessKey": "Clave de acceso secreta",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "El espacio de trabajo de tu equipo, alojado por nosotros: sincronización en vivo, enlaces para compartir, bibliotecas de equipo e IA alojada, sin bucket que configurar. Únete a la lista de espera y te escribiremos cuando abra.",+ "waitlistEmail": "Correo electrónico",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "Unirse a la lista de espera",+ "waitlistConfirmHuman": "Confirma que eres humano",+ "waitlistInvalid": "Introduce un correo electrónico válido.",+ "waitlistJoined": "Revisa tu bandeja de entrada",+ "waitlistJoinedDetail": "Abre el enlace que te enviamos para confirmar tu dirección. Solo te escribiremos sobre OpenPencil Cloud.",+ "waitlistRefused": "No pudimos confirmar que no eres un bot. Inténtalo de nuevo.",+ "waitlistLimited": "Demasiados intentos. Inténtalo de nuevo en un minuto.",+ "waitlistFailed": "No se pudo contactar con la lista de espera. Comprueba tu conexión e inténtalo de nuevo.",+ "waitlistUnavailable": "No puedes unirte desde aquí. Únete en openpencil.dev.",+ "waitlistOpenWebsite": "Unirse en openpencil.dev"}diff --git a/packages/vue/src/i18n/locales/fr/storage.json b/packages/vue/src/i18n/locales/fr/storage.jsonindex 5efb6596e..7911547af 100644--- a/packages/vue/src/i18n/locales/fr/storage.json+++ b/packages/vue/src/i18n/locales/fr/storage.json@@ -15,5 +15,19 @@"bucket": "Bucket","region": "Région","accessKeyID": "ID de clé d’accès",- "secretAccessKey": "Clé d’accès secrète"+ "secretAccessKey": "Clé d’accès secrète",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "L’espace de travail de votre équipe, hébergé pour vous : synchronisation en direct, liens de partage, bibliothèques d’équipe et IA hébergée, sans bucket à configurer. Inscrivez-vous sur la liste d’attente et nous vous écrirons à l’ouverture.",+ "waitlistEmail": "Adresse e-mail",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "Rejoindre la liste d’attente",+ "waitlistConfirmHuman": "Confirmez que vous êtes humain",+ "waitlistInvalid": "Saisissez une adresse e-mail valide.",+ "waitlistJoined": "Consultez votre boîte de réception",+ "waitlistJoinedDetail": "Ouvrez le lien que nous vous avons envoyé pour confirmer votre adresse. Nous ne vous écrirons qu’au sujet d’OpenPencil Cloud.",+ "waitlistRefused": "Nous n’avons pas pu confirmer que vous n’êtes pas un robot. Réessayez.",+ "waitlistLimited": "Trop de tentatives. Réessayez dans une minute.",+ "waitlistFailed": "Impossible de joindre la liste d’attente. Vérifiez votre connexion et réessayez.",+ "waitlistUnavailable": "Vous ne pouvez pas vous inscrire d’ici. Inscrivez-vous sur openpencil.dev.",+ "waitlistOpenWebsite": "S’inscrire sur openpencil.dev"}diff --git a/packages/vue/src/i18n/locales/it/storage.json b/packages/vue/src/i18n/locales/it/storage.jsonindex 78ce60413..aa197261e 100644--- a/packages/vue/src/i18n/locales/it/storage.json+++ b/packages/vue/src/i18n/locales/it/storage.json@@ -15,5 +15,19 @@"bucket": "Bucket","region": "Regione","accessKeyID": "ID chiave di accesso",- "secretAccessKey": "Chiave di accesso segreta"+ "secretAccessKey": "Chiave di accesso segreta",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "Lo spazio di lavoro del tuo team, ospitato per te: sincronizzazione dal vivo, link di condivisione, librerie di team e IA ospitata, senza bucket da configurare. Iscriviti alla lista d’attesa e ti scriveremo quando apre.",+ "waitlistEmail": "Indirizzo email",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "Iscriviti alla lista d’attesa",+ "waitlistConfirmHuman": "Conferma di essere umano",+ "waitlistInvalid": "Inserisci un indirizzo email valido.",+ "waitlistJoined": "Controlla la posta",+ "waitlistJoinedDetail": "Apri il link che ti abbiamo inviato per confermare l’indirizzo. Ti scriveremo solo per OpenPencil Cloud.",+ "waitlistRefused": "Non siamo riusciti a confermare che non sei un bot. Riprova.",+ "waitlistLimited": "Troppi tentativi. Riprova tra un minuto.",+ "waitlistFailed": "Impossibile raggiungere la lista d’attesa. Controlla la connessione e riprova.",+ "waitlistUnavailable": "Non puoi iscriverti da qui. Iscriviti su openpencil.dev.",+ "waitlistOpenWebsite": "Iscriviti su openpencil.dev"}diff --git a/packages/vue/src/i18n/locales/ja/storage.json b/packages/vue/src/i18n/locales/ja/storage.jsonindex e9844b6c7..ea8edaaff 100644--- a/packages/vue/src/i18n/locales/ja/storage.json+++ b/packages/vue/src/i18n/locales/ja/storage.json@@ -15,5 +15,19 @@"bucket": "バケット","region": "リージョン","accessKeyID": "アクセスキー ID",- "secretAccessKey": "シークレットアクセスキー"+ "secretAccessKey": "シークレットアクセスキー",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "チームのワークスペースをホスティングで。ライブ同期、共有リンク、チームライブラリ、ホスト型 AI を、バケットの設定なしで使えます。ウェイトリストに登録すると、公開時にメールでお知らせします。",+ "waitlistEmail": "メールアドレス",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "ウェイトリストに登録",+ "waitlistConfirmHuman": "人間であることを確認してください",+ "waitlistInvalid": "有効なメールアドレスを入力してください。",+ "waitlistJoined": "受信トレイを確認してください",+ "waitlistJoinedDetail": "送信したリンクを開いてアドレスを確認してください。OpenPencil Cloud に関するメールのみお送りします。",+ "waitlistRefused": "ボットでないことを確認できませんでした。もう一度お試しください。",+ "waitlistLimited": "試行回数が多すぎます。1 分後にもう一度お試しください。",+ "waitlistFailed": "ウェイトリストに接続できませんでした。接続を確認して、もう一度お試しください。",+ "waitlistUnavailable": "ここからは登録できません。openpencil.dev で登録してください。",+ "waitlistOpenWebsite": "openpencil.dev で登録"}diff --git a/packages/vue/src/i18n/locales/pl/storage.json b/packages/vue/src/i18n/locales/pl/storage.jsonindex 3a5ca5d2f..a38b35dc3 100644--- a/packages/vue/src/i18n/locales/pl/storage.json+++ b/packages/vue/src/i18n/locales/pl/storage.json@@ -15,5 +15,19 @@"bucket": "Zasobnik","region": "Region","accessKeyID": "Identyfikator klucza dostępu",- "secretAccessKey": "Tajny klucz dostępu"+ "secretAccessKey": "Tajny klucz dostępu",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "Przestrzeń robocza Twojego zespołu, hostowana za Ciebie: synchronizacja na żywo, linki do udostępniania, biblioteki zespołu i hostowana AI, bez konfigurowania bucketu. Zapisz się na listę oczekujących, a napiszemy, gdy wystartujemy.",+ "waitlistEmail": "Adres e-mail",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "Zapisz się na listę",+ "waitlistConfirmHuman": "Potwierdź, że jesteś człowiekiem",+ "waitlistInvalid": "Wpisz poprawny adres e-mail.",+ "waitlistJoined": "Sprawdź skrzynkę",+ "waitlistJoinedDetail": "Otwórz link, który wysłaliśmy, aby potwierdzić adres. Piszemy tylko w sprawie OpenPencil Cloud.",+ "waitlistRefused": "Nie udało się potwierdzić, że nie jesteś botem. Spróbuj ponownie.",+ "waitlistLimited": "Zbyt wiele prób. Spróbuj ponownie za minutę.",+ "waitlistFailed": "Nie udało się połączyć z listą oczekujących. Sprawdź połączenie i spróbuj ponownie.",+ "waitlistUnavailable": "Stąd nie można się zapisać. Zapisz się na openpencil.dev.",+ "waitlistOpenWebsite": "Zapisz się na openpencil.dev"}diff --git a/packages/vue/src/i18n/locales/ru/storage.json b/packages/vue/src/i18n/locales/ru/storage.jsonindex 8636429bb..9e1556da9 100644--- a/packages/vue/src/i18n/locales/ru/storage.json+++ b/packages/vue/src/i18n/locales/ru/storage.json@@ -15,5 +15,19 @@"bucket": "Бакет","region": "Регион","accessKeyID": "Идентификатор ключа доступа",- "secretAccessKey": "Секретный ключ доступа"+ "secretAccessKey": "Секретный ключ доступа",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "Рабочее пространство вашей команды на нашем хостинге: живая синхронизация, ссылки для доступа, командные библиотеки и ИИ без своих ключей, и никакого бакета настраивать не нужно. Запишитесь в лист ожидания, и мы напишем, когда откроемся.",+ "waitlistEmail": "Адрес электронной почты",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "Записаться в лист ожидания",+ "waitlistConfirmHuman": "Подтвердите, что вы человек",+ "waitlistInvalid": "Введите корректный адрес электронной почты.",+ "waitlistJoined": "Проверьте почту",+ "waitlistJoinedDetail": "Откройте ссылку из письма, чтобы подтвердить адрес. Мы пишем только об OpenPencil Cloud.",+ "waitlistRefused": "Не удалось подтвердить, что вы не бот. Попробуйте ещё раз.",+ "waitlistLimited": "Слишком много попыток. Попробуйте через минуту.",+ "waitlistFailed": "Не удалось связаться с листом ожидания. Проверьте подключение и попробуйте ещё раз.",+ "waitlistUnavailable": "Отсюда записаться нельзя. Запишитесь на openpencil.dev.",+ "waitlistOpenWebsite": "Записаться на openpencil.dev"}diff --git a/packages/vue/src/i18n/locales/zh-cn/storage.json b/packages/vue/src/i18n/locales/zh-cn/storage.jsonindex 1cb99c560..b50af2572 100644--- a/packages/vue/src/i18n/locales/zh-cn/storage.json+++ b/packages/vue/src/i18n/locales/zh-cn/storage.json@@ -15,5 +15,19 @@"bucket": "存储桶","region": "区域","accessKeyID": "访问密钥 ID",- "secretAccessKey": "机密访问密钥"+ "secretAccessKey": "机密访问密钥",+ "cloudTitle": "OpenPencil Cloud",+ "cloudDescription": "为你托管的团队工作区:实时同步、分享链接、团队库和托管 AI,无需配置存储桶。加入等候名单,开放时我们会发邮件通知你。",+ "waitlistEmail": "电子邮件地址",+ "waitlistPlaceholder": "[email protected]",+ "waitlistJoin": "加入等候名单",+ "waitlistConfirmHuman": "请确认你是真人",+ "waitlistInvalid": "请输入有效的电子邮件地址。",+ "waitlistJoined": "请查收邮件",+ "waitlistJoinedDetail": "打开我们发送的链接以确认你的地址。我们只会就 OpenPencil Cloud 给你发邮件。",+ "waitlistRefused": "无法确认你不是机器人。请重试。",+ "waitlistLimited": "尝试次数过多。请一分钟后重试。",+ "waitlistFailed": "无法连接等候名单。请检查网络连接后重试。",+ "waitlistUnavailable": "无法在这里加入。请前往 openpencil.dev 加入。",+ "waitlistOpenWebsite": "前往 openpencil.dev 加入"}diff --git a/packages/vue/src/i18n/messages/storage.ts b/packages/vue/src/i18n/messages/storage.tsindex 09b0aa723..2c100bff2 100644--- a/packages/vue/src/i18n/messages/storage.ts+++ b/packages/vue/src/i18n/messages/storage.ts@@ -17,7 +17,23 @@ export const storageMessageDefaults = {bucket: 'Bucket',region: 'Region',accessKeyID: 'Access key ID',- secretAccessKey: 'Secret access key'+ secretAccessKey: 'Secret access key',+ cloudTitle: 'OpenPencil Cloud',+ cloudDescription:+ 'Your team’s workspace, hosted for you: live sync, share links, team libraries, and hosted AI, with no bucket to set up. Join the waitlist and we’ll email you when it opens.',+ waitlistEmail: 'Email address',+ waitlistPlaceholder: '[email protected]',+ waitlistJoin: 'Join the waitlist',+ waitlistConfirmHuman: 'Confirm you’re human',+ waitlistInvalid: 'Enter a valid email address.',+ waitlistJoined: 'Check your inbox',+ waitlistJoinedDetail:+ 'Open the link we sent to confirm your address. We only email you about OpenPencil Cloud.',+ waitlistRefused: 'We couldn’t confirm you’re not a bot. Try again.',+ waitlistLimited: 'Too many attempts. Try again in a minute.',+ waitlistFailed: 'Couldn’t reach the waitlist. Check your connection and try again.',+ waitlistUnavailable: 'You can’t join from here. Join on openpencil.dev instead.',+ waitlistOpenWebsite: 'Join on openpencil.dev'} as constexport const storageMessages = i18n('storage', storageMessageDefaults)diff --git a/src/app/cloud/waitlist/signup.ts b/src/app/cloud/waitlist/signup.tsnew file mode 100644index 000000000..c7bfbeb46--- /dev/null+++ b/src/app/cloud/waitlist/signup.ts@@ -0,0 +1,76 @@+import * as v from 'valibot'+import { computed, ref, type Ref } from 'vue'++import type { FeedbackClient } from '@open-pencil/feedback/client'+import { WaitlistSignupSchema, type WaitlistSignup } from '@open-pencil/feedback/contract'++import { feedback } from '@/app/feedback/client'++import { useTurnstile } from './turnstile'++/** What became of one sign-up the feedback service was sent. */+export type WaitlistOutcome = 'joined' | 'invalid' | 'refused' | 'limited' | 'failed'++/**+ * Sends a sign-up to the OpenPencil Cloud waitlist. The service answers every accepted sign-up+ * alike and emails a link to confirm it, so `joined` means "check your inbox", whether or not+ * the address was already on the list.+ */+export async function joinWaitlist(+ signup: WaitlistSignup,+ client: FeedbackClient = feedback+): Promise<WaitlistOutcome> {+ const response = await client.waitlist.$post({ json: signup }).catch(() => null)+ if (!response) return 'failed'+ // The route types its own answers; validation (400) and the rate limit (429) come from the+ // middleware in front of it, so the status is compared as the number it is.+ const status: number = response.status+ if (status === 202) return 'joined'+ if (status === 400) return 'invalid'+ if (status === 403) return 'refused'+ if (status === 429) return 'limited'+ return 'failed'+}++export type WaitlistStatus = WaitlistOutcome | 'idle' | 'submitting' | 'unavailable'++/** The address checked as the service checks it, so the form refuses what the service would. */+const EmailSchema = WaitlistSignupSchema.entries.email++/**+ * One waitlist form: its address, Turnstile in `turnstileContainer`, and the outcome of the last+ * attempt. Every surface that offers the waitlist renders its own form around this, so the+ * website and Settings send and report sign-ups the same way.+ */+export function useWaitlistSignup(turnstileContainer: Readonly<Ref<HTMLElement | null>>) {+ const email = ref('')+ const status = ref<WaitlistStatus>('idle')+ const submitting = computed(() => status.value === 'submitting')+ const turnstile = useTurnstile(turnstileContainer)+ /** A sign-up waits on the visitor to tick Turnstile's check, which the form says rather than spin. */+ const confirming = computed(() => submitting.value && turnstile.state.value === 'asking')++ /** Editing after a refused attempt clears the complaint until the next one. */+ function edit(): void {+ if (status.value !== 'joined' && status.value !== 'submitting') status.value = 'idle'+ }++ async function submit(): Promise<void> {+ if (submitting.value) return+ const parsed = v.safeParse(EmailSchema, email.value)+ if (!parsed.success) {+ status.value = 'invalid'+ return+ }+ status.value = 'submitting'+ const turnstileToken = await turnstile.nextToken()+ if (!turnstileToken) {+ status.value = 'unavailable'+ return+ }+ status.value = await joinWaitlist({ email: parsed.output, turnstileToken })+ turnstile.spend()+ }++ return { email, status, submitting, confirming, edit, submit }+}diff --git a/src/app/cloud/waitlist/turnstile.ts b/src/app/cloud/waitlist/turnstile.tsnew file mode 100644index 000000000..fd48e515a--- /dev/null+++ b/src/app/cloud/waitlist/turnstile.ts@@ -0,0 +1,154 @@+import { useIntersectionObserver, useResizeObserver, useScriptTag } from '@vueuse/core'+import { onScopeDispose, ref, type Ref } from 'vue'++import { TURNSTILE_SITE_KEY, WAITLIST_TURNSTILE_ACTION } from '@open-pencil/feedback/contract'++/** The part of Cloudflare Turnstile's explicit-render API the waitlist form uses. */+export interface TurnstileAPI {+ render(container: HTMLElement, options: TurnstileOptions): string | undefined+ reset(widgetId: string): void+ remove(widgetId: string): void+}++interface TurnstileOptions {+ sitekey: string+ action: string+ appearance: 'always' | 'execute' | 'interaction-only'+ theme: 'auto' | 'light' | 'dark'+ callback(token: string): void+ 'expired-callback'(): void+ /** Called before Turnstile shows a check the visitor must click. */+ 'before-interactive-callback'(): void+ /** Called once that check is done. */+ 'after-interactive-callback'(): void+ /** Returning true tells Turnstile the error is handled, so it does not throw. */+ 'error-callback'(): boolean+}++const TURNSTILE_SCRIPT = 'https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit'++/**+ * `waiting` until Turnstile issues a token, `asking` while it shows a check the visitor must+ * click, `ready` with a token, and `unavailable` where it cannot run.+ */+export type TurnstileState = 'waiting' | 'asking' | 'ready' | 'unavailable'++/**+ * Cloudflare Turnstile for a waitlist form, rendered in `container`. The script loads once the+ * form comes into view, or when it is submitted before that, so pages that never show it never+ * fetch it. The widget stays invisible unless Turnstile needs the visitor to click; a sign-up+ * waiting on that click scrolls it into view. It works only on the sites the feedback service+ * accepts; anywhere else, such as a local dev server, it reports `unavailable`.+ */+export function useTurnstile(container: Readonly<Ref<HTMLElement | null>>) {+ const state = ref<TurnstileState>('waiting')+ const token = ref<string | null>(null)+ let widget: string | undefined+ let started = false+ let rendered = false+ let waiting: ((token: string | null) => void)[] = []++ function settle(value: string | null): void {+ for (const resolve of waiting) resolve(value)+ waiting = []+ }++ /** Turnstile cannot run here: every sign-up waiting for a token gets none. */+ function unavailable(): void {+ state.value = 'unavailable'+ settle(null)+ }++ /** Brings the widget into view when a sign-up waits on its check, and only then. */+ function reveal(): void {+ if (waiting.length > 0 && state.value === 'asking') {+ container.value?.scrollIntoView({ block: 'nearest' })+ }+ }++ function render(): void {+ if (rendered) return+ rendered = true+ const api = window.turnstile+ const element = container.value+ if (!api || !element) {+ unavailable()+ return+ }+ widget = api.render(element, {+ sitekey: TURNSTILE_SITE_KEY,+ action: WAITLIST_TURNSTILE_ACTION,+ appearance: 'interaction-only',+ theme: 'auto',+ callback(issued) {+ token.value = issued+ state.value = 'ready'+ settle(issued)+ },+ 'expired-callback'() {+ token.value = null+ state.value = 'waiting'+ },+ 'before-interactive-callback'() {+ state.value = 'asking'+ },+ 'after-interactive-callback'() {+ if (state.value === 'asking') state.value = 'waiting'+ },+ 'error-callback'() {+ unavailable()+ return true+ }+ })+ // A widget that did not render reports no error, so nothing else would answer a sign-up.+ if (widget === undefined) unavailable()+ }++ const { load } = useScriptTag(TURNSTILE_SCRIPT, render, { manual: true })++ /** Loads Turnstile and renders the widget, once. */+ function start(): void {+ if (started) return+ started = true+ stop()+ // A script another form already loaded resolves at once; rendering happens once.+ load().then(render).catch(unavailable)+ }++ const { stop } = useIntersectionObserver(container, (entries) => {+ if (entries.some((entry) => entry.isIntersecting)) start()+ })++ // The check grows as it loads, so it is revealed on every size change rather than once.+ useResizeObserver(container, reveal)++ /**+ * A token for one sign-up: the one held, or the next Turnstile issues; null if it cannot. A+ * form submitted before it came into view starts Turnstile here.+ */+ function nextToken(): Promise<string | null> {+ if (token.value) return Promise.resolve(token.value)+ if (state.value === 'unavailable') return Promise.resolve(null)+ start()+ const next = new Promise<string | null>((resolve) => {+ waiting.push(resolve)+ })+ reveal()+ return next+ }++ /** A token works once: after a sign-up sends it, the widget fetches the next. */+ function spend(): void {+ token.value = null+ if (state.value === 'ready') state.value = 'waiting'+ if (widget !== undefined) window.turnstile?.reset(widget)+ }++ onScopeDispose(() => {+ stop()+ if (widget !== undefined) window.turnstile?.remove(widget)+ settle(null)+ })++ return { state, nextToken, spend }+}diff --git a/src/app/feedback/client.ts b/src/app/feedback/client.tsnew file mode 100644index 000000000..522740f79--- /dev/null+++ b/src/app/feedback/client.ts@@ -0,0 +1,9 @@+import { createFeedbackClient } from '@open-pencil/feedback/client'++/**+ * The app's one client for the feedback service: pings, usage stats, and Cloud waitlist sign-ups.+ * It holds the browser's own `fetch`, taken when the app loads. Core's web-font loader swaps the+ * global `fetch` while providers load and refuses hosts other than font CDNs, which would drop a+ * ping sent at startup (`browser-fetch.ts` takes it the same way).+ */+export const feedback = createFeedbackClient({ fetch: globalThis.fetch.bind(globalThis) })diff --git a/src/app/telemetry/instance.ts b/src/app/telemetry/instance.tsindex d117dbe0e..535f4b303 100644--- a/src/app/telemetry/instance.ts+++ b/src/app/telemetry/instance.ts@@ -1,5 +1,4 @@-import { createFeedbackClient } from '@open-pencil/feedback/client'-+import { feedback } from '@/app/feedback/client'import { appPreferences } from '@/app/settings/preferences/store'import { currentBuild } from './build'@@ -7,13 +6,6 @@ import { createSharingClient } from './client'import { FEEDBACK_ENABLED } from './config'import { sharingDisabledByEnvironment, sharingState } from './state'-/**- * The browser's own `fetch`, taken when the app loads. Core's web-font loader swaps the global- * `fetch` while providers load and refuses hosts other than font CDNs, which would drop a ping- * sent at startup (`browser-fetch.ts` takes it the same way).- */-const feedback = createFeedbackClient({ fetch: globalThis.fetch.bind(globalThis) })-async function accepted(request: Promise<Response>): Promise<boolean> {const response = await request.catch(() => null)return response?.ok ?? falsediff --git a/src/components/settings/storage/CloudWaitlistSection.vue b/src/components/settings/storage/CloudWaitlistSection.vuenew file mode 100644index 000000000..9a7998313--- /dev/null+++ b/src/components/settings/storage/CloudWaitlistSection.vue@@ -0,0 +1,93 @@+<script setup lang="ts">+import { computed, useTemplateRef } from 'vue'++import { useStorageMessages } from '@open-pencil/vue'++import { useWaitlistSignup } from '@/app/cloud/waitlist/signup'+import { openExternalLink } from '@/app/shell/ui'+import SettingsSection from '@/components/settings/layout/SettingsSection.vue'+import ProviderSettingsField from '@/components/settings/provider/ProviderSettingsField.vue'+import AppButton from '@/components/ui/button/AppButton.vue'+import AppAlert from '@/components/ui/feedback/AppAlert.vue'+import AppInput from '@/components/ui/input/AppInput.vue'+import { CLOUD_WAITLIST_URL, IS_TAURI } from '@/constants'++/**+ * OpenPencil Cloud, offered where people set up storage by hand. The web app signs up here; the+ * desktop app opens the website, since Turnstile runs only on the sites the service accepts.+ */+const storage = useStorageMessages()+const turnstile = useTemplateRef<HTMLElement>('turnstile')+const { email, status, submitting, confirming, edit, submit } = useWaitlistSignup(turnstile)++const failure = computed(() => {+ if (status.value === 'refused') return storage.value.waitlistRefused+ if (status.value === 'limited') return storage.value.waitlistLimited+ if (status.value === 'failed') return storage.value.waitlistFailed+ if (status.value === 'unavailable') return storage.value.waitlistUnavailable+ return null+})+</script>++<template>+ <SettingsSection data-test-id="settings-cloud-waitlist">+ <template #title>{{ storage.cloudTitle }}</template>+ <template #description>{{ storage.cloudDescription }}</template>+ <AppButton+ v-if="IS_TAURI"+ class="self-start"+ variant="outline"+ @click="openExternalLink(CLOUD_WAITLIST_URL)"+ >+ {{ storage.waitlistOpenWebsite }}+ <template #trailing><icon-lucide-external-link aria-hidden="true" /></template>+ </AppButton>+ <AppAlert+ v-else-if="status === 'joined'"+ tone="success"+ :heading="storage.waitlistJoined"+ :description="storage.waitlistJoinedDetail"+ />+ <template v-else>+ <!-- The Storage panel is a form of its own, so this is a group that submits on Enter. -->+ <div class="flex flex-col gap-2" role="group" :aria-label="storage.cloudTitle">+ <ProviderSettingsField+ v-slot="{ control }"+ :label="storage.waitlistEmail"+ :error="status === 'invalid' ? storage.waitlistInvalid : undefined"+ >+ <AppInput+ v-bind="control"+ v-model="email"+ type="email"+ autocomplete="email"+ tone="panel"+ :placeholder="storage.waitlistPlaceholder"+ :disabled="submitting"+ @update:model-value="edit"+ @keydown.enter.prevent="submit"+ />+ </ProviderSettingsField>+ <!-- Turnstile draws here only when it needs a click, above the button it holds up. -->+ <div ref="turnstile" />+ <AppButton+ class="self-start"+ color="primary"+ variant="solid"+ :loading="submitting && !confirming"+ :disabled="confirming"+ @click="submit"+ >+ {{ confirming ? storage.waitlistConfirmHuman : storage.waitlistJoin }}+ </AppButton>+ </div>+ <AppAlert v-if="failure" tone="error" :heading="failure">+ <template v-if="status === 'unavailable'" #actions>+ <AppButton variant="outline" size="xs" @click="openExternalLink(CLOUD_WAITLIST_URL)">+ {{ storage.waitlistOpenWebsite }}+ </AppButton>+ </template>+ </AppAlert>+ </template>+ </SettingsSection>+</template>diff --git a/src/components/settings/storage/StorageSettingsPanel.vue b/src/components/settings/storage/StorageSettingsPanel.vueindex 35a40c152..4797057e9 100644--- a/src/components/settings/storage/StorageSettingsPanel.vue+++ b/src/components/settings/storage/StorageSettingsPanel.vue@@ -19,6 +19,7 @@ import SettingsPage from '@/components/settings/layout/SettingsPage.vue'import SettingsSaveFeedback from '@/components/settings/layout/SettingsSaveFeedback.vue'import SettingsSection from '@/components/settings/layout/SettingsSection.vue'import ProviderSettingsField from '@/components/settings/provider/ProviderSettingsField.vue'+import CloudWaitlistSection from '@/components/settings/storage/CloudWaitlistSection.vue'import AppButton from '@/components/ui/button/AppButton.vue'import AppAlert from '@/components/ui/feedback/AppAlert.vue'import AppInput from '@/components/ui/input/AppInput.vue'@@ -105,28 +106,34 @@ async function testConnection() {@submit.prevent="save"><SettingsPage data-test-id="settings-storage-panel">- <SettingsSection v-if="!editing">- <template #title>{{ settings.storage }}</template>- <template #description>{{ provider.description }}</template>- <AppActionRow @click="edit">- {{ provider.label }}- <template #description>{{- configured ? settings.configured : settings.notConfigured- }}</template>- <template #trailing- >{{ settings.edit }}<icon-lucide-chevron-right class="size-3.5"- /></template>- </AppActionRow>- <AppButton- class="self-start"- variant="outline"- :disabled="!configured"- data-test-id="settings-storage-open-workspace"- @click="openWorkspace"- >{{ storage.openWorkspace }}</AppButton- >- <p v-if="!configured" class="text-[11px] text-muted">{{ settings.configureStorageHint }}</p>- </SettingsSection>+ <!-- Sections are spaced as other multi-section pages space them. -->+ <div v-if="!editing" class="flex flex-col gap-6">+ <SettingsSection>+ <template #title>{{ settings.storage }}</template>+ <template #description>{{ provider.description }}</template>+ <AppActionRow @click="edit">+ {{ provider.label }}+ <template #description>{{+ configured ? settings.configured : settings.notConfigured+ }}</template>+ <template #trailing+ >{{ settings.edit }}<icon-lucide-chevron-right class="size-3.5"+ /></template>+ </AppActionRow>+ <AppButton+ class="self-start"+ variant="outline"+ :disabled="!configured"+ data-test-id="settings-storage-open-workspace"+ @click="openWorkspace"+ >{{ storage.openWorkspace }}</AppButton+ >+ <p v-if="!configured" class="text-[11px] text-muted">+ {{ settings.configureStorageHint }}+ </p>+ </SettingsSection>+ <CloudWaitlistSection />+ </div><SettingsSection v-else><template #title>{{ settings.storage }}</template><template #description>{{ settings.saveChangesDescription }}</template>diff --git a/src/components/ui/input/AppInput.vue b/src/components/ui/input/AppInput.vueindex 6a27e5c74..bf5247b27 100644--- a/src/components/ui/input/AppInput.vue+++ b/src/components/ui/input/AppInput.vue@@ -11,7 +11,7 @@ interface AppInputProps {class?: HTMLAttributes['class']ui?: { root?: string; input?: string; leading?: string; trailing?: string }id?: string- type?: 'text' | 'password' | 'number' | 'search' | 'url'+ type?: 'text' | 'password' | 'number' | 'search' | 'url' | 'email'placeholder?: stringariaLabel?: stringreadonly?: booleandiff --git a/src/constants.ts b/src/constants.tsindex c603d8092..6853f94e5 100644--- a/src/constants.ts+++ b/src/constants.ts@@ -80,6 +80,8 @@ export const ROOM_STATUS_TICK_MS = 500export const WEB_APP_ORIGIN = 'https://app.openpencil.dev'/** The privacy page: every request the app makes, and every usage event and field. */export const PRIVACY_URL = 'https://openpencil.dev/overview/privacy'+/** The OpenPencil Cloud section of the website, with its waitlist form. */+export const CLOUD_WAITLIST_URL = 'https://openpencil.dev/#cloud'/** Where the desktop app's installers are published. */export const DESKTOP_DOWNLOAD_URL = 'https://github.com/open-pencil/open-pencil/releases/latest'export const NODE_DOWNLOAD_URL = 'https://nodejs.org/en/download'diff --git a/src/global.d.ts b/src/global.d.tsindex b61bebdc5..0d5c3b600 100644--- a/src/global.d.ts+++ b/src/global.d.ts@@ -1,4 +1,5 @@import type { OpenPencilWindowAPI } from './app/browser-bridge'+import type { TurnstileAPI } from './app/cloud/waitlist/turnstile'export {}@@ -24,5 +25,7 @@ declare global {showOpenFilePicker?(options?: FilePickerOptions): Promise<FileSystemFileHandle[]>showSaveFilePicker?(options?: FilePickerOptions): Promise<FileSystemFileHandle>mockWindowOpen?(url: string): void+ /** Cloudflare Turnstile, once its script has loaded. */+ turnstile?: TurnstileAPI}}diff --git a/tests/app/cloud/waitlist/signup.test.ts b/tests/app/cloud/waitlist/signup.test.tsnew file mode 100644index 000000000..9acaea166--- /dev/null+++ b/tests/app/cloud/waitlist/signup.test.ts@@ -0,0 +1,49 @@+import { describe, expect, test } from 'bun:test'++import { createFeedbackClient } from '@open-pencil/feedback/client'++import { joinWaitlist } from '@/app/cloud/waitlist/signup'++const SIGNUP = { email: '[email protected]', turnstileToken: 'token' }++/** A feedback client whose service answers every request with `status`, recording what it got. */+function service(status: number) {+ const requests: { url: string; body: string }[] = []+ const client = createFeedbackClient({+ origin: 'https://feedback.test',+ fetch: (input: RequestInfo | URL, init?: RequestInit) => {+ requests.push({ url: String(input), body: String(init?.body) })+ return Promise.resolve(new Response(null, { status }))+ }+ })+ return { client, requests }+}++describe('joining the Cloud waitlist', () => {+ test('posts the sign-up to the waitlist route', async () => {+ const { client, requests } = service(202)++ expect(await joinWaitlist(SIGNUP, client)).toBe('joined')+ expect(requests).toEqual([+ { url: 'https://feedback.test/waitlist', body: JSON.stringify(SIGNUP) }+ ])+ })++ test.each([+ [400, 'invalid'],+ [403, 'refused'],+ [429, 'limited'],+ [500, 'failed']+ ] as const)('reports a %i answer as %s', async (status, outcome) => {+ expect(await joinWaitlist(SIGNUP, service(status).client)).toBe(outcome)+ })++ test('reports a service it cannot reach as failed', async () => {+ const client = createFeedbackClient({+ origin: 'https://feedback.test',+ fetch: () => Promise.reject(new TypeError('Network connection lost'))+ })++ expect(await joinWaitlist(SIGNUP, client)).toBe('failed')+ })+})diff --git a/tools/checks/i18n/mixed-script-baseline.txt b/tools/checks/i18n/mixed-script-baseline.txtindex 682802e3e..724b19893 100644--- a/tools/checks/i18n/mixed-script-baseline.txt+++ b/tools/checks/i18n/mixed-script-baseline.txt@@ -428,4 +428,12 @@ zh-cn:panels.shaderPresetzh-cn:panels.invalidShaderPresetzh-cn:panels.shaderNeedsWebGPUja:panels.gridSummaryGrid+ja:storage.cloudDescription+ja:storage.waitlistJoinedDetail+ja:storage.waitlistOpenWebsite+ja:storage.waitlistUnavailablezh-cn:panels.gridSummaryGrid+zh-cn:storage.cloudDescription+zh-cn:storage.waitlistJoinedDetail+zh-cn:storage.waitlistOpenWebsite+zh-cn:storage.waitlistUnavailablediff --git a/tools/checks/i18n/translation-baseline.txt b/tools/checks/i18n/translation-baseline.txtindex c63a6fec2..aa8aa4d35 100644--- a/tools/checks/i18n/translation-baseline.txt+++ b/tools/checks/i18n/translation-baseline.txt@@ -251,6 +251,8 @@ ja:settings.mcpja:storage.providerAmazonS3ja:storage.providerBackblazeja:storage.providerR2+ja:storage.cloudTitle+ja:storage.waitlistPlaceholderpl:ai.completionspl:ai.modelAgentConnectionpl:ai.modelConfiguration@@ -307,6 +309,8 @@ ru:settings.mcpru:storage.providerAmazonS3ru:storage.providerBackblazeru:storage.providerR2+ru:storage.cloudTitle+ru:storage.waitlistPlaceholderzh-cn:ai.completionszh-cn:ai.responseszh-cn:code.editorDesignLabel@@ -329,6 +333,8 @@ zh-cn:settings.mcpzh-cn:storage.providerAmazonS3zh-cn:storage.providerBackblazezh-cn:storage.providerR2+zh-cn:storage.cloudTitle+zh-cn:storage.waitlistPlaceholderde:variables.namede:variables.stylesheetes:variables.unitAuto@@ -343,9 +349,14 @@ es:menu.variablesfr:menu.variablesfr:variables.collectionsde:panels.gridAuto+de:storage.cloudTitlees:panels.gridColores:panels.gridAuto+es:storage.cloudTitlefr:panels.gridTypefr:panels.gridAuto+fr:storage.cloudTitleit:panels.gridAuto+it:storage.cloudTitlepl:panels.gridAuto+pl:storage.cloudTitle