feat(dashboard): comprehensive filter enhancement and UI layout fixes

- Add time range selector (1H/6H/24H/7D/All) with preference persistence
- Implement smart X-axis label formatting for multi-day usage data
- Standardize global component spacing and fix CSS @apply limitations
- Add elegant empty state UI for charts when filtered data is absent
- Update i18n translations for all new dashboard features
This commit is contained in:
Wha1eChai
2026-01-09 22:33:11 +08:00
parent 40d3d3f3b6
commit 48ad476b5f
10 changed files with 450 additions and 198 deletions

View File

@@ -1,13 +1,13 @@
/**
* Frontend Test Suite - Accounts Page
* Tests the account manager component functionality
*
*
* Run: node tests/test-frontend-accounts.cjs
*/
const http = require('http');
const BASE_URL = 'http://localhost:8090';
const BASE_URL = process.env.TEST_BASE_URL || `http://localhost:${process.env.PORT || 8080}`;
function request(path, options = {}) {
return new Promise((resolve, reject) => {