Skip to content

[WIP] Add progress bars for categories and goals #13373

[WIP] Add progress bars for categories and goals

[WIP] Add progress bars for categories and goals #13373

Triggered via pull request February 13, 2025 01:59
Status Failure
Total duration 1m 36s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
typecheck: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L118
Argument of type 'number | null' is not assignable to parameter of type 'number'.
typecheck
Process completed with exit code 1.
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L1
Replace `"@actual-app/components/view"` with `'@actual-app/components/view'`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L3
Replace `⏎··type·CategoryEntity,⏎` with `·type·CategoryEntity·`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L6
Replace `"loot-core/client/queries"` with `'loot-core/client/queries';`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L8
Replace `"loot-core/shared/util"` with `'loot-core/shared/util'`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L11
Replace `····UnderBudgetRemaining·=·'#006309',··` with `··UnderBudgetRemaining·=·'#006309',`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L12
Replace `··UnderBudgetSpent·=·'#beffa8',·······` with `UnderBudgetSpent·=·'#beffa8',·`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L13
Replace `····OverBudgetSpent·=·'#979797',········` with `··OverBudgetSpent·=·'#979797',·`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L14
Replace `····OverBudgetOverSpent·=·'#c40000',·····` with `··OverBudgetOverSpent·=·'#c40000',·`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L15
Replace `····GoalRemaining·=·'#90a7fd',···········` with `··GoalRemaining·=·'#90a7fd',·`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L16
Replace `····GoalSaved·=·'#001a7b'··············` with `··GoalSaved·=·'#001a7b',`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L1
There should be at least one empty line between import groups
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L2
There should be at least one empty line between import groups
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L2
`react` import should occur before import of `@actual-app/components/view`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L3
There should be at least one empty line between import groups
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L6
There should be at least one empty line between import groups
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L6
`loot-core/client/queries` import should occur before import of `../../../../loot-core/src/types/models`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L7
There should be at least one empty line between import groups
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L8
`loot-core/shared/util` import should occur before import of `../../../../loot-core/src/types/models`
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L101
Using default React import is discouraged, please use named exports directly instead
lint: packages/desktop-client/src/components/budget/CategoryVisual.tsx#L102
Using default React import is discouraged, please use named exports directly instead