Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
This work is to create a basic document management page, as per Jira ticket:
https://technologyprogramme.atlassian.net/browse/REDBOX-77?atlOrigin=eyJpIjoiYzI1NTE1Y2I2Nzg5NDQzZGJlNjdiYWM1ODAwYjkzNmMiLCJwIjoiaiJ9
This is just the frontend part of the work for now.
Changes proposed in this pull request
The page looks like this:
![image](https://private-user-images.githubusercontent.com/1634605/313629021-3be1ebd3-887e-41e0-a1ed-396777a761c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MzIxMTksIm5iZiI6MTcxOTkzMTgxOSwicGF0aCI6Ii8xNjM0NjA1LzMxMzYyOTAyMS0zYmUxZWJkMy04ODdlLTQxZTAtYTFlZC0zOTY3NzdhNzYxYzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDJUMTQ1MDE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjFhMGNmOGE4OGE5YWY1MTdlZWM2N2VlNmUwMjY5ZjkyZDRhOGI5OTZiZmFlOWUwZGQxNjRiMjEzNTQ3ZDFmNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.mk1xNS271noXfUGgR4M4x_xac_hdl_k22TsOliuM7xU)
This is using dummy data inserted into views.py for now.
There is also a remove-doc page which needs joining up to the backend.
The statuses don't update currently, but once the endpoint is ready we will build in polling to update without needing a page reload. I'll be creating a Jira ticket for that work today.
Guidance to review
/documents/
and check the page looks like the above screenshot