feat: init diagnostic tab

This commit is contained in:
divocat
2025-10-09 22:56:14 +03:00
parent 9f1505db48
commit 3042a86412
8 changed files with 78 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ export function renderDashboard() {
},
onTestLatency: () => {},
onChooseOutbound: () => {},
latencyFetching: false,
}),
),
],

View File

@@ -0,0 +1,2 @@
export * from './renderDiagnostic';
export * from './initDiagnosticController';

View File

@@ -0,0 +1,7 @@
import { onMount } from '../../../helpers';
export async function initDiagnosticController(): Promise<void> {
onMount('diagnostic-status').then(() => {
console.log('diagnostic controller initialized.');
});
}

View File

@@ -0,0 +1,10 @@
export function renderDiagnostic() {
return E(
'div',
{
id: 'diagnostic-status',
class: 'pdk_diagnostic-page',
},
'Not implemented yet',
);
}

View File

@@ -1 +1,2 @@
export * from './dashboard';
export * from './diagnostic';