feat(core): improve dashboard style (#15205)

This commit is contained in:
DarkSky
2026-07-07 12:13:11 +08:00
committed by GitHub
parent 631e4af9b9
commit fe2a4db76b
18 changed files with 502 additions and 217 deletions
@@ -14,6 +14,14 @@ query adminDashboard($input: AdminDashboardInput) {
effectiveSize
}
copilotConversations
copilotWindow {
from
to
timezone
bucket
requestedSize
effectiveSize
}
workspaceStorageBytes
blobStorageBytes
workspaceStorageHistory {
@@ -149,6 +149,14 @@ export const adminDashboardQuery = {
effectiveSize
}
copilotConversations
copilotWindow {
from
to
timezone
bucket
requestedSize
effectiveSize
}
workspaceStorageBytes
blobStorageBytes
workspaceStorageHistory {
+11
View File
@@ -102,6 +102,7 @@ export interface AdminDashboard {
blobStorageBytes: Scalars['SafeInt']['output'];
blobStorageHistory: Array<AdminDashboardValueDayPoint>;
copilotConversations: Scalars['SafeInt']['output'];
copilotWindow: TimeWindow;
generatedAt: Scalars['DateTime']['output'];
storageWindow: TimeWindow;
syncActiveUsers: Scalars['Int']['output'];
@@ -114,6 +115,7 @@ export interface AdminDashboard {
}
export interface AdminDashboardInput {
copilotWindowDays?: InputMaybe<Scalars['Int']['input']>;
sharedLinkWindowDays?: InputMaybe<Scalars['Int']['input']>;
storageHistoryDays?: InputMaybe<Scalars['Int']['input']>;
syncHistoryHours?: InputMaybe<Scalars['Int']['input']>;
@@ -3911,6 +3913,15 @@ export type AdminDashboardQuery = {
requestedSize: number;
effectiveSize: number;
};
copilotWindow: {
__typename?: 'TimeWindow';
from: string;
to: string;
timezone: string;
bucket: TimeBucket;
requestedSize: number;
effectiveSize: number;
};
workspaceStorageHistory: Array<{
__typename?: 'AdminDashboardValueDayPoint';
date: string;