Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+4
-4
@@ -11,7 +11,7 @@ import { createUserSession } from "~/utils/session.server";
|
||||
let routeLoaderData = {
|
||||
title: "General Settings",
|
||||
appConfiguration: {
|
||||
app: { name: "ToolCTRL", url: "https://example.com", theme: "light" },
|
||||
app: { name: "HiveGrid", url: "https://example.com", theme: "light" },
|
||||
branding: { logo: "", logoDarkMode: "", icon: "", iconDarkMode: "", favicon: "" },
|
||||
scripts: { head: "", body: "" },
|
||||
},
|
||||
@@ -153,7 +153,7 @@ function postRequest(form: FormData) {
|
||||
function validForm() {
|
||||
const form = new FormData();
|
||||
form.set("action", "update");
|
||||
form.set("name", "ToolCTRL Cloud");
|
||||
form.set("name", "HiveGrid Cloud");
|
||||
form.set("theme", "dark");
|
||||
form.set("logo", "data:image/png;base64,logo-secret");
|
||||
form.set("logoDarkMode", "");
|
||||
@@ -173,7 +173,7 @@ describe("admin general settings route", () => {
|
||||
routeLoaderData = {
|
||||
title: "General Settings",
|
||||
appConfiguration: {
|
||||
app: { name: "ToolCTRL", url: "https://example.com", theme: "light" },
|
||||
app: { name: "HiveGrid", url: "https://example.com", theme: "light" },
|
||||
branding: { logo: "", logoDarkMode: "", icon: "", iconDarkMode: "", favicon: "" },
|
||||
scripts: { head: "", body: "" },
|
||||
},
|
||||
@@ -222,7 +222,7 @@ describe("admin general settings route", () => {
|
||||
expect(storeFileMock).toHaveBeenCalledWith(expect.objectContaining({ bucket: "branding", content: "https://cdn.example.com/icon.png?token=secret", id: "icon", scan: expect.objectContaining({ context: "mediaLibrary", filename: "icon" }) }));
|
||||
expect(updateAppConfigurationMock).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
name: "ToolCTRL Cloud",
|
||||
name: "HiveGrid Cloud",
|
||||
brandingLogo: "stored:logo",
|
||||
brandingIcon: "stored:icon",
|
||||
headScripts: "<script>window.secret='abc'</script>",
|
||||
|
||||
Reference in new issue
Block a user