chore: remove redundant features

- Remove getPackageJson and getGitInfo from vite config
- Remove Updates tab and all related logic as there was no true update logic in the codebase
This commit is contained in:
xKevIsDev
2025-07-08 02:08:32 +01:00
parent 9d6ff741d9
commit 7535e16160
7 changed files with 13 additions and 783 deletions

View File

@@ -1,17 +1,16 @@
import type { TabType } from './types';
export const TAB_ICONS: Record<TabType, string> = {
profile: 'i-ph:user-circle-fill',
settings: 'i-ph:gear-six-fill',
notifications: 'i-ph:bell-fill',
features: 'i-ph:star-fill',
data: 'i-ph:database-fill',
'cloud-providers': 'i-ph:cloud-fill',
'local-providers': 'i-ph:desktop-fill',
profile: 'i-ph:user-circle',
settings: 'i-ph:gear-six',
notifications: 'i-ph:bell',
features: 'i-ph:star',
data: 'i-ph:database',
'cloud-providers': 'i-ph:cloud',
'local-providers': 'i-ph:laptop',
'service-status': 'i-ph:activity-bold',
connection: 'i-ph:wifi-high-fill',
'event-logs': 'i-ph:list-bullets-fill',
update: 'i-ph:arrow-clockwise-fill',
connection: 'i-ph:wifi-high',
'event-logs': 'i-ph:list-bullets',
};
export const TAB_LABELS: Record<TabType, string> = {
@@ -25,7 +24,6 @@ export const TAB_LABELS: Record<TabType, string> = {
'service-status': 'Service Status',
connection: 'Connection',
'event-logs': 'Event Logs',
update: 'Updates',
};
export const TAB_DESCRIPTIONS: Record<TabType, string> = {
@@ -39,7 +37,6 @@ export const TAB_DESCRIPTIONS: Record<TabType, string> = {
'service-status': 'Monitor cloud LLM service status',
connection: 'Check connection status and settings',
'event-logs': 'View system events and logs',
update: 'Check for updates and release notes',
};
export const DEFAULT_TAB_CONFIG = [
@@ -54,9 +51,6 @@ export const DEFAULT_TAB_CONFIG = [
// User Window Tabs (In dropdown, initially hidden)
{ id: 'profile', visible: true, window: 'user' as const, order: 7 },
{ id: 'settings', visible: true, window: 'user' as const, order: 8 },
{ id: 'service-status', visible: true, window: 'user' as const, order: 9 },
// User Window Tabs (Hidden, controlled by TaskManagerTab)
{ id: 'update', visible: true, window: 'user' as const, order: 10 },
{ id: 'service-status', visible: true, window: 'user' as const, order: 8 },
{ id: 'settings', visible: true, window: 'user' as const, order: 9 },
];