Manuel Stahl
2afc7aeca4
Rename all JSX files to have proper file extension
...
Change-Id: I4ab382f7673a815164f74154e6b03b370fd76a33
2024-02-07 15:27:34 +01:00
dklimpel
3adc6b4663
Use new API of dataProvider
...
Change-Id: I2789f1f1384b48e876bee5af421ff5db66fa3416
2024-02-07 08:49:26 +01:00
Manuel Stahl
76ef017244
Refactor media
...
Change-Id: Ic24c53048c35b76532af24d9c5c9bf831688344b
2024-02-07 08:49:11 +01:00
dklimpel
6430aca02b
Rename save to onSubmit in SimpleForm
...
https: //marmelab.com/react-admin/Upgrade.html#the-form-components-save-prop-has-been-renamed-to-onsubmit
Change-Id: Iaf2c0b665c8058336d4df6326531780a2790e71d
2024-02-07 08:28:12 +01:00
Manuel Stahl
af453eea71
Remove/mark unused parameters
...
All top level components should pass props to the generic react-admin
component to be more versatile.
Change-Id: I25dd099cde1aefacbc748dc4716a8b0a3db9ab93
2024-02-05 15:59:43 +01:00
dklimpel
a222af273f
Update dataProvider hooks
...
Change-Id: Ic19f7a6ad97b1392c96c91a19e76b8983c9d0fd2
2024-02-05 15:59:43 +01:00
Manuel Stahl
51def5775d
Replace Fragment
with short form
...
https://legacy.reactjs.org/docs/fragments.html#short-syntax
Change-Id: Ib1af57fc5e87ded8c1fee38dcbd60fae8621cb07
2024-02-05 15:59:43 +01:00
dklimpel
b70ee7c55d
Upgrade to React-Admin 4 ( #332 )
...
Change-Id: Ia03486edfd934438580e614af754a0966f6fd6e3
2024-02-05 13:44:22 +01:00
Dirk Klimpel
41656748bb
Add dependencies @mui/icons-material
to package ( #242 )
...
* Add dependencies `@mui/icons-material` to package
* Replace MUI icons v4 with v5
* Replace more `@material-ui/core` with `@mui/material`
* consolidate `Dialog`, `DialogContent`, `DialogContentText` and
`DialogTitle`
* update `alpha` `Container` and `useMediaQuery`
2023-01-24 21:27:02 +01:00
Dirk Klimpel
74f77e6988
Replace ({ record })
with useRecordContext()
( #236 )
...
* replace `({ record })` with `useRecordContext()`
* code style
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-24 16:36:08 +01:00
Dirk Klimpel
6d30af9976
Update usage of useNotify
hook ( #234 )
...
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-24 15:28:01 +01:00
Dirk Klimpel
3303f253b4
Replace deprecated fade
in media.js
( #221 )
2022-02-17 20:49:19 +01:00
dklimpel
8536f552d4
Add button to quarantine media ( #180 )
...
Change-Id: I6496826fdf75ab8b7b3ed5a9056abf86a50caea3
2021-08-25 10:42:34 +02:00
Dirk Klimpel
e6f01f035b
Add buttons to protect and unprotect users' media from quarantine ( #150 )
2021-08-19 11:51:07 +02:00
dklimpel
60854bcc60
Add button to delete media by size and date
2021-04-21 10:51:14 +02:00