feat(ui): a calm, native-looking card when a view fails or TREK was updated

The error and new-version fallback was a bordered box with a warning
triangle and the raw error message on show. It is now one centred card with
a round symbol (a friendly one for an update), a short title and line, and a
full-width reload button; the technical message stays for issue reports,
folded under Details. Phone, PWA and desktop alike.
This commit is contained in:
Maurice
2026-11-06 12:44:39 +01:00
parent d2ae9a87c4
commit 50bd1bcbc1
30 changed files with 133 additions and 61 deletions
+1
View File
@@ -81,5 +81,6 @@ const common: TranslationStrings = {
'TREK a été mis à jour pendant que cet onglet était ouvert. Rechargez pour obtenir la nouvelle version.',
'common.errorPluginTitle': "Ce plugin n'a pas pu être affiché",
'common.needsConnection': 'Cela nécessite une connexion. Réessaie dès que TREK sera de nouveau en ligne.',
'common.errorDetails': 'Détails',
};
export default common;