Skip to content

[SimpleList] deprecate linkType, and implement rowClick as for the DataGrid #9226

[SimpleList] deprecate linkType, and implement rowClick as for the DataGrid

[SimpleList] deprecate linkType, and implement rowClick as for the DataGrid #9226

Triggered via pull request November 13, 2024 09:23
Status Failure
Total duration 5m 51s
Artifacts

test.yml

on: pull_request
e-commerce
0s
e-commerce
simple-example-typecheck
0s
simple-example-typecheck
GreenFrame
0s
GreenFrame
update-sandbox-repository
0s
update-sandbox-repository
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
e2e-test
Process completed with exit code 2.
typecheck: packages/ra-ui-materialui/src/list/SimpleList/SimpleList.tsx#L94
Replace `·useListContextWithProps<RecordType>(⏎········props⏎····` with `⏎········useListContextWithProps<RecordType>(props`
typecheck: packages/ra-ui-materialui/src/list/SimpleList/SimpleList.tsx#L177
Replace `primaryText(record,·record.id` with `··primaryText(⏎························································record,⏎························································record.id⏎····················································`
unit-test
Process completed with exit code 2.
typecheck: packages/ra-ui-materialui/src/list/SimpleList/SimpleList.tsx#L349
React Hook useCallback has missing dependencies: 'id' and 'linkType'. Either include them or remove the dependency array