EditCard - Disable buttons for petitions in certain status

Open Beginner friendly
#129 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

Start by locating the EditCard component and how it displays the selected petition’s status. Check the handlers or button markup for “Decline,” “Request revision,” and “Accept.” Done means all three buttons are disabled outside student_action, while “Decline” and “Request revision” are also disabled in clerk_revision.

Written by the indexing model from the issue text.

Description

The EditCard displays the currently selectedPetiton.
This is also true for petitions in all statuses after "student_action" like "student_revision".
However, a student may only interact with the petition in the state of "student_action" and "clerk_revision".

  • disable "Decline", "Request revision" and "Accept" buttons in all statuses except "student_action" status
  • disable "Decline", "Request revision" in "clerk_revision" status
Dominant language
Vue
Stars
0
Forks
0
Avg merge
14m
Merged PRs (30d)
8

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClockGU/clock-work-frontend

All issues in ClockGU/clock-work-frontend

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.