icipe-official / icipe-official/vectoratlas-software-code
Add review page to UI
Open
@andykitch is already working on this.
Since Jan 31, 2023.
3
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 8
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 11
Description
Add a page to the UI for reviewing a dataset. Access to the page should be limited to those with the 'reviewer' role. The dataset_id of the dataset to be reviewed should be passed into the page as a query parameter in the URL. The page should currently only have a button for downloading the dataset as a csv, calling the endpoint in #177. The wireframe for this page is shown in the 0009_review_process.md ADR
Acceptance Criteria:
- A page exists in the UI at
/review?dataset=<dataset_id> - The review page is only accessible to users with the reviewer role - other users get redirected to the 'you don't have permission' page
- If no dataset is included in the url, a sensible message should be displayed explaining this.
- The page has a single button for downloading the data from that dataset. Clicking this button will download a csv file containing the data from that dataset, as in #177
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.