diff --git a/control/frontend/src/components/ControlView.svelte b/control/frontend/src/components/ControlView.svelte index c6c97c2..7ff7299 100644 --- a/control/frontend/src/components/ControlView.svelte +++ b/control/frontend/src/components/ControlView.svelte @@ -18,6 +18,10 @@ import { send_keyboard_input, show_blackscreen } from '../ts/api_handler'; import { run_on_all_selected_displays } from '../ts/stores/displays'; import { selected_display_ids } from '../ts/stores/select'; + import { onMount } from 'svelte'; + + let show_text_body: string = `
I've been working on this new feature for the past few days. + It's been quite challenging but I think I'm making good progress.
`; let popup_content: PopupContent = $state({ open: false, @@ -39,6 +43,20 @@ closable: true }; }; + + const show_text_popup = () => { + popup_content = { + open: true, + snippet: text_popup, + title: 'Text anzeigen', + title_icon: TextAlignStart, + closable: true + }; + }; + + onMount(() => { + show_text_popup(); + }); {#snippet send_keys_popup()} @@ -50,6 +68,12 @@ {/snippet} +{#snippet text_popup()} + +{/snippet} +