Grabbing the relevant metrics for a project using its project_id
For velocity, a simple measurement would be to sum up commits over the period (Feb - Apr) and compare to (Nov - Jan). If it's >50% higher, it could be increasing if it's >50% lower it could be decreasing and if it's in the middle it could be steady
NOTE if a unique project_id can't be returned, then the cards should simply be hidden.
Describe alternatives you've considered
Create an embeddable widget (eg #631) - not in scope currently
Describe the feature you'd like to request
A few impact metrics (if available) should be displayed on the project page on the grant explorer.
Per the Figma
Describe the solution you'd like
Three cards that can be powered by the following API calls.
Checking if there is a
project_id
for a given wallet address or GitHub repoGrabbing the relevant metrics for a project using its
project_id
For velocity, a simple measurement would be to sum up commits over the period (Feb - Apr) and compare to (Nov - Jan). If it's >50% higher, it could be
increasing
if it's >50% lower it could bedecreasing
and if it's in the middle it could besteady
NOTE if a unique
project_id
can't be returned, then the cards should simply be hidden.Describe alternatives you've considered
Create an embeddable widget (eg #631) - not in scope currently