From 879d2271b78dd4e5c245534765c072c29dfbc7c2 Mon Sep 17 00:00:00 2001 From: Abhishek S Lal Date: Tue, 9 Dec 2025 22:54:56 +0530 Subject: [PATCH] fix: update default state for advanced options and change default collection format (#6366) --- .../src/components/Sidebar/CreateCollection/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js b/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js index 9137d0b53..6552d12fb 100644 --- a/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js +++ b/packages/bruno-app/src/components/Sidebar/CreateCollection/index.js @@ -27,7 +27,7 @@ const CreateCollection = ({ onClose, defaultLocation: propDefaultLocation }) => const [isEditing, toggleEditing] = useState(false); const preferences = useSelector((state) => state.app.preferences); const [showExternalLocation, setShowExternalLocation] = useState(false); - const [showAdvanced, setShowAdvanced] = useState(false); + const [showAdvanced, setShowAdvanced] = useState(true); const dropdownTippyRef = useRef(); const onDropdownCreate = (ref) => (dropdownTippyRef.current = ref); @@ -47,7 +47,7 @@ const CreateCollection = ({ onClose, defaultLocation: propDefaultLocation }) => collectionName: '', collectionFolderName: '', collectionLocation: defaultLocation || '', - format: 'yml' + format: 'bru' }, validationSchema: Yup.object({ collectionName: Yup.string()