Remove deprecated app_new.py and consolidate main application logic into main.py

- Deleted `app_new.py`, which was previously the main entry point for the dashboard application, to streamline the codebase.
- Consolidated the application initialization and callback registration logic into `main.py`, enhancing modularity and maintainability.
- Updated the logging and error handling practices in `main.py` to ensure consistent application behavior and improved debugging capabilities.

These changes simplify the application structure, aligning with project standards for modularity and maintainability.
This commit is contained in:
Vasily.onl
2025-06-11 18:36:34 +08:00
parent 0a7e444206
commit dbe58e5cef
47 changed files with 1198 additions and 10784 deletions

View File

@@ -0,0 +1,12 @@
[
{"label": "🕐 Last 1 Hour", "value": "1h"},
{"label": "🕐 Last 4 Hours", "value": "4h"},
{"label": "🕐 Last 6 Hours", "value": "6h"},
{"label": "🕐 Last 12 Hours", "value": "12h"},
{"label": "📅 Last 1 Day", "value": "1d"},
{"label": "📅 Last 3 Days", "value": "3d"},
{"label": "📅 Last 7 Days", "value": "7d"},
{"label": "📅 Last 30 Days", "value": "30d"},
{"label": "📅 Custom Range", "value": "custom"},
{"label": "🔴 Real-time", "value": "realtime"}
]

View File

@@ -0,0 +1,12 @@
[
{"label": "1 Second", "value": "1s"},
{"label": "5 Seconds", "value": "5s"},
{"label": "15 Seconds", "value": "15s"},
{"label": "30 Seconds", "value": "30s"},
{"label": "1 Minute", "value": "1m"},
{"label": "5 Minutes", "value": "5m"},
{"label": "15 Minutes", "value": "15m"},
{"label": "1 Hour", "value": "1h"},
{"label": "4 Hours", "value": "4h"},
{"label": "1 Day", "value": "1d"}
]