Revert "fix: default board roundness to sm"
This reverts commit c235cbdf2b.
This commit is contained in:
1 parent
ff228b8397
commit
1d210e930b
14 files changed
+5
-9069
No files matched your search
@@ -1 +0,0 @@
|
|||||||
ALTER TABLE `board` MODIFY COLUMN `item_radius` text NOT NULL DEFAULT ('sm');
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -337,13 +337,6 @@
|
|||||||
"when": 1786217088950,
|
"when": 1786217088950,
|
||||||
"tag": "0047_add_assistant_tables",
|
"tag": "0047_add_assistant_tables",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 48,
|
|
||||||
"version": "5",
|
|
||||||
"when": 1787402627665,
|
|
||||||
"tag": "0048_certain_gressill",
|
|
||||||
"breakpoints": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
ALTER TABLE "board" ALTER COLUMN "item_radius" SET DEFAULT 'sm';
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -99,13 +99,6 @@
|
|||||||
"when": 1786217088954,
|
"when": 1786217088954,
|
||||||
"tag": "0013_add_assistant_tables",
|
"tag": "0013_add_assistant_tables",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 14,
|
|
||||||
"version": "7",
|
|
||||||
"when": 1787402632156,
|
|
||||||
"tag": "0014_little_franklin_storm",
|
|
||||||
"breakpoints": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -862,7 +862,7 @@ const seedDemoUserAsync = async (db: Database) => {
|
|||||||
primaryColor: "#748FFC",
|
primaryColor: "#748FFC",
|
||||||
secondaryColor: "#3BC9DB",
|
secondaryColor: "#3BC9DB",
|
||||||
opacity: 90,
|
opacity: 90,
|
||||||
itemRadius: "sm",
|
itemRadius: "xl",
|
||||||
});
|
});
|
||||||
|
|
||||||
const mainSectionId = createId();
|
const mainSectionId = createId();
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
PRAGMA foreign_keys=OFF;--> statement-breakpoint
|
|
||||||
CREATE TABLE `__new_board` (
|
|
||||||
`id` text PRIMARY KEY NOT NULL,
|
|
||||||
`name` text NOT NULL,
|
|
||||||
`is_public` integer DEFAULT false NOT NULL,
|
|
||||||
`creator_id` text,
|
|
||||||
`page_title` text,
|
|
||||||
`meta_title` text,
|
|
||||||
`logo_image_url` text,
|
|
||||||
`favicon_image_url` text,
|
|
||||||
`background_image_url` text,
|
|
||||||
`background_image_attachment` text DEFAULT 'fixed' NOT NULL,
|
|
||||||
`background_image_repeat` text DEFAULT 'no-repeat' NOT NULL,
|
|
||||||
`background_image_size` text DEFAULT 'cover' NOT NULL,
|
|
||||||
`primary_color` text DEFAULT '#fa5252' NOT NULL,
|
|
||||||
`secondary_color` text DEFAULT '#fd7e14' NOT NULL,
|
|
||||||
`opacity` integer DEFAULT 100 NOT NULL,
|
|
||||||
`custom_css` text,
|
|
||||||
`icon_color` text,
|
|
||||||
`item_radius` text DEFAULT 'sm' NOT NULL,
|
|
||||||
`disable_status` integer DEFAULT false NOT NULL,
|
|
||||||
FOREIGN KEY (`creator_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE set null
|
|
||||||
);
|
|
||||||
--> statement-breakpoint
|
|
||||||
INSERT INTO `__new_board`("id", "name", "is_public", "creator_id", "page_title", "meta_title", "logo_image_url", "favicon_image_url", "background_image_url", "background_image_attachment", "background_image_repeat", "background_image_size", "primary_color", "secondary_color", "opacity", "custom_css", "icon_color", "item_radius", "disable_status") SELECT "id", "name", "is_public", "creator_id", "page_title", "meta_title", "logo_image_url", "favicon_image_url", "background_image_url", "background_image_attachment", "background_image_repeat", "background_image_size", "primary_color", "secondary_color", "opacity", "custom_css", "icon_color", "item_radius", "disable_status" FROM `board`;--> statement-breakpoint
|
|
||||||
DROP TABLE `board`;--> statement-breakpoint
|
|
||||||
ALTER TABLE `__new_board` RENAME TO `board`;--> statement-breakpoint
|
|
||||||
PRAGMA foreign_keys=ON;--> statement-breakpoint
|
|
||||||
CREATE UNIQUE INDEX `board_name_unique` ON `board` (`name`);
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -323,13 +323,6 @@
|
|||||||
"when": 1786217088950,
|
"when": 1786217088950,
|
||||||
"tag": "0045_add_assistant_tables",
|
"tag": "0045_add_assistant_tables",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 46,
|
|
||||||
"version": "6",
|
|
||||||
"when": 1787402621976,
|
|
||||||
"tag": "0046_pale_madame_web",
|
|
||||||
"breakpoints": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -295,7 +295,7 @@ export const boards = mysqlTable("board", {
|
|||||||
opacity: int().default(100).notNull(),
|
opacity: int().default(100).notNull(),
|
||||||
customCss: text(),
|
customCss: text(),
|
||||||
iconColor: text(),
|
iconColor: text(),
|
||||||
itemRadius: text().$type<MantineSize>().default("sm").notNull(),
|
itemRadius: text().$type<MantineSize>().default("lg").notNull(),
|
||||||
disableStatus: boolean().default(false).notNull(),
|
disableStatus: boolean().default(false).notNull(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ export const boards = pgTable("board", {
|
|||||||
opacity: integer().default(100).notNull(),
|
opacity: integer().default(100).notNull(),
|
||||||
customCss: text(),
|
customCss: text(),
|
||||||
iconColor: text(),
|
iconColor: text(),
|
||||||
itemRadius: text().$type<MantineSize>().default("sm").notNull(),
|
itemRadius: text().$type<MantineSize>().default("lg").notNull(),
|
||||||
disableStatus: boolean().default(false).notNull(),
|
disableStatus: boolean().default(false).notNull(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ export const boards = sqliteTable("board", {
|
|||||||
opacity: int().default(100).notNull(),
|
opacity: int().default(100).notNull(),
|
||||||
customCss: text(),
|
customCss: text(),
|
||||||
iconColor: text(),
|
iconColor: text(),
|
||||||
itemRadius: text().$type<MantineSize>().default("sm").notNull(),
|
itemRadius: text().$type<MantineSize>().default("lg").notNull(),
|
||||||
disableStatus: int({ mode: "boolean" }).default(false).notNull(),
|
disableStatus: int({ mode: "boolean" }).default(false).notNull(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ export const SetupStudio = ({ environment, assistantConfiguration }: OnboardingS
|
|||||||
const [boardName, setBoardName] = useState(initialBoard?.name ?? "dashboard");
|
const [boardName, setBoardName] = useState(initialBoard?.name ?? "dashboard");
|
||||||
const [primaryColor, setPrimaryColor] = useState(initialPrimaryColor);
|
const [primaryColor, setPrimaryColor] = useState(initialPrimaryColor);
|
||||||
const [secondaryColor, setSecondaryColor] = useState(initialSecondaryColor);
|
const [secondaryColor, setSecondaryColor] = useState(initialSecondaryColor);
|
||||||
const [itemRadius, setItemRadius] = useState<MantineSize>("sm");
|
const [itemRadius, setItemRadius] = useState<MantineSize>("lg");
|
||||||
const [columnCount, setColumnCount] = useState(10);
|
const [columnCount, setColumnCount] = useState(10);
|
||||||
const [leftSidebar, setLeftSidebar] = useState(false);
|
const [leftSidebar, setLeftSidebar] = useState(false);
|
||||||
const [rightSidebar, setRightSidebar] = useState(false);
|
const [rightSidebar, setRightSidebar] = useState(false);
|
||||||
|
|||||||
Reference in new issue
Block a user