feat(ui): reduce cells height and add smooth scroll #9698
Annotations
16 errors and 5 warnings
npm-lint
Type '{ data: any; rows: any; columns: EnhancedGridColumn[]; isReaOnlyEnabled: true; }' is not assignable to type 'IntrinsicAttributes & MatrixGridProps'.
|
npm-lint
Type '{ data: number[][]; rows: number; columns: EnhancedGridColumn[]; dateTime: string[] | undefined; isReaOnlyEnabled: true; }' is not assignable to type 'IntrinsicAttributes & MatrixGridProps'.
|
npm-lint
Process completed with exit code 2.
|
npm-build
Type '{ data: any; rows: any; columns: EnhancedGridColumn[]; isReaOnlyEnabled: true; }' is not assignable to type 'IntrinsicAttributes & MatrixGridProps'.
|
npm-build
Type '{ data: number[][]; rows: number; columns: EnhancedGridColumn[]; dateTime: string[] | undefined; isReaOnlyEnabled: true; }' is not assignable to type 'IntrinsicAttributes & MatrixGridProps'.
|
npm-build
Process completed with exit code 2.
|
src/components/common/MatrixGrid/useGridCellContent.test.ts > useGridCellContent > returns correct text cell content for DateTime columns:
webapp/src/components/common/MatrixGrid/useGridCellContent.test.ts#L113
AssertionError: expected '2024-01-07T00:00:00Z' to be '7 janv. 2024, 00:00' // Object.is equality
Expected: "7 janv. 2024, 00:00"
Received: "2024-01-07T00:00:00Z"
❯ src/components/common/MatrixGrid/useGridCellContent.test.ts:113:32
|
src/components/common/MatrixGrid/useGridCellContent.test.ts > useGridCellContent > returns correct content for DateTime, Number, and Aggregate columns:
webapp/src/components/common/MatrixGrid/useGridCellContent.test.ts#L227
AssertionError: expected '2021-01-01T00:00:00Z' to be '1 janv. 2021, 00:00' // Object.is equality
Expected: "1 janv. 2021, 00:00"
Received: "2021-01-01T00:00:00Z"
❯ src/components/common/MatrixGrid/useGridCellContent.test.ts:227:40
|
src/components/common/MatrixGrid/useGridCellContent.test.ts > useGridCellContent with mixed column types > handles non-data columns correctly and accesses data columns properly:
webapp/src/components/common/MatrixGrid/useGridCellContent.test.ts#L326
AssertionError: expected '2024-01-01T00:00:00Z' to be '1 janv. 2024, 00:00' // Object.is equality
Expected: "1 janv. 2024, 00:00"
Received: "2024-01-01T00:00:00Z"
❯ src/components/common/MatrixGrid/useGridCellContent.test.ts:326:36
|
src/components/common/MatrixGrid/utils.test.ts > generateDateTime > generates correct dates for 'hourly' level:
webapp/src/components/common/MatrixGrid/utils.test.ts#L93
AssertionError: expected [ 'Sun 1 Jan 00:00', …(2) ] to deeply equal [ '2023-01-01T00:00:00.000Z', …(2) ]
- Expected
+ Received
Array [
- "2023-01-01T00:00:00.000Z",
- "2023-01-01T01:00:00.000Z",
- "2023-01-01T02:00:00.000Z",
+ "Sun 1 Jan 00:00",
+ "Sun 1 Jan 01:00",
+ "Sun 1 Jan 02:00",
]
❯ src/components/common/MatrixGrid/utils.test.ts:93:22
|
src/components/common/MatrixGrid/utils.test.ts > generateDateTime > generates correct dates for 'daily' level:
webapp/src/components/common/MatrixGrid/utils.test.ts#L93
AssertionError: expected [ 'Sun 1 Jan', 'Mon 2 Jan', …(1) ] to deeply equal [ '2023-01-01T00:00:00.000Z', …(2) ]
- Expected
+ Received
Array [
- "2023-01-01T00:00:00.000Z",
- "2023-01-02T00:00:00.000Z",
- "2023-01-03T00:00:00.000Z",
+ "Sun 1 Jan",
+ "Mon 2 Jan",
+ "Tue 3 Jan",
]
❯ src/components/common/MatrixGrid/utils.test.ts:93:22
|
src/components/common/MatrixGrid/utils.test.ts > generateDateTime > generates correct dates for 'weekly' level:
webapp/src/components/common/MatrixGrid/utils.test.ts#L93
AssertionError: expected [ 'global.time.weekShort 52', …(2) ] to deeply equal [ '2023-01-01T00:00:00.000Z', …(2) ]
- Expected
+ Received
Array [
- "2023-01-01T00:00:00.000Z",
- "2023-01-08T00:00:00.000Z",
- "2023-01-15T00:00:00.000Z",
+ "global.time.weekShort 52",
+ "global.time.weekShort 01",
+ "global.time.weekShort 02",
]
❯ src/components/common/MatrixGrid/utils.test.ts:93:22
|
src/components/common/MatrixGrid/utils.test.ts > generateDateTime > generates correct dates for 'monthly' level:
webapp/src/components/common/MatrixGrid/utils.test.ts#L93
AssertionError: expected [ 'Jan', 'Feb', 'Mar' ] to deeply equal [ '2023-01-15T00:00:00.000Z', …(2) ]
- Expected
+ Received
Array [
- "2023-01-15T00:00:00.000Z",
- "2023-02-15T00:00:00.000Z",
- "2023-03-15T00:00:00.000Z",
+ "Jan",
+ "Feb",
+ "Mar",
]
❯ src/components/common/MatrixGrid/utils.test.ts:93:22
|
src/components/common/MatrixGrid/utils.test.ts > generateDateTime > generates correct dates for 'annual' level:
webapp/src/components/common/MatrixGrid/utils.test.ts#L93
AssertionError: expected [ 'global.time.annual', …(1) ] to deeply equal [ '2020-02-29T00:00:00.000Z', …(1) ]
- Expected
+ Received
Array [
- "2020-02-29T00:00:00.000Z",
- "2021-02-28T00:00:00.000Z",
+ "global.time.annual",
+ "global.time.annual",
]
❯ src/components/common/MatrixGrid/utils.test.ts:93:22
|
src/components/common/MatrixGrid/utils.test.ts > generateDateTime > handles edge cases:
webapp/src/components/common/MatrixGrid/utils.test.ts#L105
AssertionError: expected [ 'Sun 31 Dec 23:59', …(1) ] to deeply equal [ '2023-12-31T23:59:59.000Z', …(1) ]
- Expected
+ Received
Array [
- "2023-12-31T23:59:59.000Z",
- "2024-01-01T00:59:59.000Z",
+ "Sun 31 Dec 23:59",
+ "Mon 1 Jan 00:59",
]
❯ src/components/common/MatrixGrid/utils.test.ts:105:20
|
npm-test
Process completed with exit code 1.
|
npm-setup
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
npm-setup
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
npm-lint
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
npm-build
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
npm-test
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
python-code-coverage-report
|
46.7 KB |
|