Skip to content

landing_page: add block user option #5173

landing_page: add block user option

landing_page: add block user option #5173

Triggered via pull request September 12, 2024 10:05
Status Failure
Total duration 4m 54s
Artifacts

tests.yml

on: pull_request
Matrix: JS / Tests
Matrix: Python / Tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors
JS / Tests (20.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L8
Replace `⏎··Dropdown,·Modal,⏎··Button,⏎··Message⏎` with `·Dropdown,·Modal,·Button,·Message·`
JS / Tests (20.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L18
Replace `⏎export·const·ManageButton·=·({·recid,·recordOwnerUsername,·recordOwnerId·})·=>·{⏎` with `export·const·ManageButton·=·({·recid,·recordOwnerUsername,·recordOwnerId·})·=>·{`
JS / Tests (20.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L63
Replace `·http.post(APIRoutes.block({·id:·recordOwnerId·}))` with `⏎····http.post(APIRoutes.block({·id:·recordOwnerId·}));⏎·`
JS / Tests (20.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L81
Replace `⏎··········{i18next.t("Block·User")}⏎········` with `{i18next.t("Block·User")}`
JS / Tests (20.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordManagement.js#L39
Replace `·id:·recid,·parent:·{·access:·{·owned_by:·{·user:·recordOwnerId·}·}·}` with `⏎······id:·recid,⏎······parent:·{⏎········access:·{⏎··········owned_by:·{·user:·recordOwnerId·},⏎········},⏎······},⏎···`
JS / Tests (20.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordManagement.js#L49
Replace `·recid={recid}·recordOwnerUsername={recordOwnerUsername}·recordOwnerId={recordOwnerId}` with `⏎··············recid={recid}⏎··············recordOwnerUsername={recordOwnerUsername}⏎··············recordOwnerId={recordOwnerId}⏎···········`
JS / Tests (20.x)
Process completed with exit code 1.
JS / Tests (18.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L8
Replace `⏎··Dropdown,·Modal,⏎··Button,⏎··Message⏎` with `·Dropdown,·Modal,·Button,·Message·`
JS / Tests (18.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L18
Replace `⏎export·const·ManageButton·=·({·recid,·recordOwnerUsername,·recordOwnerId·})·=>·{⏎` with `export·const·ManageButton·=·({·recid,·recordOwnerUsername,·recordOwnerId·})·=>·{`
JS / Tests (18.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L63
Replace `·http.post(APIRoutes.block({·id:·recordOwnerId·}))` with `⏎····http.post(APIRoutes.block({·id:·recordOwnerId·}));⏎·`
JS / Tests (18.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/ManageButton.js#L81
Replace `⏎··········{i18next.t("Block·User")}⏎········` with `{i18next.t("Block·User")}`
JS / Tests (18.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordManagement.js#L39
Replace `·id:·recid,·parent:·{·access:·{·owned_by:·{·user:·recordOwnerId·}·}·}` with `⏎······id:·recid,⏎······parent:·{⏎········access:·{⏎··········owned_by:·{·user:·recordOwnerId·},⏎········},⏎······},⏎···`
JS / Tests (18.x): invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/landing_page/RecordManagement.js#L49
Replace `·recid={recid}·recordOwnerUsername={recordOwnerUsername}·recordOwnerId={recordOwnerId}` with `⏎··············recid={recid}⏎··············recordOwnerUsername={recordOwnerUsername}⏎··············recordOwnerId={recordOwnerId}⏎···········`
JS / Tests (18.x)
Process completed with exit code 1.