diff --git a/web/src/app/submissions/[submissionId]/_reviewButtons.tsx b/web/src/app/submissions/[submissionId]/_reviewButtons.tsx index 0af3ba1..c5f227a 100644 --- a/web/src/app/submissions/[submissionId]/_reviewButtons.tsx +++ b/web/src/app/submissions/[submissionId]/_reviewButtons.tsx @@ -30,7 +30,17 @@ function ReviewButton(props: ReviewButton) { export default function ReviewButtons(props: SubmissionInfo) { const submissionId = props.ID.toString() - + // When is each button visible? + // Multiple buttons can be visible at once. + // Action | Role | When Current Status is One of: + // ---------------|-----------|----------------------- + // Submit | Submitter | UnderConstruction, ChangesRequested + // Revoke | Submitter | Submitted, ChangesRequested + // Accept | Reviewer | Submitted + // Validate | Reviewer | Accepted + // Reject | Reviewer | Submitted + // RequestChanges | Reviewer | Validated, Accepted, Submitted + // Upload | MapAdmin | Validated return (