From e0750148e673998db7638af762d415f900a33eaf Mon Sep 17 00:00:00 2001 From: sreelakshmi-bruno Date: Fri, 14 Feb 2025 02:42:14 +0530 Subject: [PATCH] Styling improvements in failed-load-request summary (#3956) Co-authored-by: Sreelakshmi Jayarajan --- .../RequestTabPanel/RequestNotLoaded/index.js | 44 ++++++++----------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/packages/bruno-app/src/components/RequestTabPanel/RequestNotLoaded/index.js b/packages/bruno-app/src/components/RequestTabPanel/RequestNotLoaded/index.js index 1a951b624..289f3c879 100644 --- a/packages/bruno-app/src/components/RequestTabPanel/RequestNotLoaded/index.js +++ b/packages/bruno-app/src/components/RequestTabPanel/RequestNotLoaded/index.js @@ -1,4 +1,4 @@ -import { IconLoader2, IconFile } from '@tabler/icons'; +import { IconLoader2, IconFile, IconAlertTriangle } from '@tabler/icons'; import { loadRequest, loadRequestViaWorker } from 'providers/ReduxStore/slices/collections/actions'; import { useDispatch } from 'react-redux'; import StyledWrapper from './StyledWrapper'; @@ -15,7 +15,7 @@ const RequestNotLoaded = ({ collection, item }) => { return
-
+
@@ -39,36 +39,30 @@ const RequestNotLoaded = ({ collection, item }) => {
{!item?.error && ( - <> -
-
- Due to its large size, this request wasn't loaded automatically. +
+
+ + The request wasn't loaded due to its large size. Please try again with the following options:
-
-
- - - May cause the app to freeze temporarily while it runs. - -
-
+
- - Runs in background. - -
+

(Runs in background)

- +
+ +

(May cause the app to freeze temporarily while it runs)

+
+
)} {item?.loading && (