From a54f03df1fe67fe0ac3e755850544f5c14137600 Mon Sep 17 00:00:00 2001
From: Manuel <30572287+manuel-rw@users.noreply.github.com>
Date: Mon, 29 May 2023 00:24:22 +0200
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Widget=20menu=20in=20error=20bounda?=
=?UTF-8?q?ry=20(#979)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/locales/en/widgets/error-boundary.json | 4 +-
.../Dashboard/Tiles/GenericTileMenu.tsx | 10 +-
src/widgets/WidgetWrapper.tsx | 2 +-
src/widgets/boundary.tsx | 140 +++++++++---------
src/widgets/date/DateTile.tsx | 2 +-
5 files changed, 87 insertions(+), 71 deletions(-)
diff --git a/public/locales/en/widgets/error-boundary.json b/public/locales/en/widgets/error-boundary.json
index 4c7b31e2d..cc93a51a3 100644
--- a/public/locales/en/widgets/error-boundary.json
+++ b/public/locales/en/widgets/error-boundary.json
@@ -7,8 +7,8 @@
}
},
"modal": {
- "text": "",
+ "text": "An unexpected error has occurred. Please check your configuration. Please report this issue, if you believe that this is a bug.",
"label": "Your error",
"reportButton": "Report this error"
}
-}
\ No newline at end of file
+}
diff --git a/src/components/Dashboard/Tiles/GenericTileMenu.tsx b/src/components/Dashboard/Tiles/GenericTileMenu.tsx
index c5f1e9293..8256cca08 100644
--- a/src/components/Dashboard/Tiles/GenericTileMenu.tsx
+++ b/src/components/Dashboard/Tiles/GenericTileMenu.tsx
@@ -26,7 +26,15 @@ export const GenericTileMenu = ({
return (