Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hackathon submission state buttons are visually confusing #402

Open
garyhtou opened this issue Jan 10, 2024 · 1 comment
Open

Hackathon submission state buttons are visually confusing #402

garyhtou opened this issue Jan 10, 2024 · 1 comment

Comments

@garyhtou
Copy link
Member

The admin hackathon show page contains buttons to transition the state of a hackathon submission (Approve, Reject, and Hold for Review). It's a bit confusing because all the buttons appear at once (similar to #401)

image

We should hide certain buttons depending on the current state. For example, approve -> approve should not be a valid state transition; thus, we should hide the approve button if the current state is approved.

---
title: Hackathon Submission State Diagram
---
stateDiagram-v2
    [*] --> Pending
    Pending --> Approved
    Pending --> Rejected
    Approved --> Pending: Hold for Review
    Rejected --> Pending: Hold for Review
Loading
@northeastprince
Copy link
Collaborator

Those buttons should be disabled, but they're not showing up visually for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants