From 50228d2f50f86c49e10fe2643113132645dacb58 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Wed, 14 Feb 2024 03:57:33 +0530 Subject: [PATCH] feat(#1009): improve messaging of close collection modal --- .../Collection/RemoveCollection/index.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/RemoveCollection/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/RemoveCollection/index.js index 2635d3b60..9cba09179 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/RemoveCollection/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/RemoveCollection/index.js @@ -2,6 +2,7 @@ import React from 'react'; import toast from 'react-hot-toast'; import Modal from 'components/Modal'; import { useDispatch } from 'react-redux'; +import { IconFiles } from '@tabler/icons'; import { removeCollection } from 'providers/ReduxStore/slices/collections/actions'; const RemoveCollection = ({ onClose, collection }) => { @@ -18,8 +19,17 @@ const RemoveCollection = ({ onClose, collection }) => { return ( - Are you sure you want to close collection {collection.name} from Bruno? It - will remain in your file system in {collection.pathname}. +
+ + {collection.name} +
+
{collection.pathname}
+
+ Are you sure you want to close collection {collection.name} in Bruno? +
+
+ It will still be available in the file system at the above location and can be re-opened later. +
); };