Corpus expiration warning
https://redmine.teklia.com/issues/11504
Requires backend#1948 (closed)
The Corpus TypeScript interface needs to be updated to include the new expiring field.
When expiring is true, a HelpPopup component will need to be used. A red warning icon is visible, and hovering over this icon shows a popup explaining that this project is inactive and will be removed soon if no action is taken.
This new warning should be shown next to the corpus name:
- in
src/components/Corpus/Row.vue, so that it is visible when listing projects; - in
src/components/Corpus/Header.vueso that it is visible when browsing a project; - in
src/components/Element/ElementPath.vue, so that it is visible when browsing any element.