feat: complete the statistics page to display the configuration and usage chart #2
Annotations
4 errors and 11 warnings
|
Lint
Process completed with exit code 1.
|
|
Lint:
src/renderer/src/components/__test__/HeroPanel.test.ts#L7
Missing return type on function
|
|
Lint:
src/renderer/src/components/__test__/AccountsPanel.test.ts#L76
Unexpected empty method 'destroy'
|
|
Lint:
src/renderer/src/components/__test__/AccountsPanel.test.ts#L74
Unexpected empty method 'update'
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
src/renderer/src/components/CostStatsView.svelte#L1015
Replace `·?·formatCredits(usageByAccountId[entry.accountId])` with `⏎········?·formatCredits(usageByAccountId[entry.accountId])⏎·······`
|
|
Lint:
src/renderer/src/components/CostStatsView.svelte#L853
Replace `·?·row?.sessionUsedPercent·??·null·:·row?.weeklyUsedPercent·??·null` with `⏎····················?·(row?.sessionUsedPercent·??·null)⏎····················:·(row?.weeklyUsedPercent·??·null)`
|
|
Lint:
src/renderer/src/components/CostStatsView.svelte#L848
Replace `""` with `''`
|
|
Lint:
src/renderer/src/components/CostStatsView.svelte#L179
Replace `⏎····key:·keyof·StatsDisplaySettings,⏎····enabled:·boolean⏎··` with `key:·keyof·StatsDisplaySettings,·enabled:·boolean`
|
|
Lint:
src/main/codex-auth-shared.ts#L16
Replace `⏎··decodeJwtPayload,⏎··resolveChatGptAccountIdFromTokens⏎` with `·decodeJwtPayload,·resolveChatGptAccountIdFromTokens·`
|
|
Lint:
src/cli/cli-parsing.ts#L62
Replace `⏎······`statsDisplay·contains·unknown·chart·key:·${invalidKey}`,⏎······EXIT_USAGE⏎····` with ``statsDisplay·contains·unknown·chart·key:·${invalidKey}`,·EXIT_USAGE`
|
|
Lint:
src/cli/cli-parsing.ts#L60
Replace `(key)·=>·!statsDisplayKeys.includes(key·as·(typeof·statsDisplayKeys)[number])` with `⏎····(key)·=>·!statsDisplayKeys.includes(key·as·(typeof·statsDisplayKeys)[number])⏎··`
|
|
Lint:
src/cli/cli-parsing.ts#L44
Replace `statsDisplayKeys.map((key)·=>·[key,·false])` with `⏎········statsDisplayKeys.map((key)·=>·[key,·false])⏎······`
|
|
Lint:
src/cli/__test__/run-cli.test.ts#L956
Replace `'settings',·'set',·'statsDisplay',·'dailyTrend,accountUsage',·'--json'` with `⏎········'settings',⏎········'set',⏎········'statsDisplay',⏎········'dailyTrend,accountUsage',⏎········'--json'⏎······`
|
|
Lint:
src/cli/__test__/run-cli.test.ts#L947
Replace `runCli(runtime·as·never,·['settings',·'get',·'statsDisplay',·'--json'])` with `⏎······runCli(runtime·as·never,·['settings',·'get',·'statsDisplay',·'--json'])⏎····`
|
background
wait
wait-all
cancel
Loading