merge: stack assistant on mobile boards

This commit is contained in:
Thomas Camlong committed 2026-08-08 21:27:56 +02:00
commit 9fd7a8a05b
1326 files changed
+131355 -46380

No files matched your search

+15
View File
@@ -56,7 +56,10 @@ interface DynamicSelectInput extends CommonInput<DynamicSelectOption | null> {
query: string,
integrationIds: string[],
options: Record<string, unknown>,
itemId?: string,
boardId?: string,
) => {
error?: string;
isPending: boolean;
isError?: boolean;
options: DynamicSelectOption[];
@@ -99,6 +102,12 @@ export interface OptionLocation {
}
const optionsFactory = {
internal: <T>(input: CommonInput<T> & { defaultValue: T }) => ({
type: "internal" as const,
defaultValue: input.defaultValue,
withDescription: false,
skipContextMenu: true,
}),
switch: (input?: CommonInput<boolean>) => ({
type: "switch" as const,
defaultValue: input?.defaultValue ?? false,
@@ -217,6 +226,12 @@ const optionsFactory = {
defaultValue: input?.defaultValue ?? "",
withDescription: input?.withDescription ?? false,
}),
customWidgetConfiguration: (input?: CommonInput<Record<string, unknown>>) => ({
type: "customWidgetConfiguration" as const,
defaultValue: input?.defaultValue ?? {},
withDescription: input?.withDescription ?? false,
skipContextMenu: true,
}),
sortableItemList: <const TItem, const TOptionValue extends UniqueIdentifier>(
input: SortableItemListInput<TItem, TOptionValue>,
) => ({