-
+
-
+
-
Debug report
+
Feedback
-
Debug information about your computer. Include this report with your feedback.
+
Feedback is always welcome! Report issues or request features.
-
+
-
+
-
+
-
Feedback
+
Debug report
-
Thank you for providing feedback! Please report issues or feature requests on GitHub or by Email (feedback@coresmonitor.com).
+
Debug information about your computer. Include this report with your feedback.
-
@@ -119,10 +137,26 @@
import build from "../../../../build.json"
import Select from "ui/components/select.svelte"
import Toggle from "ui/components/toggle.svelte"
- import { Minimize2, RefreshCcw, Bug, Megaphone, Info, Cable, Github, FileCog } from "lucide-svelte"
+ import { Minimize2, RefreshCcw, Bug, Megaphone, Info, Cable, Github, FileCog, User, LogOut } from "lucide-svelte"
import { open } from "@tauri-apps/plugin-shell"
import { message, save } from "@tauri-apps/plugin-dialog"
import { invoke } from "@tauri-apps/api/core"
+ import FeedbackDialog from "ui/components/feedbackDialog.svelte"
+ import { supabaseClient } from "../utils/supabase.ts"
+ import { onMount } from "svelte"
+
+ $: user = null
+
+
+
+ onMount(async () => {
+ const { data, error } = await supabaseClient.auth.getUser()
+
+ if (!error && data.user) {
+ user = data.user
+ }
+ })
+
const launchOnStartup = () => {
// @ts-ignore
diff --git a/platforms/interface/web/src/components/appHeader.svelte b/platforms/interface/web/src/components/appHeader.svelte
index 23bc79e..a79bf72 100644
--- a/platforms/interface/web/src/components/appHeader.svelte
+++ b/platforms/interface/web/src/components/appHeader.svelte
@@ -5,9 +5,6 @@
Cores
- {#if $state.state === "connected"}
-
- {/if}
Account
+ {#if $state.state === "connected"}
+
+ {/if}