-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
ensure GIVbacks Eligiblity status on project details is correct #4763
Comments
This is ready to test @divine-comedian |
@LatifatAbdullahi passing to you for QA |
This issue doesnt seem fixed, please take a look After updating the status of a new project to "Verified" from the Admin panel, the Givback Eligibility status was still updated to "Eligible" on the Project details page as shown below. Also the "Is Givback Eligible" remains "No" at the Admin panel. |
@mateodaza the initial issue with verifying automatically changing status to Givback eligible has been fixed. Also, after approving projects, the GIVback status is updated on Project card , the top of the Project details page but not in the project details page, it still shows "Ineligible" |
@LatifatAbdullahi this seems like a bug If a project has the GIVbacks eligible badge, isGIVbacksEligibile is true from the project data then it should show "Eligible" next to the GIVbacks eligibility project status on the card. Can you confirm what you did? You went to the project in the admin panel and hit verify - this was NOT from approving the verificaition application form, correct? |
@divine-comedian Yes this is a bug, From the Admin panel, went to the "Project" section to verify the new project. The project became verified/vouched. On the project details page, you can see the "Vouched" badge and the Givback Eligibility changed from "submitted" to "Ineligible". From the Admin panel "Project verification form" section, I approved the project. The Givback eligible badge is shown on the Project card, Top of the project details page but the |
Thanks! I tested it out and it seems something is being handled wrong in the admin, just as you suggested latifat I made a table here that hopefully can carefully explain the impact of each action in the admin and what the expected outcome should be on the projects status for a variety of conditions there are 4 columns:
you can also view the sheet in google where it might look a bit easier to follow
|
This is an admin mess, basically the badge is checking the verification form first and then the real isGivbackEligible, that's why the false positive Just pushed a change where we ONLY check on isGivbackEligible as the main truth - all other statuses should remain the same |
@LatifatAbdullahi ready for test again based on the original AC |
Currently unable to test updating Givback eligibility status due to this issue : #4796 |
this project appears to still not be getting the correct badges @mateodazab https://staging.giveth.io/project/testing-the-success-view form status = draft (even though I've already submitted it and approved it before) project card shows givbacks badge but NOT vouched badge | it should show both badges project details page shows NO badges | it should show both givbacks and vouched badge if I change the form status = approved still no change on the badges that appear status in admin |
Verify/Vouch a Project(True) - Pass However when a new project is verified, then the Givback Eligibilty status(Submitted) is changed to "Ineligible". |
Putting the Table above into consideration Givback form - Approved |GIVback - TRUE | Verified - TRUE | Action : reject (vouch) | Expected : throws error | -- | -- | (cannot revoke Vouched badge of GIVbacks eligible project) | No error is thrown when Admin Users attempt to Remove/Revoke Vouched for Givback Eligible projects and the revoke action was successful In addition Table Info Considering the above from the table When the project is not vouched, and the Givback form is approved, the Vouched status didnt automatically update to verified when the Givback status is now Eligible. Aside these the other statuses works as expected. |
@LatifatAbdullahi let's follow up the table conditions in Giveth/impact-graph#1848 |
When I "verify'/vouch a project from the admin panel I noticed it changes the GIVbacks Eligibility of the project to "Eligible" even though the project is not eligible to receive GIVbacks.
Screencast.2024-09-23.12.31.27.1.mp4
The field for GIVbacks Eligiblity on both the project details page and the project cards on "my projects" should consider two things
isGIVbacksEligible
is true or falseIt should not be related to the projects
verified
or "Vouched" statusAC
From project details page and project cards on my projects page:
view guide here for how to manage project status from admin panel -> https://www.notion.so/giveth/Giveth-Verification-Team-Guide-1043ab28d48c80d4bd5bff85259a890c?pvs=4#7742cef0a680423cadcc8d2efbd9caea
The text was updated successfully, but these errors were encountered: