From 4492cf484cd331545a8a85306a47280bef69e26f Mon Sep 17 00:00:00 2001 From: Ajit Mehrotra Date: Mon, 24 Nov 2025 14:47:15 -0500 Subject: [PATCH] fix: address notification pane infinite network request and improve error messages commit addresses the following two bugs/issues: 1. infinite network requests 2. make error messages more accurate bug details: - when scrolled all the way down in the notification pane (when api is down), unraid infinitely sends network requests. - must be scrolled all the way to the bottom and stay at the bottom of the pane while the api is down technical details: - for infinite loop, added try/catch that sets a canLoadMore flag to false when it encounters an error, preventing infinite loop - errors now look at non-standard locations as well impact: - performance benefits - more graceful ux on failure --- web/src/components/Notifications/List.vue | 90 +++++++++++++++++++---- 1 file changed, 76 insertions(+), 14 deletions(-) diff --git a/web/src/components/Notifications/List.vue b/web/src/components/Notifications/List.vue index 121886d30..a2417a8b8 100644 --- a/web/src/components/Notifications/List.vue +++ b/web/src/components/Notifications/List.vue @@ -1,12 +1,15 @@