diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index ac3391115a..99bb451ff8 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -10,6 +10,11 @@ jobs: chromatic: name: Run Chromatic runs-on: ubuntu-latest + permissions: + contents: read + packages: write + id-token: write + actions: read steps: - name: Harden the runner (Audit all outbound calls) uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 0df9dc5631..a354a323bd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -25,7 +25,6 @@ permissions: id-token: write contents: read actions: read - checks: write jobs: build: diff --git a/.github/workflows/release-docker-github.yml b/.github/workflows/release-docker-github.yml index 58aee8cf5c..30238eb3cf 100644 --- a/.github/workflows/release-docker-github.yml +++ b/.github/workflows/release-docker-github.yml @@ -20,18 +20,15 @@ env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TEAM: ${{ secrets.TURBO_TEAM }} -permissions: - contents: read - jobs: build: runs-on: ubuntu-latest permissions: contents: read packages: write + id-token: write # This is used to complete the identity challenge # with sigstore/fulcio when running outside of PRs. - id-token: write outputs: VERSION: ${{ steps.extract_release_tag.outputs.VERSION }} diff --git a/.github/workflows/release-helm-chart.yml b/.github/workflows/release-helm-chart.yml index 1506dfeb27..fd3bb99022 100644 --- a/.github/workflows/release-helm-chart.yml +++ b/.github/workflows/release-helm-chart.yml @@ -4,7 +4,7 @@ on: workflow_call: inputs: VERSION: - description: 'The version of the Helm chart to release' + description: "The version of the Helm chart to release" required: true type: string diff --git a/.github/workflows/terraform-plan-and-apply.yml b/.github/workflows/terraform-plan-and-apply.yml index 2ae858c779..e9f047d0bf 100644 --- a/.github/workflows/terraform-plan-and-apply.yml +++ b/.github/workflows/terraform-plan-and-apply.yml @@ -1,8 +1,8 @@ -name: 'Terraform' +name: "Terraform" on: workflow_dispatch: -# TODO: enable it back when migration is completed. + # TODO: enable it back when migration is completed. push: branches: - main @@ -14,14 +14,13 @@ on: paths: - "infra/terraform/**" -permissions: - id-token: write - contents: write - pull-requests: write - jobs: terraform: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + pull-requests: write env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: @@ -83,4 +82,3 @@ jobs: if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: terraform apply .planfile working-directory: "infra/terraform" - diff --git a/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/page.tsx b/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/page.tsx index c48d49edbc..af35f6db54 100644 --- a/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/page.tsx +++ b/apps/web/app/(app)/(onboarding)/environments/[environmentId]/connect/page.tsx @@ -44,7 +44,7 @@ const Page = async (props: ConnectPageProps) => { channel={channel} /> diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/ConsentSummary.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/ConsentSummary.tsx index 3bffa7e961..73f1a243a3 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/ConsentSummary.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/ConsentSummary.tsx @@ -41,7 +41,7 @@ export const ConsentSummary = ({ questionSummary, survey, setFilter }: ConsentSu return (
-
+
{summaryItems.map((summaryItem) => { return (
-
+
{renderResponseValue(response.value)}
diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/FileUploadSummary.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/FileUploadSummary.tsx index 405c84b168..39cb0ed6ec 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/FileUploadSummary.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/FileUploadSummary.tsx @@ -80,7 +80,7 @@ export const FileUploadSummary = ({ return (
-
+
diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/HiddenFieldsSummary.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/HiddenFieldsSummary.tsx index 15f6485603..e4210bde63 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/HiddenFieldsSummary.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/HiddenFieldsSummary.tsx @@ -28,7 +28,7 @@ export const HiddenFieldsSummary = ({ environment, questionSummary, locale }: Hi }; return (
-
+

{questionSummary.id}

@@ -76,7 +76,7 @@ export const HiddenFieldsSummary = ({ environment, questionSummary, locale }: Hi
)}
-
+
{response.value}
diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MatrixQuestionSummary.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MatrixQuestionSummary.tsx index e038e7c0aa..2b249875ba 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MatrixQuestionSummary.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MatrixQuestionSummary.tsx @@ -52,7 +52,7 @@ export const MatrixQuestionSummary = ({ questionSummary, survey, setFilter }: Ma - + {columns.map((column) => ( {questionSummary.data.map(({ rowLabel, columnPercentages }, rowIndex) => ( -
@@ -65,7 +65,7 @@ export const MatrixQuestionSummary = ({ questionSummary, survey, setFilter }: Ma
+

{rowLabel}

diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MultipleChoiceSummary.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MultipleChoiceSummary.tsx index 235ba3e422..45ef0d3614 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MultipleChoiceSummary.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/(analysis)/summary/components/MultipleChoiceSummary.tsx @@ -83,7 +83,7 @@ export const MultipleChoiceSummary = ({ ) : undefined } /> -
+
{results.map((result, resultsIdx) => (
-
+
{quesDropOff.ttc > 0 ? (quesDropOff.ttc / 1000).toFixed(2) + "s" : "N/A"}
-
{quesDropOff.impressions}
+
{quesDropOff.impressions}
{quesDropOff.dropOffCount} ({Math.round(quesDropOff.dropOffPercentage)}%) diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/CustomFilter.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/CustomFilter.tsx index c054b33776..484d010efe 100755 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/CustomFilter.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/CustomFilter.tsx @@ -390,7 +390,7 @@ export const CustomFilter = ({ survey }: CustomFilterProps) => { value && handleDatePickerClose(); }}> -
+
{t("common.download")} diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/QuestionFilterComboBox.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/QuestionFilterComboBox.tsx index 5dbe2e1e1d..675cb80954 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/QuestionFilterComboBox.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/components/QuestionFilterComboBox.tsx @@ -91,7 +91,7 @@ export const QuestionFilterComboBox = ({ key={`${o}-${index}`} type="button" onClick={() => handleRemoveMultiSelect(filterComboBoxValue.filter((i) => i !== o))} - className="flex w-30 items-center bg-slate-100 px-2 whitespace-nowrap text-slate-600"> + className="w-30 flex items-center whitespace-nowrap bg-slate-100 px-2 text-slate-600"> {o} @@ -129,7 +129,7 @@ export const QuestionFilterComboBox = ({
diff --git a/apps/web/modules/analysis/components/ShareSurveyLink/components/SurveyLinkDisplay.tsx b/apps/web/modules/analysis/components/ShareSurveyLink/components/SurveyLinkDisplay.tsx index eb99af8299..05013784ae 100644 --- a/apps/web/modules/analysis/components/ShareSurveyLink/components/SurveyLinkDisplay.tsx +++ b/apps/web/modules/analysis/components/ShareSurveyLink/components/SurveyLinkDisplay.tsx @@ -11,7 +11,7 @@ export const SurveyLinkDisplay = ({ surveyUrl }: SurveyLinkDisplayProps) => { ) : ( diff --git a/apps/web/modules/analysis/components/SingleResponseCard/components/QuestionSkip.tsx b/apps/web/modules/analysis/components/SingleResponseCard/components/QuestionSkip.tsx index ae0abe8aab..5cac1ae290 100644 --- a/apps/web/modules/analysis/components/SingleResponseCard/components/QuestionSkip.tsx +++ b/apps/web/modules/analysis/components/SingleResponseCard/components/QuestionSkip.tsx @@ -39,7 +39,7 @@ export const QuestionSkip = ({ background: "repeating-linear-gradient(rgb(148, 163, 184), rgb(148, 163, 184) 5px, transparent 5px, transparent 8px)", // adjust the values to fit your design }}> - +
}
{t("common.welcome_card")}
diff --git a/apps/web/modules/analysis/components/SingleResponseCard/components/RenderResponse.tsx b/apps/web/modules/analysis/components/SingleResponseCard/components/RenderResponse.tsx index 003a698868..2250f9b33e 100644 --- a/apps/web/modules/analysis/components/SingleResponseCard/components/RenderResponse.tsx +++ b/apps/web/modules/analysis/components/SingleResponseCard/components/RenderResponse.tsx @@ -101,7 +101,7 @@ export const RenderResponse: React.FC = ({ return (

+ className="ph-no-capture my-1 font-normal capitalize text-slate-700"> {rowValueInSelectedLanguage}:{processResponseData(responseData[rowValueInSelectedLanguage])}

); diff --git a/apps/web/modules/analysis/components/SingleResponseCard/components/ResponseNote.tsx b/apps/web/modules/analysis/components/SingleResponseCard/components/ResponseNote.tsx index 950a788c83..be4e619c42 100644 --- a/apps/web/modules/analysis/components/SingleResponseCard/components/ResponseNote.tsx +++ b/apps/web/modules/analysis/components/SingleResponseCard/components/ResponseNote.tsx @@ -104,10 +104,10 @@ export const ResponseNotes = ({ !isOpen && unresolvedNotes.length && "group/hint cursor-pointer bg-white hover:-right-3", !isOpen && !unresolvedNotes.length && "cursor-pointer bg-slate-50", isOpen - ? "top-0 -right-2 h-5/6 max-h-[600px] w-1/4 bg-white" + ? "-right-2 top-0 h-5/6 max-h-[600px] w-1/4 bg-white" : unresolvedNotes.length - ? "top-[8.33%] right-0 h-5/6 max-h-[600px] w-1/12" - : "top-[8.333%] right-[120px] h-5/6 max-h-[600px] w-1/12 group-hover:right-[0]" + ? "right-0 top-[8.33%] h-5/6 max-h-[600px] w-1/12" + : "right-[120px] top-[8.333%] h-5/6 max-h-[600px] w-1/12 group-hover:right-[0]" )} onClick={() => { if (!isOpen) setIsOpen(true); @@ -116,7 +116,7 @@ export const ResponseNotes = ({
{!unresolvedNotes.length ? ( @@ -127,7 +127,7 @@ export const ResponseNotes = ({
) : (
- +
)}
@@ -141,7 +141,7 @@ export const ResponseNotes = ({
) : (
-
+

{t("common.note")}

diff --git a/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardBody.tsx b/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardBody.tsx index 9547470f58..fcfb6c61de 100644 --- a/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardBody.tsx +++ b/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardBody.tsx @@ -37,7 +37,7 @@ export const SingleResponseCardBody = ({ return ( + className="ml-0.5 mr-0.5 rounded-md border border-slate-200 bg-slate-50 px-1 py-0.5 text-sm first:ml-0"> @{part} ); diff --git a/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardHeader.tsx b/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardHeader.tsx index 86f0df73bd..13a26263f3 100644 --- a/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardHeader.tsx +++ b/apps/web/modules/analysis/components/SingleResponseCard/components/SingleResponseCardHeader.tsx @@ -153,7 +153,7 @@ export const SingleResponseCardHeader = ({ const deleteSubmissionToolTip = <>{t("environments.surveys.responses.this_response_is_in_progress")}; return ( -
+
{pageType === "response" && ( diff --git a/apps/web/modules/auth/verification-requested/page.tsx b/apps/web/modules/auth/verification-requested/page.tsx index 5250075594..93a60022d6 100644 --- a/apps/web/modules/auth/verification-requested/page.tsx +++ b/apps/web/modules/auth/verification-requested/page.tsx @@ -14,7 +14,7 @@ export const VerificationRequestedPage = async ({ searchParams }) => { return ( <> -

+

{t("auth.verification-requested.please_confirm_your_email_address")}

diff --git a/apps/web/modules/ee/billing/components/billing-slider.tsx b/apps/web/modules/ee/billing/components/billing-slider.tsx index e6190298bb..7f43bb53f7 100644 --- a/apps/web/modules/ee/billing/components/billing-slider.tsx +++ b/apps/web/modules/ee/billing/components/billing-slider.tsx @@ -19,7 +19,7 @@ export const BillingSlider = React.forwardRef

{t(plan.name)} diff --git a/apps/web/modules/ee/contacts/[contactId]/page.tsx b/apps/web/modules/ee/contacts/[contactId]/page.tsx index a58d2d4a24..00f58fab30 100644 --- a/apps/web/modules/ee/contacts/[contactId]/page.tsx +++ b/apps/web/modules/ee/contacts/[contactId]/page.tsx @@ -41,7 +41,7 @@ export const SingleContactPage = async (props: { return ( -
+
@@ -494,7 +494,7 @@ function PersonSegmentFilter({ }} value={personIdentifier}>
@@ -643,7 +643,7 @@ function SegmentSegmentFilter({ }} value={currentSegment?.id}>
diff --git a/apps/web/modules/ee/contacts/segments/components/targeting-card.tsx b/apps/web/modules/ee/contacts/segments/components/targeting-card.tsx index 00600b4a0c..1dfc38ab88 100644 --- a/apps/web/modules/ee/contacts/segments/components/targeting-card.tsx +++ b/apps/web/modules/ee/contacts/segments/components/targeting-card.tsx @@ -171,7 +171,7 @@ export function TargetingCard({ asChild className="h-full w-full cursor-pointer rounded-lg hover:bg-slate-50">
-
+
) : ( -

+

{t("environments.project.languages.no_language_found")}

)} diff --git a/apps/web/modules/ee/multi-language-surveys/components/language-indicator.tsx b/apps/web/modules/ee/multi-language-surveys/components/language-indicator.tsx index 5356f19491..deae75c371 100644 --- a/apps/web/modules/ee/multi-language-surveys/components/language-indicator.tsx +++ b/apps/web/modules/ee/multi-language-surveys/components/language-indicator.tsx @@ -44,7 +44,7 @@ export function LanguageIndicator({ }); return ( -
+
+ className={`absolute right-0 z-30 mt-2 space-y-1 rounded-md bg-white p-1 shadow-lg ring-1 ring-black ring-opacity-5 ${isOpen ? "" : "hidden"}`}> { diff --git a/apps/web/modules/ee/multi-language-surveys/components/multi-language-card.tsx b/apps/web/modules/ee/multi-language-surveys/components/multi-language-card.tsx index 113f3e5d39..45538c853d 100644 --- a/apps/web/modules/ee/multi-language-surveys/components/multi-language-card.tsx +++ b/apps/web/modules/ee/multi-language-surveys/components/multi-language-card.tsx @@ -186,7 +186,7 @@ export const MultiLanguageCard: FC = ({

@@ -248,7 +248,7 @@ export const MultiLanguageCard: FC = ({ ) : ( <> {projectLanguages.length <= 1 && ( -

+
{projectLanguages.length === 0 ? t("environments.surveys.edit.no_languages_found_add_first_one_to_get_started") : t( @@ -260,7 +260,7 @@ export const MultiLanguageCard: FC = ({
{isMultiLanguageAllowed && !isMultiLanguageActivated ? ( -
+
{t("environments.surveys.edit.switch_multi_lanugage_on_to_get_started")}
) : null} diff --git a/apps/web/modules/ee/whitelabel/email-customization/components/email-customization-settings.tsx b/apps/web/modules/ee/whitelabel/email-customization/components/email-customization-settings.tsx index 2de060fbf3..ff68bee140 100644 --- a/apps/web/modules/ee/whitelabel/email-customization/components/email-customization-settings.tsx +++ b/apps/web/modules/ee/whitelabel/email-customization/components/email-customization-settings.tsx @@ -193,7 +193,7 @@ export const EmailCustomizationSettings = ({
{t("environments.settings.general.logo_in_email_header")} -
+
{logoUrl && (
@@ -256,7 +256,7 @@ export const EmailCustomizationSettings = ({
-
+
+ {t("common.only_owners_managers_and_manage_access_members_can_perform_this_action")} diff --git a/apps/web/modules/email/components/email-question-header.tsx b/apps/web/modules/email/components/email-question-header.tsx index 9bd4d98ed1..3dfeb57d33 100644 --- a/apps/web/modules/email/components/email-question-header.tsx +++ b/apps/web/modules/email/components/email-question-header.tsx @@ -10,11 +10,11 @@ interface QuestionHeaderProps { export function QuestionHeader({ headline, subheader, className }: QuestionHeaderProps): React.JSX.Element { return ( <> - + {headline} {subheader && ( - {subheader} + {subheader} )} ); diff --git a/apps/web/modules/email/components/preview-email-template.tsx b/apps/web/modules/email/components/preview-email-template.tsx index 8008f29287..47179f338a 100644 --- a/apps/web/modules/email/components/preview-email-template.tsx +++ b/apps/web/modules/email/components/preview-email-template.tsx @@ -72,8 +72,8 @@ export async function PreviewEmailTemplate({ case TSurveyQuestionTypeEnum.Consent: return ( - {headline} - + {headline} +
{firstQuestion.isColorCodingEnabled ? (
) : null} {i} @@ -162,8 +162,8 @@ export async function PreviewEmailTemplate({ case TSurveyQuestionTypeEnum.CTA: return ( - {headline} - + {headline} +
{firstQuestion.isColorCodingEnabled ? (
) : null} {i + 1} @@ -315,13 +315,13 @@ export async function PreviewEmailTemplate({ {firstQuestion.choices.map((choice) => firstQuestion.allowMulti ? ( ) : ( @@ -369,11 +369,11 @@ export async function PreviewEmailTemplate({
- + {firstQuestion.columns.map((column) => { return ( {getLocalizedValue(column, "default")} @@ -385,7 +385,7 @@ export async function PreviewEmailTemplate({ - + {getLocalizedValue(row, "default")} {firstQuestion.columns.map((_) => { diff --git a/apps/web/modules/email/emails/lib/utils.tsx b/apps/web/modules/email/emails/lib/utils.tsx index d33bbd8510..a62b0603dc 100644 --- a/apps/web/modules/email/emails/lib/utils.tsx +++ b/apps/web/modules/email/emails/lib/utils.tsx @@ -15,7 +15,7 @@ export const renderEmailResponseValue = async ( return ( {overrideFileUploadResponse ? ( - + {t("emails.render_email_response_value_file_upload_response_link_not_included")} ) : ( @@ -66,6 +66,6 @@ export const renderEmailResponseValue = async ( ); default: - return {response}; + return {response}; } }; diff --git a/apps/web/modules/email/emails/survey/response-finished-email.tsx b/apps/web/modules/email/emails/survey/response-finished-email.tsx index d7d5d072a7..9a7dea48ff 100644 --- a/apps/web/modules/email/emails/survey/response-finished-email.tsx +++ b/apps/web/modules/email/emails/survey/response-finished-email.tsx @@ -66,7 +66,7 @@ export async function ResponseFinishedEmail({ )} {variable.name} - + {variableResponse} @@ -84,7 +84,7 @@ export async function ResponseFinishedEmail({ {hiddenFieldId} - + {hiddenFieldResponse} diff --git a/apps/web/modules/integrations/webhooks/components/webhook-row-data.tsx b/apps/web/modules/integrations/webhooks/components/webhook-row-data.tsx index 8357886822..df4a2ed992 100644 --- a/apps/web/modules/integrations/webhooks/components/webhook-row-data.tsx +++ b/apps/web/modules/integrations/webhooks/components/webhook-row-data.tsx @@ -90,7 +90,7 @@ export const WebhookRowData = ({
{renderSelectedTriggersText(webhook, t)}
-
+
{timeSince(webhook.createdAt.toString(), locale)}
diff --git a/apps/web/modules/organization/settings/api-keys/components/edit-api-keys.tsx b/apps/web/modules/organization/settings/api-keys/components/edit-api-keys.tsx index a0fad2a1bb..a99d60cb00 100644 --- a/apps/web/modules/organization/settings/api-keys/components/edit-api-keys.tsx +++ b/apps/web/modules/organization/settings/api-keys/components/edit-api-keys.tsx @@ -162,7 +162,7 @@ export const EditAPIKeys = ({ organizationId, apiKeys, locale, isReadOnly, proje
{apiKeysLocal?.length === 0 ? ( -
+
{t("environments.project.api_keys.no_api_keys_yet")}
) : ( diff --git a/apps/web/modules/organization/settings/api-keys/loading.tsx b/apps/web/modules/organization/settings/api-keys/loading.tsx index 0aae3168e7..a273426e37 100644 --- a/apps/web/modules/organization/settings/api-keys/loading.tsx +++ b/apps/web/modules/organization/settings/api-keys/loading.tsx @@ -10,7 +10,7 @@ const LoadingCard = () => { return (
-

+

{t("common.loading")}

diff --git a/apps/web/modules/organization/settings/teams/components/invite-member/invite-member-modal.tsx b/apps/web/modules/organization/settings/teams/components/invite-member/invite-member-modal.tsx index f8abba9815..f766261446 100644 --- a/apps/web/modules/organization/settings/teams/components/invite-member/invite-member-modal.tsx +++ b/apps/web/modules/organization/settings/teams/components/invite-member/invite-member-modal.tsx @@ -71,7 +71,7 @@ export const InviteMemberModal = ({

-
@@ -159,7 +159,7 @@ export const ProjectLookSettingsLoading = () => { title="Formbricks Signature" description="We love your support but understand if you toggle it off.">
-
+
diff --git a/apps/web/modules/projects/settings/tags/components/single-tag.tsx b/apps/web/modules/projects/settings/tags/components/single-tag.tsx index 818064ffbe..02a6f00ccc 100644 --- a/apps/web/modules/projects/settings/tags/components/single-tag.tsx +++ b/apps/web/modules/projects/settings/tags/components/single-tag.tsx @@ -99,12 +99,12 @@ export const SingleTag: React.FC = ({
-
+
{tagCountLoading ? :

{tagCount}

}
{!isReadOnly && ( -
+
{isMergingTags ? (
@@ -139,7 +139,7 @@ export const SingleTag: React.FC = ({ diff --git a/apps/web/modules/survey/components/question-form-input/components/recall-item-select.tsx b/apps/web/modules/survey/components/question-form-input/components/recall-item-select.tsx index 95e791a278..4e33171b65 100644 --- a/apps/web/modules/survey/components/question-form-input/components/recall-item-select.tsx +++ b/apps/web/modules/survey/components/question-form-input/components/recall-item-select.tsx @@ -179,7 +179,7 @@ export const RecallItemSelect = ({ } }} /> -
+
{filteredRecallItems.map((recallItem, index) => { const IconComponent = getRecallItemIcon(recallItem); return ( @@ -201,7 +201,7 @@ export const RecallItemSelect = ({ } }}>
{IconComponent && }
-

+

{getRecallLabel(recallItem.label)}

diff --git a/apps/web/modules/survey/components/question-form-input/components/recall-wrapper.tsx b/apps/web/modules/survey/components/question-form-input/components/recall-wrapper.tsx index d07afc5295..cd726709bd 100644 --- a/apps/web/modules/survey/components/question-form-input/components/recall-wrapper.tsx +++ b/apps/web/modules/survey/components/question-form-input/components/recall-wrapper.tsx @@ -220,7 +220,7 @@ export const RecallWrapper = ({ } parts.push( {"@" + label} @@ -255,7 +255,7 @@ export const RecallWrapper = ({
diff --git a/apps/web/modules/survey/editor/components/end-screen-form.tsx b/apps/web/modules/survey/editor/components/end-screen-form.tsx index 3491349d8d..7ce0931a64 100644 --- a/apps/web/modules/survey/editor/components/end-screen-form.tsx +++ b/apps/web/modules/survey/editor/components/end-screen-form.tsx @@ -123,7 +123,7 @@ export const EndScreenForm = ({
{showEndingCardCTA && ( -
+
{/* The highlight container is absolutely positioned behind the input */}
{highlightedJSX} diff --git a/apps/web/modules/survey/editor/components/form-styling-settings.tsx b/apps/web/modules/survey/editor/components/form-styling-settings.tsx index ece7a80d04..301a211cb0 100644 --- a/apps/web/modules/survey/editor/components/form-styling-settings.tsx +++ b/apps/web/modules/survey/editor/components/form-styling-settings.tsx @@ -89,7 +89,7 @@ export const FormStylingSettings = ({ )}>
{!isSettingsPage && ( -
+
@@ -161,7 +161,7 @@ export const HiddenFieldsCard = ({ ); }) ) : ( -

+

{t("environments.surveys.edit.no_hidden_fields_yet_add_first_one_below")}

)} diff --git a/apps/web/modules/survey/editor/components/how-to-send-card.tsx b/apps/web/modules/survey/editor/components/how-to-send-card.tsx index a4ba500ad1..d2bb384639 100644 --- a/apps/web/modules/survey/editor/components/how-to-send-card.tsx +++ b/apps/web/modules/survey/editor/components/how-to-send-card.tsx @@ -106,7 +106,7 @@ export const HowToSendCard = ({ localSurvey, setLocalSurvey, environment }: HowT className="h-full w-full cursor-pointer" id="howToSendCardTrigger">
-
+
-
+
{t("environments.surveys.edit.days_before_showing_this_survey_again")}.

diff --git a/apps/web/modules/survey/editor/components/redirect-url-form.tsx b/apps/web/modules/survey/editor/components/redirect-url-form.tsx index 97fe59162d..6262f2384b 100644 --- a/apps/web/modules/survey/editor/components/redirect-url-form.tsx +++ b/apps/web/modules/survey/editor/components/redirect-url-form.tsx @@ -45,7 +45,7 @@ export const RedirectUrlForm = ({ localSurvey, endingCard, updateSurvey }: Redir
{/* The highlight container is absolutely positioned behind the input */}
{highlightedJSX} diff --git a/apps/web/modules/survey/editor/components/saved-actions-tab.tsx b/apps/web/modules/survey/editor/components/saved-actions-tab.tsx index 367511a788..f36c1a86f6 100644 --- a/apps/web/modules/survey/editor/components/saved-actions-tab.tsx +++ b/apps/web/modules/survey/editor/components/saved-actions-tab.tsx @@ -64,7 +64,7 @@ export const SavedActionsTab = ({ (actions, i) => actions.length > 0 && (
-

+

{i === 0 ? t("common.no_code") : t("common.code")}

diff --git a/apps/web/modules/survey/editor/components/survey-menu-bar.tsx b/apps/web/modules/survey/editor/components/survey-menu-bar.tsx index a119bc9b8a..15a035048f 100644 --- a/apps/web/modules/survey/editor/components/survey-menu-bar.tsx +++ b/apps/web/modules/survey/editor/components/survey-menu-bar.tsx @@ -329,7 +329,7 @@ export const SurveyMenuBar = ({ />
-
+
{responseCount > 0 && (
diff --git a/apps/web/modules/survey/editor/components/targeting-locked-card.tsx b/apps/web/modules/survey/editor/components/targeting-locked-card.tsx index 0f94e8503a..ea94c86f16 100644 --- a/apps/web/modules/survey/editor/components/targeting-locked-card.tsx +++ b/apps/web/modules/survey/editor/components/targeting-locked-card.tsx @@ -24,7 +24,7 @@ export const TargetingLockedCard = ({ isFormbricksCloud, environmentId }: Target asChild className="h-full w-full cursor-pointer rounded-lg hover:bg-slate-50">
-
+
diff --git a/apps/web/modules/survey/editor/components/unsplash-images.tsx b/apps/web/modules/survey/editor/components/unsplash-images.tsx index 73fc336e6c..e7a76c22b9 100644 --- a/apps/web/modules/survey/editor/components/unsplash-images.tsx +++ b/apps/web/modules/survey/editor/components/unsplash-images.tsx @@ -192,7 +192,7 @@ export const ImageFromUnsplashSurveyBg = ({ handleBgChange }: ImageFromUnsplashS return (
- + {image.authorName && ( - + {image.authorName} )} diff --git a/apps/web/modules/survey/editor/components/when-to-send-card.tsx b/apps/web/modules/survey/editor/components/when-to-send-card.tsx index 50408e60fe..d06bafa12b 100644 --- a/apps/web/modules/survey/editor/components/when-to-send-card.tsx +++ b/apps/web/modules/survey/editor/components/when-to-send-card.tsx @@ -155,7 +155,7 @@ export const WhenToSendCard = ({ className="h-full w-full cursor-pointer rounded-lg hover:bg-slate-50" id="whenToSendCardTrigger">
-
+
{containsEmptyTriggers ? (
) : ( @@ -178,7 +178,7 @@ export const WhenToSendCard = ({
-
+

{t("environments.surveys.edit.trigger_survey_when_one_of_the_actions_is_fired")} @@ -265,7 +265,7 @@ export const WhenToSendCard = ({

{/* Survey Display Settings */} -
+

{t("environments.surveys.edit.survey_display_settings")}

@@ -294,7 +294,7 @@ export const WhenToSendCard = ({ id="triggerDelay" value={localSurvey.delay.toString()} onChange={(e) => handleTriggerDelay(e)} - className="mr-2 ml-2 inline w-16 bg-white text-center text-sm" + className="ml-2 mr-2 inline w-16 bg-white text-center text-sm" /> {t("environments.surveys.edit.seconds_before_showing_the_survey")}

diff --git a/apps/web/modules/survey/follow-ups/components/follow-up-item.tsx b/apps/web/modules/survey/follow-ups/components/follow-up-item.tsx index c30b1ca4cf..d82982ad36 100644 --- a/apps/web/modules/survey/follow-ups/components/follow-up-item.tsx +++ b/apps/web/modules/survey/follow-ups/components/follow-up-item.tsx @@ -146,7 +146,7 @@ export const FollowUpItem = ({
-
+
-
+