Manage datasets
Depends #1518
We want to manage a corpus dataset through a new tab in Project Information. This tab will be titled Datasets
We'll use the usual table display to iterate through the paginated list of datasets.
The table should display columns:
- name
- description
- state
- actions:
- edit
- delete
Editing a dataset brings a modal open (don't use the inline form here, too many fields), that allows to set fields (name, description, and sets).
Deleting a dataset is always possible through the frontend (meaning the button is always clickable), but an error will be sent by the backend when it's not empty, so you must handle errors nicely.
Finally, a user can add a dataset through the same modal as edition (name + description + sets).