diff --git a/src/App.vue b/src/App.vue
index 8c42de12..ccc2e581 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -57,7 +57,8 @@ onAuthStateChanged(auth, async (user) => {
console.log("%conAuthStateChanged: logged out", "border:1px solid green")
await AppService.init($q, router, true, undefined)
if (!router.currentRoute.value.path.startsWith("/mainpanel")) {
- await router.push("/")
+ console.log("NOT redirecting to '/'")
+ //await router.push("/")
}
}
});
@@ -99,7 +100,8 @@ if (useDarkMode === "true") {
$q.dark.set("auto")
}
-if (useDarkMode) {
+if (useDarkMode === "true") {
+ console.log(" applying dark color scheme")
setCssVar('primary', '#D9E8F5');
setCssVar('secondary', '#26A69A');
setCssVar('accent', '#9C27B0');
diff --git a/src/components/SidePanelFooter.vue b/src/components/SidePanelFooter.vue
index 41084b50..a79b062e 100644
--- a/src/components/SidePanelFooter.vue
+++ b/src/components/SidePanelFooter.vue
@@ -12,8 +12,7 @@
-
-
+
@@ -81,7 +80,7 @@
{
showWindowTable.value = !showWindowTable.value
if (showWindowTable.value) {
randomKey.value = uid()
+ showStatsTable.value = false
}
const windowId = useWindowsStore().currentChromeWindow?.id || 0
const currentWindow: Window | undefined = useWindowsStore().windowForId(windowId)
@@ -359,7 +360,12 @@ const toggleShowWindowTable = () => {
}
}
-const toggleShowStatsTable = () => showStatsTable.value = !showWindowTable.value
+const toggleShowStatsTable = () => {
+ showStatsTable.value = !showStatsTable.value
+ if (showWindowTable.value) {
+ showWindowTable.value = false
+ }
+}
const logout = () => {
authStore.logout()
@@ -375,10 +381,7 @@ const logout = () => {
})
}
-const subscribe = () => router.push("/subscribe")
-
const offsetBottom = () => ($q.platform.is.capacitor || $q.platform.is.cordova) ? 'margin-bottom:20px;' : ''
-
const gotoStripe = () => openURL("https://billing.stripe.com/p/login/test_5kA9EHf2Da596HuaEE")
diff --git a/src/components/helper/SidePanelStatsMarkupTable.vue b/src/components/helper/SidePanelStatsMarkupTable.vue
new file mode 100644
index 00000000..243fc2b3
--- /dev/null
+++ b/src/components/helper/SidePanelStatsMarkupTable.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+ Type |
+ Count |
+
+ Save current values
+ |
+
+
+
+
+
+
+
+ {{ row['name' as keyof object] }}
+ {{ row['id' as keyof object] }}
+
+
+ |
+
+ {{ row['count' as keyof object] }}
+ |
+
+ |
+
+
+
+
+
+
+
+
+
+
diff --git a/src/models/Tree.ts b/src/models/Tree.ts
index ddcb70a8..a319c92d 100644
--- a/src/models/Tree.ts
+++ b/src/models/Tree.ts
@@ -8,7 +8,9 @@ export class TreeNode {
public label: string,
public url: string | undefined,
public icon: string,
- public children: TreeNode[]) {
+ public children: TreeNode[],
+ public subFoldersCount = 0,
+ public subNodesCount = 0) {
// this.header = children.length > 0 ? 'node' : 'leaf'
this.header = !url ? 'node' : 'leaf'
diff --git a/src/pages/sidepanel/WelcomePage.vue b/src/pages/sidepanel/WelcomePage.vue
index 57834810..01eacac6 100644
--- a/src/pages/sidepanel/WelcomePage.vue
+++ b/src/pages/sidepanel/WelcomePage.vue
@@ -46,30 +46,22 @@