Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

improvement(web): settings show previews of forms and the requests portal (#798)

Croff4b482bc96b25
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.md
index 31831c0f..78f4d797 100644
--- a/apps/web/AGENTS.md
+++ b/apps/web/AGENTS.md
@@ -18,7 +18,8 @@ Next.js App Router, SSR (not SPA). Tailwind v4 + shadcn/ui. See root `AGENTS.md`
nowhere else. `useWorkspaceSections(workspace, core)` returns a workspace's settings menu,
shown by `WorkspaceSectionNav`: here the core's sections and previews of the
dashboard, the AI budgets and the audit log, and for the owner of email domains, single
- sign-on and SCIM (`components/common/page/SectionPreview`), while the hosted build adds
+ sign-on, the requests portal and SCIM (`components/common/page/SectionPreview`), while the
+ hosted build adds
its own at any position or drops some. One it adds carries in `Component` the
page `/workspaces/:id/:sectionId` opens; that page answers 404 only once the workspace and
every query in flight have loaded, so a section that waits on a query of its own opens
@@ -28,7 +29,8 @@ Next.js App Router, SSR (not SPA). Tailwind v4 + shadcn/ui. See root `AGENTS.md`
`/workspaces/:id` names no section and opens the first entry of the menu, so the order
also decides the page a workspace opens on.
`useProjectSettingsSections(project, core)` returns the project's sections: here the
- core's, while the hosted build adds its own at any position or drops some. Those of the
+ core's and, for the people who govern the project's settings, a preview of the forms after
+ the webhooks, while the hosted build adds its own at any position or drops some. Those of the
`ai-team` group are listed in the main sidebar's AI Team group, those naming the same `menu`
as one entry that opens to them, named by the menu's `sections.settings` messages; the others
in the settings sidebar, which lists the groups in the order their first section comes, each
diff --git a/apps/web/messages/ar/sections.json b/apps/web/messages/ar/sections.json
index 43998b1c..7925ab61 100644
--- a/apps/web/messages/ar/sections.json
+++ b/apps/web/messages/ar/sections.json
@@ -107,6 +107,10 @@
"label": "خطافات الويب (webhooks)",
"description": "بعت أحداث المشروع لعناوين URL خارجية، موقّعة بسرّ خاص بكل خطاف ويب."
},
+ "forms": {
+ "label": "النماذج",
+ "description": "أي شخص لديه الرابط ينشئ مهمة هنا."
+ },
"git": {
"label": "المستودعات",
"description": "قفل المهام لما طلبات السحب بتاعتها تتدمج على GitHub أو GitLab أو Gitea أو Forgejo أو Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "رابط ACS",
"spEntityId": "معرّف الكيان والبيانات الوصفية"
}
+ },
+ "forms": {
+ "new": "نموذج جديد",
+ "columns": {
+ "form": "النموذج",
+ "link": "الرابط"
+ },
+ "enabled": "يستقبل الطلبات",
+ "tabs": {
+ "form": "النموذج",
+ "questions": "الأسئلة",
+ "issue": "المهمة",
+ "design": "التصميم"
+ },
+ "questionsHint": "يُسأل دائمًا عن الاسم والبريد الإلكتروني.",
+ "preview": "معاينة",
+ "name": "اسمك",
+ "email": "البريد الإلكتروني"
+ },
+ "portal": {
+ "title": "البوابة",
+ "description": "الصفحة التي يرسل فيها الناس طلبات إلى مشاريع مساحة العمل ويتابعونها.",
+ "general": "عام",
+ "forms": "النماذج العامة",
+ "formsHint": "يمكن لمشاريع مساحة العمل نشر نماذج يملؤها أي شخص لديه الرابط. عند الإيقاف لا تُفتح نماذجها وبواباتها، ويختفي قسم النماذج من إعدادات المشاريع؛ ولا يُحذف شيء.",
+ "name": "الاسم",
+ "nameHint": "ما يراه الناس في البوابة ورسائلها بدل اسم مساحة العمل. إذا تُرك فارغًا يظهر اسم مساحة العمل.",
+ "address": "العنوان",
+ "addressHint": "تُفتح البوابة على هذا العنوان. وإلى أن تحدده تُفتح برقم مساحة العمل.",
+ "link": "رابط البوابة",
+ "logo": "الشعار",
+ "logoHint": "يظهر في البوابة والنماذج بدل اسم البوابة. شعار واحد يكفي للسمتين.",
+ "light": "السمة الفاتحة",
+ "dark": "السمة الداكنة"
}
}
}
diff --git a/apps/web/messages/en/sections.json b/apps/web/messages/en/sections.json
index 145f6062..4e5839ce 100644
--- a/apps/web/messages/en/sections.json
+++ b/apps/web/messages/en/sections.json
@@ -107,6 +107,10 @@
"label": "Webhooks",
"description": "Send project events to external URLs, signed with a per-webhook secret."
},
+ "forms": {
+ "label": "Forms",
+ "description": "Let anyone with a link file an issue here."
+ },
"git": {
"label": "Repositories",
"description": "Close issues when their pull requests merge on GitHub, GitLab, Gitea, Forgejo, or Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "ACS URL",
"spEntityId": "Entity ID and metadata"
}
+ },
+ "forms": {
+ "new": "New form",
+ "columns": {
+ "form": "Form",
+ "link": "Link"
+ },
+ "enabled": "Takes requests",
+ "tabs": {
+ "form": "Form",
+ "questions": "Questions",
+ "issue": "Issue",
+ "design": "Design"
+ },
+ "questionsHint": "Name and email are always asked.",
+ "preview": "Preview",
+ "name": "Your name",
+ "email": "Email"
+ },
+ "portal": {
+ "title": "Portal",
+ "description": "The page where people send requests to the workspace's projects and follow them.",
+ "general": "General",
+ "forms": "Public forms",
+ "formsHint": "The workspace's projects can publish forms anyone with the link fills in. Off, their forms and portals stop opening and the projects lose their Forms settings; nothing is deleted.",
+ "name": "Name",
+ "nameHint": "What people see on the portal and in its emails in place of the workspace's name. Empty shows the workspace's name.",
+ "address": "Address",
+ "addressHint": "The portal opens at this address. Until you set one, it opens at the workspace's number.",
+ "link": "Portal link",
+ "logo": "Logo",
+ "logoHint": "Shown on the portal and on the forms in place of the portal's name. One logo serves both themes.",
+ "light": "Light theme",
+ "dark": "Dark theme"
}
}
}
diff --git a/apps/web/messages/es-ES/sections.json b/apps/web/messages/es-ES/sections.json
index b193d0b6..0bc5dbec 100644
--- a/apps/web/messages/es-ES/sections.json
+++ b/apps/web/messages/es-ES/sections.json
@@ -107,6 +107,10 @@
"label": "Webhooks",
"description": "Enviar eventos del proyecto a URLs externas, firmados con un secreto para cada webhook."
},
+ "forms": {
+ "label": "Formularios",
+ "description": "Cualquiera con el enlace crea aquí un ticket."
+ },
"git": {
"label": "Repositorios",
"description": "Cerrar tickets cuando sus pull requests se integran en GitHub, GitLab, Gitea, Forgejo o Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "URL de ACS",
"spEntityId": "Entity ID y metadatos"
}
+ },
+ "forms": {
+ "new": "Nuevo formulario",
+ "columns": {
+ "form": "Formulario",
+ "link": "Enlace"
+ },
+ "enabled": "Acepta solicitudes",
+ "tabs": {
+ "form": "Formulario",
+ "questions": "Preguntas",
+ "issue": "Ticket",
+ "design": "Diseño"
+ },
+ "questionsHint": "El nombre y el correo se piden siempre.",
+ "preview": "Vista previa",
+ "name": "Tu nombre",
+ "email": "Correo"
+ },
+ "portal": {
+ "title": "Portal",
+ "description": "La página donde las personas envían solicitudes a los proyectos del espacio de trabajo y las siguen.",
+ "general": "General",
+ "forms": "Formularios públicos",
+ "formsHint": "Los proyectos del espacio de trabajo pueden publicar formularios que rellena cualquiera con el enlace. Desactivado, sus formularios y portales dejan de abrirse y los proyectos pierden su sección Formularios; no se borra nada.",
+ "name": "Nombre",
+ "nameHint": "Lo que ven las personas en el portal y en sus correos en lugar del nombre del espacio de trabajo. Vacío muestra el nombre del espacio de trabajo.",
+ "address": "Dirección",
+ "addressHint": "El portal se abre en esta dirección. Mientras no la definas, se abre con el número del espacio de trabajo.",
+ "link": "Enlace del portal",
+ "logo": "Logotipo",
+ "logoHint": "Se muestra en el portal y en los formularios en lugar del nombre del portal. Un logotipo sirve para ambos temas.",
+ "light": "Tema claro",
+ "dark": "Tema oscuro"
}
}
}
diff --git a/apps/web/messages/fa/sections.json b/apps/web/messages/fa/sections.json
index 3d500563..32f05103 100644
--- a/apps/web/messages/fa/sections.json
+++ b/apps/web/messages/fa/sections.json
@@ -107,6 +107,10 @@
"label": "وب‌هوک‌ها",
"description": "ارسال رویدادهای پروژه به URLهای خارجی، امضاشده با یک کلید مخفی مخصوص هر وب‌هوک."
},
+ "forms": {
+ "label": "فرم‌ها",
+ "description": "هر کسی با پیوند اینجا یک تسک می‌سازد."
+ },
"git": {
"label": "مخازن",
"description": "بستن تسک‌ها هنگام ادغام pull request آن‌ها در GitHub، GitLab، Gitea، Forgejo یا Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "نشانی ACS",
"spEntityId": "Entity ID و فراداده"
}
+ },
+ "forms": {
+ "new": "فرم جدید",
+ "columns": {
+ "form": "فرم",
+ "link": "پیوند"
+ },
+ "enabled": "درخواست می‌گیرد",
+ "tabs": {
+ "form": "فرم",
+ "questions": "پرسش‌ها",
+ "issue": "تسک",
+ "design": "ظاهر"
+ },
+ "questionsHint": "نام و ایمیل همیشه پرسیده می‌شود.",
+ "preview": "پیش‌نمایش",
+ "name": "نام شما",
+ "email": "ایمیل"
+ },
+ "portal": {
+ "title": "درگاه",
+ "description": "صفحه‌ای که مردم در آن به پروژه‌های فضای کاری درخواست می‌فرستند و آن را دنبال می‌کنند.",
+ "general": "عمومی",
+ "forms": "فرم‌های عمومی",
+ "formsHint": "پروژه‌های این فضای کاری می‌توانند فرم‌هایی منتشر کنند که هر کسی با پیوند پر می‌کند. اگر خاموش شود، فرم‌ها و درگاه‌هایشان باز نمی‌شوند و بخش فرم‌ها از تنظیمات پروژه‌ها حذف می‌شود؛ چیزی پاک نمی‌شود.",
+ "name": "نام",
+ "nameHint": "آنچه مردم در درگاه و ایمیل‌هایش به جای نام فضای کاری می‌بینند. خالی بماند، نام فضای کاری نمایش داده می‌شود.",
+ "address": "نشانی",
+ "addressHint": "درگاه در این نشانی باز می‌شود. تا نشانی را تعیین نکنید، با شمارهٔ فضای کاری باز می‌شود.",
+ "link": "پیوند درگاه",
+ "logo": "نشان",
+ "logoHint": "در درگاه و فرم‌ها به جای نام درگاه نمایش داده می‌شود. یک نشان برای هر دو پوسته کافی است.",
+ "light": "پوستهٔ روشن",
+ "dark": "پوستهٔ تیره"
}
}
}
diff --git a/apps/web/messages/fr/sections.json b/apps/web/messages/fr/sections.json
index d22f9ebf..177d8acc 100644
--- a/apps/web/messages/fr/sections.json
+++ b/apps/web/messages/fr/sections.json
@@ -107,6 +107,10 @@
"label": "Webhooks",
"description": "Envoyez les événements du projet vers des URL externes, signés avec un secret propre à chaque webhook."
},
+ "forms": {
+ "label": "Formulaires",
+ "description": "Toute personne disposant du lien crée ici un ticket."
+ },
"git": {
"label": "Dépôts",
"description": "Fermez les tickets quand leurs pull requests sont fusionnées sur GitHub, GitLab, Gitea, Forgejo ou Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "URL ACS",
"spEntityId": "Entity ID et métadonnées"
}
+ },
+ "forms": {
+ "new": "Nouveau formulaire",
+ "columns": {
+ "form": "Formulaire",
+ "link": "Lien"
+ },
+ "enabled": "Accepte les demandes",
+ "tabs": {
+ "form": "Formulaire",
+ "questions": "Questions",
+ "issue": "Ticket",
+ "design": "Apparence"
+ },
+ "questionsHint": "Le nom et l'e-mail sont toujours demandés.",
+ "preview": "Aperçu",
+ "name": "Votre nom",
+ "email": "E-mail"
+ },
+ "portal": {
+ "title": "Portail",
+ "description": "La page où chacun envoie des demandes aux projets de l'espace de travail et les suit.",
+ "general": "Général",
+ "forms": "Formulaires publics",
+ "formsHint": "Les projets de l'espace de travail peuvent publier des formulaires que toute personne avec le lien remplit. Désactivé, leurs formulaires et portails ne s'ouvrent plus et les projets perdent leur section Formulaires ; rien n'est supprimé.",
+ "name": "Nom",
+ "nameHint": "Ce que les gens voient sur le portail et dans ses e-mails à la place du nom de l'espace de travail. Vide, c'est le nom de l'espace de travail.",
+ "address": "Adresse",
+ "addressHint": "Le portail s'ouvre à cette adresse. Tant qu'elle n'est pas définie, il s'ouvre au numéro de l'espace de travail.",
+ "link": "Lien du portail",
+ "logo": "Logo",
+ "logoHint": "Affiché sur le portail et sur les formulaires à la place du nom du portail. Un seul logo sert aux deux thèmes.",
+ "light": "Thème clair",
+ "dark": "Thème sombre"
}
}
}
diff --git a/apps/web/messages/id/sections.json b/apps/web/messages/id/sections.json
index b14cd01f..22aef7bf 100644
--- a/apps/web/messages/id/sections.json
+++ b/apps/web/messages/id/sections.json
@@ -107,6 +107,10 @@
"label": "Webhook",
"description": "Kirim peristiwa proyek ke URL eksternal, ditandatangani dengan rahasia per-webhook."
},
+ "forms": {
+ "label": "Formulir",
+ "description": "Siapa saja yang punya tautan bisa membuat issue di sini."
+ },
"git": {
"label": "Repositori",
"description": "Tutup issue saat pull request digabungkan di GitHub, GitLab, Gitea, Forgejo, atau Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "URL ACS",
"spEntityId": "Entity ID dan metadata"
}
+ },
+ "forms": {
+ "new": "Formulir baru",
+ "columns": {
+ "form": "Formulir",
+ "link": "Tautan"
+ },
+ "enabled": "Menerima permintaan",
+ "tabs": {
+ "form": "Formulir",
+ "questions": "Pertanyaan",
+ "issue": "Issue",
+ "design": "Tampilan"
+ },
+ "questionsHint": "Nama dan email selalu ditanyakan.",
+ "preview": "Pratinjau",
+ "name": "Nama Anda",
+ "email": "Email"
+ },
+ "portal": {
+ "title": "Portal",
+ "description": "Halaman tempat orang mengirim permintaan ke proyek ruang kerja ini dan mengikutinya.",
+ "general": "Umum",
+ "forms": "Formulir publik",
+ "formsHint": "Proyek di ruang kerja ini bisa menerbitkan formulir yang diisi siapa saja yang punya tautan. Jika dimatikan, formulir dan portalnya tidak lagi terbuka dan bagian Formulir hilang dari pengaturan proyek; tidak ada yang dihapus.",
+ "name": "Nama",
+ "nameHint": "Yang dilihat orang di portal dan emailnya sebagai pengganti nama ruang kerja. Kosong menampilkan nama ruang kerja.",
+ "address": "Alamat",
+ "addressHint": "Portal dibuka di alamat ini. Sebelum Anda menetapkannya, portal dibuka dengan nomor ruang kerja.",
+ "link": "Tautan portal",
+ "logo": "Logo",
+ "logoHint": "Ditampilkan di portal dan formulir sebagai pengganti nama portal. Satu logo berlaku untuk kedua tema.",
+ "light": "Tema terang",
+ "dark": "Tema gelap"
}
}
}
diff --git a/apps/web/messages/ko/sections.json b/apps/web/messages/ko/sections.json
index 0e87a0d1..be2e9099 100644
--- a/apps/web/messages/ko/sections.json
+++ b/apps/web/messages/ko/sections.json
@@ -107,6 +107,10 @@
"label": "웹훅",
"description": "프로젝트 이벤트를 외부 URL로 전송하고 웹훅별 시크릿으로 서명합니다."
},
+ "forms": {
+ "label": "양식",
+ "description": "링크가 있는 누구나 여기에 이슈를 만듭니다."
+ },
"git": {
"label": "저장소",
"description": "GitHub, GitLab, Gitea, Forgejo 또는 Bitbucket에서 Pull Request가 병합되면 연결된 이슈를 종료합니다."
@@ -192,6 +196,40 @@
"acsUrl": "ACS URL",
"spEntityId": "Entity ID 및 메타데이터"
}
+ },
+ "forms": {
+ "new": "새 양식",
+ "columns": {
+ "form": "양식",
+ "link": "링크"
+ },
+ "enabled": "요청 받기",
+ "tabs": {
+ "form": "양식",
+ "questions": "질문",
+ "issue": "이슈",
+ "design": "디자인"
+ },
+ "questionsHint": "이름과 이메일은 항상 묻습니다.",
+ "preview": "미리 보기",
+ "name": "이름",
+ "email": "이메일"
+ },
+ "portal": {
+ "title": "포털",
+ "description": "워크스페이스 프로젝트에 요청을 보내고 확인하는 페이지입니다.",
+ "general": "일반",
+ "forms": "공개 양식",
+ "formsHint": "워크스페이스의 프로젝트가 링크를 가진 누구나 작성하는 양식을 게시할 수 있습니다. 끄면 해당 양식과 포털이 열리지 않고 프로젝트 설정에서 양식 섹션이 사라집니다. 삭제되는 것은 없습니다.",
+ "name": "이름",
+ "nameHint": "포털과 포털 이메일에서 워크스페이스 이름 대신 보이는 이름입니다. 비워 두면 워크스페이스 이름이 보입니다.",
+ "address": "주소",
+ "addressHint": "포털은 이 주소에서 열립니다. 주소를 정하기 전에는 워크스페이스 번호로 열립니다.",
+ "link": "포털 링크",
+ "logo": "로고",
+ "logoHint": "포털과 양식에서 포털 이름 대신 표시됩니다. 로고 하나로 두 테마에 모두 쓸 수 있습니다.",
+ "light": "라이트 테마",
+ "dark": "다크 테마"
}
}
}
diff --git a/apps/web/messages/pt-BR/sections.json b/apps/web/messages/pt-BR/sections.json
index bceccb6f..a62b6e07 100644
--- a/apps/web/messages/pt-BR/sections.json
+++ b/apps/web/messages/pt-BR/sections.json
@@ -107,6 +107,10 @@
"label": "Webhooks",
"description": "Envie eventos do projeto para URLs externas, assinados com um segredo por webhook."
},
+ "forms": {
+ "label": "Formulários",
+ "description": "Qualquer pessoa com o link cria uma issue aqui."
+ },
"git": {
"label": "Repositórios",
"description": "Feche issues quando seus pull requests mesclam no GitHub, GitLab, Gitea, Forgejo ou Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "URL de ACS",
"spEntityId": "Entity ID e metadados"
}
+ },
+ "forms": {
+ "new": "Novo formulário",
+ "columns": {
+ "form": "Formulário",
+ "link": "Link"
+ },
+ "enabled": "Aceita solicitações",
+ "tabs": {
+ "form": "Formulário",
+ "questions": "Perguntas",
+ "issue": "Issue",
+ "design": "Design"
+ },
+ "questionsHint": "Nome e e-mail são sempre pedidos.",
+ "preview": "Pré-visualização",
+ "name": "Seu nome",
+ "email": "E-mail"
+ },
+ "portal": {
+ "title": "Portal",
+ "description": "A página onde as pessoas enviam solicitações aos projetos do espaço de trabalho e as acompanham.",
+ "general": "Geral",
+ "forms": "Formulários públicos",
+ "formsHint": "Os projetos do espaço de trabalho podem publicar formulários que qualquer pessoa com o link preenche. Desativado, seus formulários e portais deixam de abrir e os projetos perdem a seção Formulários; nada é apagado.",
+ "name": "Nome",
+ "nameHint": "O que as pessoas veem no portal e nos e-mails dele no lugar do nome do espaço de trabalho. Vazio mostra o nome do espaço de trabalho.",
+ "address": "Endereço",
+ "addressHint": "O portal abre neste endereço. Enquanto você não definir um, ele abre pelo número do espaço de trabalho.",
+ "link": "Link do portal",
+ "logo": "Logotipo",
+ "logoHint": "Aparece no portal e nos formulários no lugar do nome do portal. Um logotipo serve para os dois temas.",
+ "light": "Tema claro",
+ "dark": "Tema escuro"
}
}
}
diff --git a/apps/web/messages/ru/sections.json b/apps/web/messages/ru/sections.json
index aecf15d9..e2f383fd 100644
--- a/apps/web/messages/ru/sections.json
+++ b/apps/web/messages/ru/sections.json
@@ -107,6 +107,10 @@
"label": "Вебхуки",
"description": "Отправка событий проекта на внешние URL, подписанная отдельным секретом каждого вебхука."
},
+ "forms": {
+ "label": "Формы",
+ "description": "Любой, у кого есть ссылка, создаёт здесь задачу."
+ },
"git": {
"label": "Репозитории",
"description": "Закрытие задач, когда их pull request смержен в GitHub, GitLab, Gitea, Forgejo или Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "ACS URL",
"spEntityId": "Entity ID и метаданные"
}
+ },
+ "forms": {
+ "new": "Новая форма",
+ "columns": {
+ "form": "Форма",
+ "link": "Ссылка"
+ },
+ "enabled": "Принимает обращения",
+ "tabs": {
+ "form": "Форма",
+ "questions": "Вопросы",
+ "issue": "Задача",
+ "design": "Оформление"
+ },
+ "questionsHint": "Имя и email спрашиваются всегда.",
+ "preview": "Превью",
+ "name": "Ваше имя",
+ "email": "Email"
+ },
+ "portal": {
+ "title": "Портал",
+ "description": "Страница, где люди отправляют обращения в проекты воркспейса и следят за ними.",
+ "general": "Общее",
+ "forms": "Публичные формы",
+ "formsHint": "Проекты воркспейса могут публиковать формы, которые заполняет любой по ссылке. Если выключить, их формы и порталы перестают открываться, а раздел «Формы» пропадает из настроек проектов; ничего не удаляется.",
+ "name": "Название",
+ "nameHint": "Что люди видят в портале и в его письмах вместо названия воркспейса. Пустое поле показывает название воркспейса.",
+ "address": "Адрес",
+ "addressHint": "Портал открывается по этому адресу. Пока адрес не задан, он открывается по номеру воркспейса.",
+ "link": "Ссылка на портал",
+ "logo": "Логотип",
+ "logoHint": "Показывается в портале и на формах вместо названия портала. Один логотип подходит для обеих тем.",
+ "light": "Светлая тема",
+ "dark": "Тёмная тема"
}
}
}
diff --git a/apps/web/messages/tr/sections.json b/apps/web/messages/tr/sections.json
index 44b28f90..9955917d 100644
--- a/apps/web/messages/tr/sections.json
+++ b/apps/web/messages/tr/sections.json
@@ -107,6 +107,10 @@
"label": "Webhook'lar",
"description": "Proje olaylarını harici URL'lere gönderin (her webhook özel bir anahtarla imzalanır)."
},
+ "forms": {
+ "label": "Formlar",
+ "description": "Bağlantıya sahip herkes burada iş oluşturur."
+ },
"git": {
"label": "Kod Depoları",
"description": "GitHub, GitLab, Gitea, Forgejo veya Bitbucket üzerinde pull request birleştiğinde işleri kapatın."
@@ -192,6 +196,40 @@
"acsUrl": "ACS URL'si",
"spEntityId": "Varlık kimliği ve meta veri"
}
+ },
+ "forms": {
+ "new": "Yeni form",
+ "columns": {
+ "form": "Form",
+ "link": "Bağlantı"
+ },
+ "enabled": "Talep alıyor",
+ "tabs": {
+ "form": "Form",
+ "questions": "Sorular",
+ "issue": "İş",
+ "design": "Görünüm"
+ },
+ "questionsHint": "Ad ve e-posta her zaman sorulur.",
+ "preview": "Önizleme",
+ "name": "Adınız",
+ "email": "E-posta"
+ },
+ "portal": {
+ "title": "Portal",
+ "description": "İnsanların çalışma alanının projelerine talep gönderdiği ve takip ettiği sayfa.",
+ "general": "Genel",
+ "forms": "Herkese açık formlar",
+ "formsHint": "Çalışma alanının projeleri, bağlantıya sahip herkesin doldurabileceği formlar yayınlayabilir. Kapatıldığında formları ve portalları açılmaz, projelerin ayarlarındaki Formlar bölümü gizlenir; hiçbir şey silinmez.",
+ "name": "Ad",
+ "nameHint": "İnsanların portalda ve e-postalarında çalışma alanının adı yerine gördüğü ad. Boş bırakılırsa çalışma alanının adı görünür.",
+ "address": "Adres",
+ "addressHint": "Portal bu adreste açılır. Adres belirlenene kadar çalışma alanının numarasıyla açılır.",
+ "link": "Portal bağlantısı",
+ "logo": "Logo",
+ "logoHint": "Portalda ve formlarda portalın adı yerine gösterilir. Tek logo iki temada da kullanılır.",
+ "light": "Açık tema",
+ "dark": "Koyu tema"
}
}
}
diff --git a/apps/web/messages/uk/sections.json b/apps/web/messages/uk/sections.json
index dda2bd34..14e783ef 100644
--- a/apps/web/messages/uk/sections.json
+++ b/apps/web/messages/uk/sections.json
@@ -107,6 +107,10 @@
"label": "Вебхуки",
"description": "Надсилання подій проєкту на зовнішні URL, підписані окремим секретом кожного вебхука."
},
+ "forms": {
+ "label": "Форми",
+ "description": "Будь-хто з посиланням створює тут задачу."
+ },
"git": {
"label": "Репозиторії",
"description": "Закриття задач, коли їхній pull request змержено в GitHub, GitLab, Gitea, Forgejo або Bitbucket."
@@ -192,6 +196,40 @@
"acsUrl": "ACS URL",
"spEntityId": "Entity ID і метадані"
}
+ },
+ "forms": {
+ "new": "Нова форма",
+ "columns": {
+ "form": "Форма",
+ "link": "Посилання"
+ },
+ "enabled": "Приймає звернення",
+ "tabs": {
+ "form": "Форма",
+ "questions": "Питання",
+ "issue": "Задача",
+ "design": "Оформлення"
+ },
+ "questionsHint": "Ім'я та email питаються завжди.",
+ "preview": "Перегляд",
+ "name": "Ваше ім'я",
+ "email": "Email"
+ },
+ "portal": {
+ "title": "Портал",
+ "description": "Сторінка, де люди надсилають звернення до проєктів воркспейсу і стежать за ними.",
+ "general": "Загальне",
+ "forms": "Публічні форми",
+ "formsHint": "Проєкти воркспейсу можуть публікувати форми, які заповнює будь-хто за посиланням. Якщо вимкнути, їхні форми й портали перестають відкриватися, а розділ «Форми» зникає з налаштувань проєктів; нічого не видаляється.",
+ "name": "Назва",
+ "nameHint": "Що люди бачать у порталі та в його листах замість назви воркспейсу. Порожнє поле показує назву воркспейсу.",
+ "address": "Адреса",
+ "addressHint": "Портал відкривається за цією адресою. Поки адресу не задано, він відкривається за номером воркспейсу.",
+ "link": "Посилання на портал",
+ "logo": "Логотип",
+ "logoHint": "Показується в порталі та на формах замість назви порталу. Один логотип підходить для обох тем.",
+ "light": "Світла тема",
+ "dark": "Темна тема"
}
}
}
diff --git a/apps/web/messages/zh-CN/sections.json b/apps/web/messages/zh-CN/sections.json
index a2b5e624..f325eb3d 100644
--- a/apps/web/messages/zh-CN/sections.json
+++ b/apps/web/messages/zh-CN/sections.json
@@ -107,6 +107,10 @@
"label": "Webhook",
"description": "将项目事件发送到外部 URL,并使用每个 Webhook 独立的密钥签名。"
},
+ "forms": {
+ "label": "表单",
+ "description": "任何拿到链接的人都能在这里创建问题。"
+ },
"git": {
"label": "仓库",
"description": "当关联的拉取请求在 GitHub、GitLab、Gitea、Forgejo 或 Bitbucket 上合并时关闭工作项。"
@@ -192,6 +196,40 @@
"acsUrl": "ACS URL",
"spEntityId": "Entity ID 和元数据"
}
+ },
+ "forms": {
+ "new": "新建表单",
+ "columns": {
+ "form": "表单",
+ "link": "链接"
+ },
+ "enabled": "接收请求",
+ "tabs": {
+ "form": "表单",
+ "questions": "题目",
+ "issue": "问题",
+ "design": "外观"
+ },
+ "questionsHint": "始终会询问姓名和邮箱。",
+ "preview": "预览",
+ "name": "你的姓名",
+ "email": "邮箱"
+ },
+ "portal": {
+ "title": "门户",
+ "description": "人们向此工作区的项目提交请求并跟进的页面。",
+ "general": "常规",
+ "forms": "公开表单",
+ "formsHint": "此工作区的项目可以发布任何拿到链接的人都能填写的表单。关闭后,这些表单和门户将无法打开,项目设置中的表单部分也会隐藏;不会删除任何内容。",
+ "name": "名称",
+ "nameHint": "人们在门户及其邮件中看到的名称,代替工作区名称。留空则显示工作区名称。",
+ "address": "地址",
+ "addressHint": "门户在此地址打开。设置之前,它通过工作区编号打开。",
+ "link": "门户链接",
+ "logo": "标志",
+ "logoHint": "在门户和表单上代替门户名称显示。一个标志可用于两种主题。",
+ "light": "浅色主题",
+ "dark": "深色主题"
}
}
}
diff --git a/apps/web/messages/zh-TW/sections.json b/apps/web/messages/zh-TW/sections.json
index 30f79cef..07120ef1 100644
--- a/apps/web/messages/zh-TW/sections.json
+++ b/apps/web/messages/zh-TW/sections.json
@@ -107,6 +107,10 @@
"label": "Webhook",
"description": "將專案事件傳送到外部 URL,並使用每個 Webhook 獨立的金鑰簽章。"
},
+ "forms": {
+ "label": "表單",
+ "description": "任何持有連結的人都能在這裡建立工作項目。"
+ },
"git": {
"label": "存放庫",
"description": "當關聯的 Pull Request 在 GitHub、GitLab、Gitea、Forgejo 或 Bitbucket 上合併時關閉工作項目。"
@@ -192,6 +196,40 @@
"acsUrl": "ACS URL",
"spEntityId": "Entity ID 和中繼資料"
}
+ },
+ "forms": {
+ "new": "新增表單",
+ "columns": {
+ "form": "表單",
+ "link": "連結"
+ },
+ "enabled": "接收請求",
+ "tabs": {
+ "form": "表單",
+ "questions": "問題",
+ "issue": "工作項目",
+ "design": "外觀"
+ },
+ "questionsHint": "一律會詢問姓名和電子郵件。",
+ "preview": "預覽",
+ "name": "你的姓名",
+ "email": "電子郵件"
+ },
+ "portal": {
+ "title": "入口網站",
+ "description": "讓人向此工作區的專案提出請求並追蹤的頁面。",
+ "general": "一般",
+ "forms": "公開表單",
+ "formsHint": "此工作區的專案可以發布任何持有連結的人都能填寫的表單。關閉後,這些表單和入口網站將無法開啟,專案設定中的表單區段也會隱藏;不會刪除任何內容。",
+ "name": "名稱",
+ "nameHint": "人們在入口網站及其郵件中看到的名稱,代替工作區名稱。留空則顯示工作區名稱。",
+ "address": "網址",
+ "addressHint": "入口網站在此網址開啟。設定之前,會以工作區編號開啟。",
+ "link": "入口網站連結",
+ "logo": "標誌",
+ "logoHint": "在入口網站和表單上代替入口網站名稱顯示。一個標誌可用於兩種主題。",
+ "light": "淺色主題",
+ "dark": "深色主題"
}
}
}
diff --git a/apps/web/src/ce/useProjectSettingsSections.ts b/apps/web/src/ce/useProjectSettingsSections.ts
index 97936491..41e75a2e 100644
--- a/apps/web/src/ce/useProjectSettingsSections.ts
+++ b/apps/web/src/ce/useProjectSettingsSections.ts
@@ -1,14 +1,32 @@
'use client';
+import { ClipboardList } from 'lucide-react';
import type { ProjectDetail } from '@/lib/api/endpoints/projects';
+import { usePermissions } from '@/hooks/usePermissions';
import type { SettingsSection } from '@/utils/settingsSections';
+import SettingsFormsPreview from '@/features/settings/components/forms/SettingsFormsPreview';
-// A self-hosted instance lists the core's project settings sections. The hosted build
-// returns them with its own added at any position, in a group of the core's or one of
-// its own, or with one left out. `project` is null until the Shell has loaded it.
+// A self-hosted instance lists the core's project settings sections with a preview of the
+// forms the hosted build and Pro add after the webhooks, to the people who govern the
+// project's settings, as those builds do. The hosted build returns the core's with its own
+// added at any position, in a group of the core's or one of its own, or with one left out.
+// `project` is null until the Shell has loaded it.
export default function useProjectSettingsSections(
- _project: ProjectDetail | null,
+ project: ProjectDetail | null,
core: SettingsSection[],
): SettingsSection[] {
- return core;
+ const { isAdmin } = usePermissions(project);
+ if (!isAdmin) return core;
+ const afterWebhooks = core.findIndex((section) => section.slug === 'webhooks') + 1;
+ return [
+ ...core.slice(0, afterWebhooks),
+ {
+ slug: 'forms',
+ icon: ClipboardList,
+ resource: 'work_items',
+ group: 'automation',
+ Component: SettingsFormsPreview,
+ },
+ ...core.slice(afterWebhooks),
+ ];
}
diff --git a/apps/web/src/ce/useWorkspaceSections.ts b/apps/web/src/ce/useWorkspaceSections.ts
index 78e06a6f..96e06639 100644
--- a/apps/web/src/ce/useWorkspaceSections.ts
+++ b/apps/web/src/ce/useWorkspaceSections.ts
@@ -2,6 +2,7 @@
import {
AtSign,
+ Globe,
KeyRound,
LayoutDashboard,
ScrollText,
@@ -15,13 +16,14 @@ import WorkspaceAgentBudgetsPreview from '@/features/teams/components/workspace/
import WorkspaceAuditLogPreview from '@/features/teams/components/workspace/preview/WorkspaceAuditLogPreview';
import WorkspaceDashboardPreview from '@/features/teams/components/workspace/preview/WorkspaceDashboardPreview';
import WorkspaceEmailDomainsPreview from '@/features/teams/components/workspace/preview/WorkspaceEmailDomainsPreview';
+import WorkspacePortalPreview from '@/features/teams/components/workspace/preview/WorkspacePortalPreview';
import WorkspaceScimPreview from '@/features/teams/components/workspace/preview/WorkspaceScimPreview';
import WorkspaceSsoPreview from '@/features/teams/components/workspace/preview/WorkspaceSsoPreview';
// A self-hosted instance lists the core's workspace settings sections with previews of
// the sections the hosted build and Pro add, where those builds list them: the dashboard
-// first, the agent budgets after the run queue. Those of the settings are the owner's, as
-// they are there. The hosted build returns the core's with its own added at any position,
+// first, the agent budgets after the run queue. Those of the settings, the requests portal
+// among them, are the owner's, as they are there. The hosted build returns the core's with its own added at any position,
// such as single sign-on and billing, or with one left out.
export default function useWorkspaceSections(
workspace: WorkspaceSummary,
@@ -72,6 +74,13 @@ export default function useWorkspaceSections(
group: 'settings',
Component: WorkspaceSsoPreview,
},
+ {
+ id: 'portal',
+ label: t('portal.title'),
+ icon: Globe,
+ group: 'settings',
+ Component: WorkspacePortalPreview,
+ },
{
id: 'scim',
label: tTeams('scim.title'),
diff --git a/apps/web/src/features/settings/components/forms/SettingsFormsPreview.tsx b/apps/web/src/features/settings/components/forms/SettingsFormsPreview.tsx
new file mode 100644
index 00000000..d11c0316
--- /dev/null
+++ b/apps/web/src/features/settings/components/forms/SettingsFormsPreview.tsx
@@ -0,0 +1,22 @@
+'use client';
+
+import SectionPageView from '@/components/common/page/SectionPageView';
+import SectionPreview from '@/components/common/page/SectionPreview';
+import { useSettingsSectionText } from '@/hooks/useSectionLabels';
+import SettingsFormsPreviewEditor from './SettingsFormsPreviewEditor';
+import SettingsFormsPreviewList from './SettingsFormsPreviewList';
+
+export default function SettingsFormsPreview() {
+ const text = useSettingsSectionText()('forms');
+
+ return (
+ <SectionPageView title={text.label} description={text.description} wide>
+ <SectionPreview>
+ <div className="flex flex-col gap-10">
+ <SettingsFormsPreviewList />
+ <SettingsFormsPreviewEditor />
+ </div>
+ </SectionPreview>
+ </SectionPageView>
+ );
+}
diff --git a/apps/web/src/features/settings/components/forms/SettingsFormsPreviewEditor.tsx b/apps/web/src/features/settings/components/forms/SettingsFormsPreviewEditor.tsx
new file mode 100644
index 00000000..d2a6c56f
--- /dev/null
+++ b/apps/web/src/features/settings/components/forms/SettingsFormsPreviewEditor.tsx
@@ -0,0 +1,74 @@
+'use client';
+
+import {
+ CalendarDays,
+ CircleChevronDown,
+ GripVertical,
+ Plus,
+ TextAlignStart,
+ Type,
+} from 'lucide-react';
+import { useTranslations } from 'next-intl';
+import { Skeleton } from '@/components/ui/skeleton';
+import { Tabs, TabsList, TabsTrigger } from '@/components/ui/tabs';
+import SettingsFormsPreviewForm from './SettingsFormsPreviewForm';
+
+const TABS = ['form', 'questions', 'issue', 'design'] as const;
+
+const QUESTIONS = [
+ { Icon: Type, width: '45%' },
+ { Icon: TextAlignStart, width: '60%' },
+ { Icon: CircleChevronDown, width: '35%' },
+ { Icon: CalendarDays, width: '50%' },
+];
+
+// The editor of a new form, open on its questions, beside the form as it is filled in.
+export default function SettingsFormsPreviewEditor() {
+ const t = useTranslations('sections.previews.forms');
+ const tCommon = useTranslations('common');
+
+ return (
+ <section className="flex flex-col gap-4 rounded-xl border p-5">
+ <h2 className="text-base font-semibold">{t('new')}</h2>
+ <div className="grid gap-6 md:grid-cols-[minmax(0,560px)_minmax(0,1fr)]">
+ <Tabs value="questions" className="gap-0">
+ <TabsList variant="line">
+ {TABS.map((tab) => (
+ <TabsTrigger key={tab} value={tab}>
+ {t(`tabs.${tab}`)}
+ </TabsTrigger>
+ ))}
+ </TabsList>
+ <div className="space-y-2.5 pt-4">
+ <div className="flex items-center justify-between gap-2">
+ <p className="text-xs text-muted-foreground">{t('questionsHint')}</p>
+ <span className="flex h-7 items-center gap-1.5 px-2 text-sm text-muted-foreground">
+ <Plus className="size-4" />
+ {tCommon('add')}
+ </span>
+ </div>
+ <div className="rounded-md border">
+ {QUESTIONS.map(({ Icon, width }) => (
+ <div
+ key={width}
+ className="flex h-10 items-center gap-2.5 border-b px-2 last:border-b-0"
+ >
+ <GripVertical className="size-4 shrink-0 text-muted-foreground/50" />
+ <Icon className="size-4 shrink-0 text-muted-foreground" />
+ <Skeleton className="h-3.5" style={{ width }} />
+ <Skeleton className="ms-auto h-3 w-20" />
+ </div>
+ ))}
+ </div>
+ </div>
+ </Tabs>
+ <SettingsFormsPreviewForm />
+ </div>
+ <div className="flex items-center gap-2 border-t pt-3">
+ <Skeleton className="h-5 w-9 rounded-full" />
+ <span className="text-sm">{t('enabled')}</span>
+ <Skeleton className="ms-auto h-9 w-28" />
+ </div>
+ </section>
+ );
+}
diff --git a/apps/web/src/features/settings/components/forms/SettingsFormsPreviewForm.tsx b/apps/web/src/features/settings/components/forms/SettingsFormsPreviewForm.tsx
new file mode 100644
index 00000000..aee06bc6
--- /dev/null
+++ b/apps/web/src/features/settings/components/forms/SettingsFormsPreviewForm.tsx
@@ -0,0 +1,41 @@
+'use client';
+
+import { useTranslations } from 'next-intl';
+import { Skeleton } from '@/components/ui/skeleton';
+
+const QUESTIONS = [
+ { width: '40%', tall: false },
+ { width: '55%', tall: true },
+ { width: '30%', tall: false },
+ { width: '45%', tall: false },
+];
+
+// The name and the email are asked on every form, before its own questions.
+export default function SettingsFormsPreviewForm() {
+ const t = useTranslations('sections.previews.forms');
+
+ return (
+ <div className="hidden min-w-0 flex-col border-s ps-6 md:flex">
+ <span className="flex h-9 items-center text-xs text-muted-foreground">{t('preview')}</span>
+ <div className="mt-2 space-y-6 rounded-lg border border-border/60 p-6">
+ <div className="space-y-3">
+ <Skeleton className="h-7 w-1/2" />
+ <Skeleton className="h-3 w-4/5" />
+ </div>
+ {[t('name'), t('email')].map((label) => (
+ <div key={label} className="space-y-1.5">
+ <div className="text-sm font-medium">{label}</div>
+ <Skeleton className="h-9" />
+ </div>
+ ))}
+ {QUESTIONS.map(({ width, tall }) => (
+ <div key={width} className="space-y-1.5">
+ <Skeleton className="h-3.5" style={{ width }} />
+ <Skeleton className={tall ? 'h-20' : 'h-9'} />
+ </div>
+ ))}
+ <Skeleton className="h-9 w-24" />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/features/settings/components/forms/SettingsFormsPreviewList.tsx b/apps/web/src/features/settings/components/forms/SettingsFormsPreviewList.tsx
new file mode 100644
index 00000000..f6932d1e
--- /dev/null
+++ b/apps/web/src/features/settings/components/forms/SettingsFormsPreviewList.tsx
@@ -0,0 +1,77 @@
+'use client';
+
+import { Code, Link2, Pencil, Trash2 } from 'lucide-react';
+import { useTranslations } from 'next-intl';
+import { Skeleton } from '@/components/ui/skeleton';
+import {
+ Table,
+ TableBody,
+ TableCell,
+ TableHead,
+ TableHeader,
+ TableRow,
+} from '@/components/ui/table';
+
+const HEAD = 'text-xs font-medium text-muted-foreground';
+
+const ACTIONS = { link: Link2, widget: Code, edit: Pencil, delete: Trash2 };
+
+const ROWS = [
+ { title: '45%', link: '4rem' },
+ { title: '60%', link: '6rem' },
+ { title: '35%', link: '5rem' },
+];
+
+export default function SettingsFormsPreviewList() {
+ const t = useTranslations('sections.previews.forms');
+ const tCommon = useTranslations('common');
+
+ return (
+ <Table className="min-w-[640px] table-fixed">
+ <colgroup>
+ <col className="w-[32%]" />
+ <col className="w-[32%]" />
+ <col className="w-[14%]" />
+ <col className="w-[22%]" />
+ </colgroup>
+ <TableHeader>
+ <TableRow className="hover:bg-transparent">
+ <TableHead className={HEAD}>{t('columns.form')}</TableHead>
+ <TableHead className={HEAD}>{t('columns.link')}</TableHead>
+ <TableHead className={HEAD}>{t('enabled')}</TableHead>
+ <TableHead className={`${HEAD} text-end`}>{tCommon('actions')}</TableHead>
+ </TableRow>
+ </TableHeader>
+ <TableBody>
+ {ROWS.map(({ title, link }) => (
+ <TableRow key={title}>
+ <TableCell className="px-3 py-3">
+ <Skeleton className="h-3.5" style={{ width: title }} />
+ </TableCell>
+ <TableCell className="px-3 py-3">
+ <div dir="ltr" className="flex items-center gap-0.5 text-sm text-muted-foreground">
+ /p/forms/
+ <Skeleton className="h-3.5" style={{ width: link }} />
+ </div>
+ </TableCell>
+ <TableCell className="px-3 py-3">
+ <Skeleton className="h-5 w-9 rounded-full" />
+ </TableCell>
+ <TableCell className="px-3 py-2">
+ <div className="flex justify-end gap-1">
+ {Object.entries(ACTIONS).map(([action, Icon]) => (
+ <span
+ key={action}
+ className="flex size-8 items-center justify-center text-muted-foreground"
+ >
+ <Icon className="size-4" />
+ </span>
+ ))}
+ </div>
+ </TableCell>
+ </TableRow>
+ ))}
+ </TableBody>
+ </Table>
+ );
+}
diff --git a/apps/web/src/features/teams/components/workspace/preview/WorkspacePortalPreview.tsx b/apps/web/src/features/teams/components/workspace/preview/WorkspacePortalPreview.tsx
new file mode 100644
index 00000000..21612936
--- /dev/null
+++ b/apps/web/src/features/teams/components/workspace/preview/WorkspacePortalPreview.tsx
@@ -0,0 +1,78 @@
+'use client';
+
+import { useTranslations } from 'next-intl';
+import SectionPageView from '@/components/common/page/SectionPageView';
+import SectionPreview from '@/components/common/page/SectionPreview';
+import SettingsCard from '@/components/common/page/SettingsCard';
+import SettingsRow from '@/components/common/page/SettingsRow';
+import SettingsSection from '@/components/common/page/SettingsSection';
+import { Skeleton } from '@/components/ui/skeleton';
+import { cn } from '@/lib/utils';
+
+const THEMES = ['light', 'dark'] as const;
+
+export default function WorkspacePortalPreview() {
+ const t = useTranslations('sections.previews.portal');
+
+ return (
+ <SectionPageView title={t('title')} description={t('description')}>
+ <SectionPreview>
+ <div className="space-y-10">
+ <SettingsSection title={t('general')}>
+ <SettingsCard className="divide-y divide-border/60">
+ <SettingsRow
+ title={t('forms')}
+ description={t('formsHint')}
+ control={<Skeleton className="h-5 w-9 shrink-0 rounded-full" />}
+ />
+ <SettingsRow
+ title={t('name')}
+ description={t('nameHint')}
+ control={<Skeleton className="h-8 w-40 shrink-0 sm:w-72" />}
+ />
+ <div>
+ <SettingsRow
+ title={t('address')}
+ description={t('addressHint')}
+ control={<Skeleton className="h-8 w-32 shrink-0 sm:w-60" />}
+ />
+ <div className="px-4 pb-4">
+ <div className="flex items-start justify-between gap-4 border-t border-border/60 pt-4">
+ <div className="min-w-0 flex-1 space-y-1.5">
+ <div className="text-sm font-medium">{t('link')}</div>
+ <Skeleton className="h-3 w-64" />
+ </div>
+ <Skeleton className="size-9 shrink-0" />
+ </div>
+ </div>
+ </div>
+ </SettingsCard>
+ </SettingsSection>
+ <SettingsSection title={t('logo')} description={t('logoHint')}>
+ <SettingsCard className="grid gap-4 p-4 sm:grid-cols-2">
+ {THEMES.map((theme) => (
+ <div key={theme} className="space-y-2">
+ <p className="text-sm font-medium">{t(theme)}</p>
+ <div
+ className={cn(
+ 'flex h-24 items-center justify-center rounded-md border border-border/60',
+ theme === 'dark' ? 'bg-neutral-900' : 'bg-white',
+ )}
+ >
+ <Skeleton
+ className={cn(
+ 'h-8 w-28',
+ theme === 'dark' ? 'bg-neutral-700' : 'bg-neutral-200',
+ )}
+ />
+ </div>
+ <Skeleton className="h-8 w-24" />
+ </div>
+ ))}
+ </SettingsCard>
+ </SettingsSection>
+ </div>
+ </SectionPreview>
+ </SectionPageView>
+ );
+}