gitcoinco / gitcoinco/web

add handling for grant approvals for deactivated and rejected grants

Open
#9,755 0 comments 0 reactions 0 assignees View on GitHub
not ready
Dominant language
JavaScript
Stars
1.8k
Forks
776
PR merge metrics
No merged PRs in 30d

Description

### Description

As a grant owner, if my grant is rejected I would like a status informing me that my grant has been rejected.

Currently, the states that a user can see are non-existent when it comes to their grant being approved.

Once we build out the first elements of our approval waiting state, the user will see that their grant is inactive pending approval, and then that state will disappear once their grant becomes active. However, any of the states below will not be addressed by GITC-554: grant approval waiting stateMASTER / STAGING - it will remain as “inactive” with no further explanation. So, this leaves several states unaddressed in our approval process:

- Inactive, due to rejection
- Inactive, but in the appeals process
- Deactivated, exhausted all options for approval & appeal
- Deactivated, due to out of date / closure

In our backend, the way of dealing with this is currently with several flags:

- visible controls if a user can see it on the explorer
- hidden controls if a user can visit the grant details page
- active controls adding to a cart
- grants that are deactivated are set to visible = false

### Acceptance Criteria

TBD

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.