diff --git a/apps/web/lib/storage/utils.ts b/apps/web/lib/storage/utils.ts index 193978ccb0..fd6f5464aa 100644 --- a/apps/web/lib/storage/utils.ts +++ b/apps/web/lib/storage/utils.ts @@ -11,11 +11,11 @@ export const getOriginalFileNameFromUrl = (fileURL: string) => { const fileId = fileNameFromURL?.split("--fid--")[1] ?? ""; if (!fileId) { - const fileName = originalFileName ? decodeURIComponent(originalFileName || "") : ""; + const fileName = originalFileName ? decodeURIComponent(originalFileName) : ""; return fileName; } - const fileName = originalFileName ? decodeURIComponent(`${originalFileName}.${fileExt}` || "") : ""; + const fileName = originalFileName ? decodeURIComponent(`${originalFileName}.${fileExt}`) : ""; return fileName; } catch (error) { logger.error(error, "Error parsing file URL"); @@ -28,7 +28,7 @@ export const getFileNameWithIdFromUrl = (fileURL: string) => { ? fileURL.split("/").pop() : new URL(fileURL).pathname.split("/").pop(); - return fileNameFromURL ? decodeURIComponent(fileNameFromURL || "") : ""; + return fileNameFromURL ? decodeURIComponent(fileNameFromURL) : ""; } catch (error) { logger.error(error, "Error parsing file URL"); } diff --git a/apps/web/modules/ui/components/editor/styles-editor-frontend.css b/apps/web/modules/ui/components/editor/styles-editor-frontend.css index 573d5d2721..f93a569283 100644 --- a/apps/web/modules/ui/components/editor/styles-editor-frontend.css +++ b/apps/web/modules/ui/components/editor/styles-editor-frontend.css @@ -25,9 +25,8 @@ .fb-editor-heading-h1 { font-size: 25px !important; - font-weight: 400 !important; - margin-bottom: 20px !important; font-weight: bold !important; + margin-bottom: 20px !important; } .fb-editor-heading-h2 { diff --git a/apps/web/modules/ui/components/editor/styles-editor.css b/apps/web/modules/ui/components/editor/styles-editor.css index f9e118b78d..535fda0eb8 100644 --- a/apps/web/modules/ui/components/editor/styles-editor.css +++ b/apps/web/modules/ui/components/editor/styles-editor.css @@ -44,9 +44,8 @@ font-size: 14px; position: relative; tab-size: 1; - outline: 0; - padding: 10px 10px; outline: none; + padding: 10px 10px; } pre::-webkit-scrollbar { @@ -121,7 +120,6 @@ pre::-webkit-scrollbar-thumb { .toolbar .toolbar-item .text { line-height: 20px; - width: 200px; vertical-align: middle; font-size: 14px; text-overflow: ellipsis; diff --git a/uploads/ars2tjk8hsi8oqk1uac00mo8/private/export-mock_survey-2025-04-24-11-03-57.csv b/uploads/ars2tjk8hsi8oqk1uac00mo8/private/export-mock_survey-2025-04-24-11-03-57.csv new file mode 100644 index 0000000000..51988b1cc3 --- /dev/null +++ b/uploads/ars2tjk8hsi8oqk1uac00mo8/private/export-mock_survey-2025-04-24-11-03-57.csv @@ -0,0 +1,2 @@ +"No.","Response ID","Timestamp","Finished","Survey ID","Formbricks ID (internal)","User ID","Notes","Tags","source","url","userAgent - browser","userAgent - os","userAgent - device","1. Question Text" +1,"z32bqib0nlcw8vqymlj6m8x7","2025-04-24 11:03:56","Yes","nlg30c8btxljivh6dfcoxve2","","","Pavitr Prabhakar: Abc12345","tag1","https://www.example.com","https://www.example.com","Chrome","Abc12345","Abc12345","" \ No newline at end of file diff --git a/uploads/ars2tjk8hsi8oqk1uac00mo8/private/export-mock_survey-2025-04-24-11-03-57.xlsx b/uploads/ars2tjk8hsi8oqk1uac00mo8/private/export-mock_survey-2025-04-24-11-03-57.xlsx new file mode 100644 index 0000000000..69b6e8bf3c Binary files /dev/null and b/uploads/ars2tjk8hsi8oqk1uac00mo8/private/export-mock_survey-2025-04-24-11-03-57.xlsx differ