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:
@@ -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) => {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/**
|
||||
* Frontend Test Suite - Dashboard Page
|
||||
* Tests the dashboard component functionality
|
||||
*
|
||||
*
|
||||
* Run: node tests/test-frontend-dashboard.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}`;
|
||||
|
||||
// Helper to make HTTP requests
|
||||
function request(path, options = {}) {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/**
|
||||
* Frontend Test Suite - Logs Page
|
||||
* Tests the logs viewer component functionality
|
||||
*
|
||||
*
|
||||
* Run: node tests/test-frontend-logs.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) => {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/**
|
||||
* Frontend Test Suite - Settings Page
|
||||
* Tests the settings and Claude configuration components
|
||||
*
|
||||
*
|
||||
* Run: node tests/test-frontend-settings.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) => {
|
||||
|
||||
Reference in New Issue
Block a user