Polish /report-bug's visual design and refine bug report semantics
Design pass on the bug report page, staying inside the site's existing design system (tokens, IBM Plex Sans, card/badge/pill components, stroke icon set) rather than introducing a new one: - A slim top bar (brand mark + back-to-home pill button + language switcher) replaces the bare floating heading, so the page reads as part of the product instead of an orphaned form. - The "write in English" notice moves inside the form card, right above the field it applies to, and switches from the amber "needs attention" tone to an accent-tinted info tone, so it doesn't visually collide with the bug-status badges' own use of amber for "not read yet". - "Your reports" is promoted to a proper labeled section with a cleaner row layout (truncated description with a title tooltip, compact date). - A character counter on the description field. - The back-to-home control is now a bordered pill with an arrow icon instead of a bare text link with a hardcoded "←", which also meant dropping that hardcoded arrow from all 7 translations. Also, two content refinements based on feedback: - Max description length dropped from 5000 to 2000 characters, enforced on both the textarea and the API's Pydantic validator. - The "read" status is relabeled from a passive "read"/"letta" to an active "acknowledged"/"presa in carico" (and each other language's own equivalent helpdesk term) — it communicates a team is on it, not just that someone glanced at it. Only the label changed; the underlying "read" status value in the API/DB is untouched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+14
-14
@@ -27,9 +27,9 @@ const TRANSLATIONS = {
|
||||
'bugReport.myReportsHint': 'Only reports sent from this account, with the status set by the admin team.',
|
||||
'bugReport.myReportsEmpty': "You haven't sent any reports yet.",
|
||||
'bugReport.statusOpen': 'Not read yet',
|
||||
'bugReport.statusRead': 'Read',
|
||||
'bugReport.statusRead': 'Acknowledged',
|
||||
'bugReport.statusResolved': 'Resolved',
|
||||
'bugReport.backLink': '← Back to home',
|
||||
'bugReport.backLink': 'Back to home',
|
||||
'nav.logoutTitle': 'Log out',
|
||||
'nav.logoutAria': 'Log out of your account',
|
||||
'nav.deposit': 'Deposit',
|
||||
@@ -190,9 +190,9 @@ const TRANSLATIONS = {
|
||||
'bugReport.myReportsHint': "Solo le segnalazioni inviate da questo account, con lo stato aggiornato dall'amministrazione.",
|
||||
'bugReport.myReportsEmpty': 'Non hai ancora inviato segnalazioni.',
|
||||
'bugReport.statusOpen': 'Da leggere',
|
||||
'bugReport.statusRead': 'Letta',
|
||||
'bugReport.statusRead': 'Presa in carico',
|
||||
'bugReport.statusResolved': 'Risolta',
|
||||
'bugReport.backLink': '← Torna alla home',
|
||||
'bugReport.backLink': 'Torna alla home',
|
||||
'nav.logoutTitle': 'Esci',
|
||||
'nav.logoutAria': "Esci dall'account",
|
||||
'nav.deposit': 'Deposito',
|
||||
@@ -350,9 +350,9 @@ const TRANSLATIONS = {
|
||||
'bugReport.myReportsHint': 'Solo los informes enviados desde esta cuenta, con el estado actualizado por el equipo de administración.',
|
||||
'bugReport.myReportsEmpty': 'Todavía no has enviado ningún informe.',
|
||||
'bugReport.statusOpen': 'Sin leer',
|
||||
'bugReport.statusRead': 'Leído',
|
||||
'bugReport.statusRead': 'En curso',
|
||||
'bugReport.statusResolved': 'Resuelto',
|
||||
'bugReport.backLink': '← Volver al inicio',
|
||||
'bugReport.backLink': 'Volver al inicio',
|
||||
'nav.logoutTitle': 'Salir',
|
||||
'nav.logoutAria': 'Cerrar sesión',
|
||||
'nav.deposit': 'Depósito',
|
||||
@@ -510,9 +510,9 @@ const TRANSLATIONS = {
|
||||
'bugReport.myReportsHint': "Seulement les signalements envoyés depuis ce compte, avec le statut mis à jour par l'équipe d'administration.",
|
||||
'bugReport.myReportsEmpty': "Vous n'avez encore envoyé aucun signalement.",
|
||||
'bugReport.statusOpen': 'Non lu',
|
||||
'bugReport.statusRead': 'Lu',
|
||||
'bugReport.statusRead': 'Prise en charge',
|
||||
'bugReport.statusResolved': 'Résolu',
|
||||
'bugReport.backLink': "← Retour à l'accueil",
|
||||
'bugReport.backLink': "Retour à l'accueil",
|
||||
'nav.logoutTitle': 'Se déconnecter',
|
||||
'nav.logoutAria': 'Se déconnecter du compte',
|
||||
'nav.deposit': 'Dépôt',
|
||||
@@ -670,9 +670,9 @@ const TRANSLATIONS = {
|
||||
'bugReport.myReportsHint': 'Nur Meldungen, die von diesem Konto gesendet wurden, mit dem vom Admin-Team aktualisierten Status.',
|
||||
'bugReport.myReportsEmpty': 'Du hast noch keine Meldungen gesendet.',
|
||||
'bugReport.statusOpen': 'Ungelesen',
|
||||
'bugReport.statusRead': 'Gelesen',
|
||||
'bugReport.statusRead': 'In Bearbeitung',
|
||||
'bugReport.statusResolved': 'Gelöst',
|
||||
'bugReport.backLink': '← Zurück zur Startseite',
|
||||
'bugReport.backLink': 'Zurück zur Startseite',
|
||||
'nav.logoutTitle': 'Abmelden',
|
||||
'nav.logoutAria': 'Vom Konto abmelden',
|
||||
'nav.deposit': 'Einzahlung',
|
||||
@@ -830,9 +830,9 @@ const TRANSLATIONS = {
|
||||
'bugReport.myReportsHint': 'Только сообщения, отправленные с этого аккаунта, со статусом, обновлённым администрацией.',
|
||||
'bugReport.myReportsEmpty': 'Вы ещё не отправляли сообщений.',
|
||||
'bugReport.statusOpen': 'Не прочитано',
|
||||
'bugReport.statusRead': 'Прочитано',
|
||||
'bugReport.statusRead': 'В обработке',
|
||||
'bugReport.statusResolved': 'Решено',
|
||||
'bugReport.backLink': '← Назад на главную',
|
||||
'bugReport.backLink': 'Назад на главную',
|
||||
'nav.logoutTitle': 'Выйти',
|
||||
'nav.logoutAria': 'Выйти из аккаунта',
|
||||
'nav.deposit': 'Депозит',
|
||||
@@ -990,9 +990,9 @@ const TRANSLATIONS = {
|
||||
'bugReport.myReportsHint': '仅显示此账户发送的反馈,状态由管理团队更新。',
|
||||
'bugReport.myReportsEmpty': '您还没有发送过反馈。',
|
||||
'bugReport.statusOpen': '待处理',
|
||||
'bugReport.statusRead': '已读',
|
||||
'bugReport.statusRead': '处理中',
|
||||
'bugReport.statusResolved': '已解决',
|
||||
'bugReport.backLink': '← 返回首页',
|
||||
'bugReport.backLink': '返回首页',
|
||||
'nav.logoutTitle': '退出登录',
|
||||
'nav.logoutAria': '退出账户',
|
||||
'nav.deposit': '存款',
|
||||
|
||||
Reference in New Issue
Block a user