-
-
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
Decentralized Verification Feedback: Badges Tooltips + Filters #4765
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ export const ProjectStats = () => { | |
</IconWithTooltip> | ||
</Flex> | ||
<VerificationBadge | ||
isVerified={projectData?.verified} | ||
isVerified={projectData?.isGivbackEligible} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Inconsistent usage of verification properties detected across the codebase The change from
This scattered usage suggests potential inconsistencies in how project verification status is handled and displayed across the application. It's recommended to:
Analysis chainVerify the implications of changing verification criteria The change from
To ensure consistency and correct implementation, please run the following script: This script will help identify other occurrences of these properties and the Additionally, consider the following actions:
Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for other occurrences of 'verified' and 'isGivbackEligible' in the codebase
echo "Searching for 'verified' property usage:"
rg 'projectData\?\.verified' --type typescript
echo "\nSearching for 'isGivbackEligible' property usage:"
rg 'projectData\?\.isGivbackEligible' --type typescript
echo "\nSearching for 'VerificationBadge' component usage:"
rg '<VerificationBadge' --type typescript
Length of output: 592 Script: #!/bin/bash
# Description: Check for other occurrences of 'verified' and 'isGivbackEligible' in the codebase
echo "Searching for 'verified' property usage:"
rg 'projectData\?\.verified' --type typescriptreact
echo "\nSearching for 'isGivbackEligible' property usage:"
rg 'projectData\?\.isGivbackEligible' --type typescriptreact
echo "\nSearching for 'VerificationBadge' component usage:"
rg '<VerificationBadge' --type typescriptreact
Length of output: 622 Script: #!/bin/bash
# Description: Check for other occurrences of 'verified' and 'isGivbackEligible' in the codebase within .ts and .tsx files
echo "Searching for 'verified' property usage in .ts and .tsx files:"
rg 'projectData\?\.verified' --glob '*.ts' --glob '*.tsx'
echo "\nSearching for 'isGivbackEligible' property usage in .ts and .tsx files:"
rg 'projectData\?\.isGivbackEligible' --glob '*.ts' --glob '*.tsx'
echo "\nSearching for 'VerificationBadge' component usage in .ts and .tsx files:"
rg '<VerificationBadge' --glob '*.ts' --glob '*.tsx'
Length of output: 1415 |
||
verificationStatus={projectData?.verificationFormStatus} | ||
/> | ||
</StatRow> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Issues Found:
EProjectsFilter.VERIFIED
is still used insrc/helpers/url.tsx
.Please update or remove this usage to ensure consistency with the new filter value.
Analysis chain
LGTM! Verify translations and update related components.
The change from "vouched" to "isGivbackEligible" aligns well with the PR objectives. This update shifts the focus from project verification to GIVback eligibility, which seems to be the intended behavior.
To ensure consistency across the codebase:
'label.isGivbackEligible'
is properly translated in all language files.EProjectsFilter.VERIFIED
value and update them accordingly.Run the following script to help with these verifications:
This script will help identify any inconsistencies or areas that might need updating due to this change.
Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 800
Script:
Length of output: 1014