Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): support multi-select elicitation forms and opt in Antigravity chat #15926

ClosedDroyder7(GitHub profile, opens in a new tab)wants to merge 15 commits intomain fromrefs/pull/15926/headopened View on GitHub

Showing 27 changed files with 46 additions and 1 deletion (loading 24).

x
0 of 27 viewed, 27 left
11 additions and 0 deletionsapps/mobile/src/features/threads/PendingUserInputCard.tsxModified
View file
@@ -278,6 +278,17 @@
<Text className="font-sans text-base leading-snug text-foreground">
{question.question}
</Text>
+ {question.multiSelect ? (
+ <Text className="font-sans text-xs text-foreground-muted">
+ {question.minItems !== undefined && question.maxItems !== undefined
+ ? `Select between ${question.minItems} and ${question.maxItems} options.`
+ : question.maxItems !== undefined
+ ? `Select up to ${question.maxItems} option${question.maxItems === 1 ? "" : "s"}.`
+ : question.minItems !== undefined
+ ? `Select at least ${question.minItems} option${question.minItems === 1 ? "" : "s"}.`
+ : "Select one or more options."}
+ </Text>
+ ) : null}
<View className="gap-2">
{question.options.map((option) => {
const optionValue = option.value ?? option.label.trim();
2 additions and 0 deletionsapps/mobile/src/features/threads/QuestionAttachments.tsxModified
View file
@@ -12,6 +12,7 @@
import { useThreadSelection } from "../../state/use-thread-selection";
import { useNavigation } from "@react-navigation/native";
import { FilePreviewModal, type FilePreviewSource } from "../../components/FilePreviewModal";
+import { pendingUserInputKeyboardType } from "./pendingUserInputLayout";
import { VideoPreviewModal, type VideoPreviewSource } from "../../components/VideoPreviewModal";
import { useServerConfigs } from "../../state/entities";
import { appAtomRegistry } from "../../state/atom-registry";