feat: redesign the desktop workspace

Add a compact top navigation, contextual sidebars, responsive workspaces, accessible theme cards, and a persistent updater control. Preserve all existing renderer IDs and actions while adding an isolated Electron UI contract across the supported desktop sizes.
This commit is contained in:
Sucukdeluxe
2026-08-10 05:20:53 +02:00
parent aed40de4bd
commit dacd66fe1c
10 changed files with 3457 additions and 82 deletions
+7 -1
View File
@@ -288,7 +288,7 @@ function applyLanguageToStaticUI(): void {
setText('btnExportMetrics', UI_TEXT.static.runtimeMetricsExport);
setText('runtimeMetricsAutoRefreshText', UI_TEXT.static.runtimeMetricsAutoRefresh);
setText('runtimeMetricsOutput', UI_TEXT.static.runtimeMetricsLoading);
setText('updateText', UI_TEXT.updates.bannerDefault);
setText('updateText', UI_TEXT.static.checkUpdates);
setText('updateButton', UI_TEXT.updates.downloadNow);
setText('updateModalEyebrow', UI_TEXT.static.updateTitle);
setText('updateModalTitle', UI_TEXT.updates.modalAvailableTitle);
@@ -333,6 +333,12 @@ function applyLanguageToStaticUI(): void {
if (typeof updateRefresh === 'function') {
updateRefresh();
}
const activeTabId = document.querySelector('.tab-content.active')?.id || 'vodsTab';
const workspaceSync = (window as unknown as { syncWorkspaceChrome?: (tab: string) => void }).syncWorkspaceChrome;
if (typeof workspaceSync === 'function') {
workspaceSync(activeTabId.replace(/Tab$/, ''));
}
}
function localizeCurrentStatusText(current: string): string {