mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 02:10:12 -06:00
Merge branch 'main' of github.com:formbricks/formbricks into FBRICKS-332
This commit is contained in:
@@ -22,6 +22,7 @@ export default function MultipleChoiceSingleQuestion({
|
||||
const [selectedChoice, setSelectedChoice] = useState<string | null>(null);
|
||||
/* const [isIphone, setIsIphone] = useState(false);
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
setIsIphone(/iPhone|iPad|iPod/.test(navigator.userAgent));
|
||||
}, []);
|
||||
@@ -84,6 +85,9 @@ export default function MultipleChoiceSingleQuestion({
|
||||
{/* {isIphone && question.choices.length > 5 && (
|
||||
<div className="z-50 -mt-8 h-8 bg-gradient-to-b from-transparent to-white"></div>
|
||||
)} */}
|
||||
{/* {isIphone && question.choices.length > 5 && (
|
||||
<div className="z-50 -mt-8 h-8 bg-gradient-to-b from-transparent to-white"></div>
|
||||
)} */}
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
@@ -192,9 +192,11 @@ model Survey {
|
||||
environmentId String
|
||||
status SurveyStatus @default(draft)
|
||||
/// @zod.custom(imports.ZSurveyQuestions)
|
||||
/// @zod.custom(imports.ZSurveyQuestions)
|
||||
/// [SurveyQuestions]
|
||||
questions Json @default("[]")
|
||||
/// @zod.custom(imports.ZSurveyThankYouCard)
|
||||
/// @zod.custom(imports.ZSurveyThankYouCard)
|
||||
/// [SurveyThankYouCard]
|
||||
thankYouCard Json @default("{\"enabled\": false}")
|
||||
responses Response[]
|
||||
@@ -215,6 +217,7 @@ model Event {
|
||||
session Session @relation(fields: [sessionId], references: [id], onDelete: Cascade)
|
||||
sessionId String
|
||||
/// @zod.custom(imports.ZEventProperties)
|
||||
/// @zod.custom(imports.ZEventProperties)
|
||||
/// [EventProperties]
|
||||
properties Json @default("{}")
|
||||
}
|
||||
@@ -420,6 +423,7 @@ model User {
|
||||
role Role?
|
||||
objective Objective?
|
||||
/// @zod.custom(imports.ZUserNotificationSettings)
|
||||
/// @zod.custom(imports.ZUserNotificationSettings)
|
||||
/// [UserNotificationSettings]
|
||||
notificationSettings Json @default("{}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user