diff --git a/app/package.json b/app/package.json index 115f4c4ac..956b87c79 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "app", - "version": "1.58.2", + "version": "1.59.0", "main": "module/module.js", "license": "MIT", "scripts": { diff --git a/app/public/template-screenshots/code-flow.png b/app/public/template-screenshots/code-flow.png index 1a15fdb72..c2f9d68c5 100644 Binary files a/app/public/template-screenshots/code-flow.png and b/app/public/template-screenshots/code-flow.png differ diff --git a/app/public/template-screenshots/decision-flow.png b/app/public/template-screenshots/decision-flow.png index 317046084..4f7b052cd 100644 Binary files a/app/public/template-screenshots/decision-flow.png and b/app/public/template-screenshots/decision-flow.png differ diff --git a/app/public/template-screenshots/default.png b/app/public/template-screenshots/default.png index 1450a36b0..4e4c1f36e 100644 Binary files a/app/public/template-screenshots/default.png and b/app/public/template-screenshots/default.png differ diff --git a/app/public/template-screenshots/flowchart.png b/app/public/template-screenshots/flowchart.png index a31377ea4..d84014b98 100644 Binary files a/app/public/template-screenshots/flowchart.png and b/app/public/template-screenshots/flowchart.png differ diff --git a/app/public/template-screenshots/mindmap-dark.png b/app/public/template-screenshots/mindmap-dark.png index f3b861395..142802abd 100644 Binary files a/app/public/template-screenshots/mindmap-dark.png and b/app/public/template-screenshots/mindmap-dark.png differ diff --git a/app/public/template-screenshots/mindmap.png b/app/public/template-screenshots/mindmap.png index 8df409781..768454495 100644 Binary files a/app/public/template-screenshots/mindmap.png and b/app/public/template-screenshots/mindmap.png differ diff --git a/app/public/template-screenshots/network-diagram-dark.png b/app/public/template-screenshots/network-diagram-dark.png index cea5fd99d..7bd30599d 100644 Binary files a/app/public/template-screenshots/network-diagram-dark.png and b/app/public/template-screenshots/network-diagram-dark.png differ diff --git a/app/public/template-screenshots/org-chart.png b/app/public/template-screenshots/org-chart.png index f2d8738a1..dcaca2d27 100644 Binary files a/app/public/template-screenshots/org-chart.png and b/app/public/template-screenshots/org-chart.png differ diff --git a/app/public/template-screenshots/pert-light.png b/app/public/template-screenshots/pert-light.png index aae817fec..8f18b828f 100644 Binary files a/app/public/template-screenshots/pert-light.png and b/app/public/template-screenshots/pert-light.png differ diff --git a/app/public/template-screenshots/playful-mindmap.png b/app/public/template-screenshots/playful-mindmap.png index 7be9a276c..a0cf86603 100644 Binary files a/app/public/template-screenshots/playful-mindmap.png and b/app/public/template-screenshots/playful-mindmap.png differ diff --git a/app/public/template-screenshots/process-flow.png b/app/public/template-screenshots/process-flow.png index e4af50afc..8fccb4590 100644 Binary files a/app/public/template-screenshots/process-flow.png and b/app/public/template-screenshots/process-flow.png differ diff --git a/app/public/template-screenshots/thumb_code-flow.png b/app/public/template-screenshots/thumb_code-flow.png index 35fc1727e..cca96ac18 100644 Binary files a/app/public/template-screenshots/thumb_code-flow.png and b/app/public/template-screenshots/thumb_code-flow.png differ diff --git a/app/public/template-screenshots/thumb_decision-flow.png b/app/public/template-screenshots/thumb_decision-flow.png index 72f2a96a7..32e34444d 100644 Binary files a/app/public/template-screenshots/thumb_decision-flow.png and b/app/public/template-screenshots/thumb_decision-flow.png differ diff --git a/app/public/template-screenshots/thumb_default.png b/app/public/template-screenshots/thumb_default.png index d252dadd1..ff7cb64d1 100644 Binary files a/app/public/template-screenshots/thumb_default.png and b/app/public/template-screenshots/thumb_default.png differ diff --git a/app/public/template-screenshots/thumb_flowchart.png b/app/public/template-screenshots/thumb_flowchart.png index 688ae653d..7c15038e5 100644 Binary files a/app/public/template-screenshots/thumb_flowchart.png and b/app/public/template-screenshots/thumb_flowchart.png differ diff --git a/app/public/template-screenshots/thumb_knowledge-graph.png b/app/public/template-screenshots/thumb_knowledge-graph.png index fb86070ec..ce25e3dfc 100644 Binary files a/app/public/template-screenshots/thumb_knowledge-graph.png and b/app/public/template-screenshots/thumb_knowledge-graph.png differ diff --git a/app/public/template-screenshots/thumb_mindmap-dark.png b/app/public/template-screenshots/thumb_mindmap-dark.png index 55da448a6..396575825 100644 Binary files a/app/public/template-screenshots/thumb_mindmap-dark.png and b/app/public/template-screenshots/thumb_mindmap-dark.png differ diff --git a/app/public/template-screenshots/thumb_mindmap.png b/app/public/template-screenshots/thumb_mindmap.png index 8e6ee2a77..330b92700 100644 Binary files a/app/public/template-screenshots/thumb_mindmap.png and b/app/public/template-screenshots/thumb_mindmap.png differ diff --git a/app/public/template-screenshots/thumb_network-diagram-dark.png b/app/public/template-screenshots/thumb_network-diagram-dark.png index c36215211..8b9fb0acb 100644 Binary files a/app/public/template-screenshots/thumb_network-diagram-dark.png and b/app/public/template-screenshots/thumb_network-diagram-dark.png differ diff --git a/app/public/template-screenshots/thumb_network-diagram-dark.ts.png b/app/public/template-screenshots/thumb_network-diagram-dark.ts.png index b05581005..bc14f5358 100644 Binary files a/app/public/template-screenshots/thumb_network-diagram-dark.ts.png and b/app/public/template-screenshots/thumb_network-diagram-dark.ts.png differ diff --git a/app/public/template-screenshots/thumb_network-diagram-icons.png b/app/public/template-screenshots/thumb_network-diagram-icons.png index a9b32a9c5..f652fdec0 100644 Binary files a/app/public/template-screenshots/thumb_network-diagram-icons.png and b/app/public/template-screenshots/thumb_network-diagram-icons.png differ diff --git a/app/public/template-screenshots/thumb_org-chart.png b/app/public/template-screenshots/thumb_org-chart.png index 1f085e172..6021371cb 100644 Binary files a/app/public/template-screenshots/thumb_org-chart.png and b/app/public/template-screenshots/thumb_org-chart.png differ diff --git a/app/public/template-screenshots/thumb_pert-light.png b/app/public/template-screenshots/thumb_pert-light.png index 688178daa..46bffa770 100644 Binary files a/app/public/template-screenshots/thumb_pert-light.png and b/app/public/template-screenshots/thumb_pert-light.png differ diff --git a/app/public/template-screenshots/thumb_playful-mindmap.png b/app/public/template-screenshots/thumb_playful-mindmap.png index dc4188043..08145d542 100644 Binary files a/app/public/template-screenshots/thumb_playful-mindmap.png and b/app/public/template-screenshots/thumb_playful-mindmap.png differ diff --git a/app/public/template-screenshots/thumb_process-flow.png b/app/public/template-screenshots/thumb_process-flow.png index 7a2dd37dd..0e22d7b50 100644 Binary files a/app/public/template-screenshots/thumb_process-flow.png and b/app/public/template-screenshots/thumb_process-flow.png differ diff --git a/app/scripts/screenshot-templates.mjs b/app/scripts/screenshot-templates.mjs index ba13a0968..581318cd5 100644 --- a/app/scripts/screenshot-templates.mjs +++ b/app/scripts/screenshot-templates.mjs @@ -3,7 +3,6 @@ import fs from "fs"; import { chromium } from "playwright"; import { exec } from "child_process"; import util from "util"; -import { writeFile } from "fs/promises"; const execAsync = util.promisify(exec); diff --git a/app/src/components/Layout.tsx b/app/src/components/Layout.tsx index 7398bb66b..a5b9215f9 100644 --- a/app/src/components/Layout.tsx +++ b/app/src/components/Layout.tsx @@ -1,5 +1,5 @@ import cx from "classnames"; -import { X, Wrench } from "phosphor-react"; +import { X } from "phosphor-react"; import { lazy, memo, ReactNode, Suspense, useState } from "react"; import { useFullscreen, useIsEditorView } from "../lib/hooks"; @@ -9,9 +9,6 @@ import { Header } from "./Header"; import styles from "./Layout.module.css"; import Loading from "./Loading"; import { VersionCheck } from "./VersionCheck"; -import * as Dialog from "@radix-ui/react-dialog"; -import { Overlay, Content } from "../ui/Dialog"; -import { Trans, t } from "@lingui/macro"; const PaywallModal = lazy(() => import("./PaywallModal")); const Layout = memo(({ children }: { children: ReactNode }) => { diff --git a/app/src/components/LoadTemplateDialog.tsx b/app/src/components/LoadTemplateDialog.tsx index 06e9fc283..327996488 100644 --- a/app/src/components/LoadTemplateDialog.tsx +++ b/app/src/components/LoadTemplateDialog.tsx @@ -150,23 +150,26 @@ export function LoadTemplateDialog() { ) : ( -