From 8b5d3e230d96d0d8050191ce7b77e42dd5810f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Vassb=C3=B8?= Date: Thu, 18 Jul 2024 13:13:20 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Improvements=20-=20Changed=20defaul?= =?UTF-8?q?t=20navigation=20size=20-=20No=20output=20refresh=20when=20anot?= =?UTF-8?q?her=20line=20changes=20-=20Updated=20about?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/global.css | 2 +- public/lang/en.json | 8 +-- src/electron/data/defaults.ts | 8 +-- src/frontend/MainLayout.svelte | 3 +- src/frontend/components/drawer/Drawer.svelte | 2 +- src/frontend/components/main/Toast.svelte | 2 +- src/frontend/components/main/Top.svelte | 4 +- .../components/main/popups/About.svelte | 51 ++++++++++++++----- src/frontend/components/output/Output.svelte | 17 ++++++- .../output/layers/SlideContent.svelte | 2 + src/frontend/components/show/Projects.svelte | 6 +-- src/frontend/components/show/Show.svelte | 1 + src/frontend/components/slide/Textbox.svelte | 4 +- .../components/system/Resizeable.svelte | 17 ++++--- src/frontend/stores.ts | 4 +- src/frontend/utils/common.ts | 2 + src/frontend/utils/language.ts | 6 +-- 17 files changed, 94 insertions(+), 45 deletions(-) diff --git a/public/global.css b/public/global.css index 17a2a671..7a45118a 100644 --- a/public/global.css +++ b/public/global.css @@ -43,7 +43,7 @@ --border-radius: 0; /* --navigation-width: 18vw; */ - --navigation-width: 300px; + --navigation-width: 290px; } html, diff --git a/public/lang/en.json b/public/lang/en.json index 63191692..b69beb04 100644 --- a/public/lang/en.json +++ b/public/lang/en.json @@ -30,9 +30,11 @@ "about": { "check_updates": "Look for updates", "made": "Made in Norway by", - "report": "Want to report an issue? Create an issue on GitHub", - "help": "Want to help translate or request a feature? Send a mail to", - "support": "Support the project?", + "more": "Please check out more of our applications at", + "report": "To report an issue or request a feature? Go to", + "translate": "Want to help translate? Please head over to", + "mail": "Contact via email", + "support": "If you are grateful for this project, please consider supporting it", "assets": "Assets used", "libraries": "Libraries used", "thanks": "Thanks to", diff --git a/src/electron/data/defaults.ts b/src/electron/data/defaults.ts index e3985744..c5d6c52c 100644 --- a/src/electron/data/defaults.ts +++ b/src/electron/data/defaults.ts @@ -49,10 +49,10 @@ export const defaultSettings: { [key in SaveListSettings]: any } = { jesus: { name: "Jesus, Only Jesus", type: "vimeo", id: "426363743" }, }, resized: { - leftPanel: 300, - rightPanel: 300, - leftPanelDrawer: 300, - rightPanelDrawer: 300, + leftPanel: 290, + rightPanel: 290, + leftPanelDrawer: 290, + rightPanelDrawer: 290, }, slidesOptions: { columns: 4, mode: "grid" }, mediaOptions: { columns: 5, mode: "grid" }, diff --git a/src/frontend/MainLayout.svelte b/src/frontend/MainLayout.svelte index 7a47fd03..8015236b 100644 --- a/src/frontend/MainLayout.svelte +++ b/src/frontend/MainLayout.svelte @@ -20,6 +20,7 @@ import StageTools from "./components/stage/StageTools.svelte" import Resizeable from "./components/system/Resizeable.svelte" import { activeEdit, activePage, activeShow, activeStage, currentWindow, loaded, os } from "./stores" + import { DEFAULT_WIDTH } from "./utils/common" $: page = $activePage $: isWindows = !$currentWindow && $os.platform === "win32" @@ -59,7 +60,7 @@ -
300 * 1.5}> +
DEFAULT_WIDTH * 1.8}> {#if page === "show"} {#if $activeShow && ($activeShow.type === "show" || $activeShow.type === undefined)} diff --git a/src/frontend/components/drawer/Drawer.svelte b/src/frontend/components/drawer/Drawer.svelte index 8002d5b6..9194dfec 100644 --- a/src/frontend/components/drawer/Drawer.svelte +++ b/src/frontend/components/drawer/Drawer.svelte @@ -224,7 +224,7 @@ background-color: rgb(0 0 0 / 0.2); color: var(--text); /* font-family: inherit; */ - width: 300px; + width: var(--navigation-width); /* width: 50%; */ padding: 0 8px; border: none; diff --git a/src/frontend/components/main/Toast.svelte b/src/frontend/components/main/Toast.svelte index 9eb659b5..5490c59a 100644 --- a/src/frontend/components/main/Toast.svelte +++ b/src/frontend/components/main/Toast.svelte @@ -46,7 +46,7 @@ position: absolute; bottom: 0; right: 0; - max-width: 300px; + max-width: var(--navigation-width); /* bottom: 80px; left: 50%; transform: translateX(-50%); */ diff --git a/src/frontend/components/main/Top.svelte b/src/frontend/components/main/Top.svelte index 9b2a794c..5b983633 100644 --- a/src/frontend/components/main/Top.svelte +++ b/src/frontend/components/main/Top.svelte @@ -12,7 +12,7 @@ - + {#if !$saved && $os.platform !== "win32"}
{/if} @@ -29,7 +29,7 @@ - + diff --git a/src/frontend/components/main/popups/About.svelte b/src/frontend/components/main/popups/About.svelte index 47e72fb9..290f74e2 100644 --- a/src/frontend/components/main/popups/About.svelte +++ b/src/frontend/components/main/popups/About.svelte @@ -5,8 +5,8 @@ const assets: { [key: string]: string } = { "CMG Sans (Custom font)": "https://www.churchmotiongraphics.com/cmg-sans/", - "Google Fonts (Icons)": "https://fonts.google.com/icons", - "Icons8 (Icons)": "https://icons8.com", + "Google Fonts (Icons)": "https://fonts.google.com/icons/", + "Icons8 (Icons)": "https://icons8.com/", "Pixabay (Web Images)": "https://pixabay.com/", "Electron (Cross-platform desktop apps)": "https://www.electronjs.org/", "Svelte (DOM framework)": "https://svelte.dev/", @@ -14,11 +14,15 @@ "Socket.io (LAN connections)": "https://socket.io/", "Express (Web framework)": "https://expressjs.com/", "NDI® SDK (IP-streaming)": "https://ndi.video/", + "CAPTION.Ninja (Live captions)": "https://caption.ninja/", }
-

FreeShow

+

v{$version} - @@ -35,15 +39,27 @@

-
Kristoffer Vassbø
-
-
- - dev@freeshow.app -
-
- - https://livecs.org/partner +
+
+ • + ChurchApps +
+
+ • + GitHub Issues +
+
+ • + Transifex +
+ +
+ • ! + livecs.org/partner +

@@ -60,6 +76,8 @@
{/each}
+ +
Kristoffer Vassbø (2021)