Skip to content

WIP Impact Metrics#66

Draft
carlbarrdahl wants to merge 213 commits intomainfrom
impact-metrics
Draft

WIP Impact Metrics#66
carlbarrdahl wants to merge 213 commits intomainfrom
impact-metrics

Conversation

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
easy-retro-pgf ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 2:05pm
ezrf-impact ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 2:05pm

hussmartinez and others added 30 commits September 5, 2024 18:50
* fix: filtering bug

* feat: update how status is fetched

* feat: update how status is fetched during filtering
* feat: refactored fetchImpactMetricsFromCSV to receive projectIds

* feat: refactored api.projects.listApproved to include metrics

* chore: added mock metrics with mocked ids p-

* chore: implemented api.projects.listSunnyProjects

* Revert "feat: refactored api.projects.listApproved to include metrics"

This reverts commit 0bd5a8c.

* feat: implemented indexMetricsByProjectId

* feat: implemented getMetricsByProjectId

* feat: implemented fetchMetadataFromAttestations

* chore: moved createOrderBy to filters.ts

* feat: implemented fetchApplicationAttestations

* feat: implemented getApplicationsStatusMapById

* chore: added metric to redeploy
* feat: implemented useSessionAddress hook

* chore: useCurrentUser and useIsAdmin now using useSessionAddress

* chore: added enabled arg to useBallot to avoid usage in ConnectButton if showBallot is false

* chore: use session address intead of wagmi address across the codebase
…cts (#155)

* chore: api.projects.listSunnyProjects only serves approved projects

* chore: remove status in listSunnyProjects endpoint
* fix: impact round votes must sum 100%

* fix: users can not import twice the same filename

* chore: change IconButton for Button for icon alignment

* fix: skip parsing empty lines to avoid NaN errors

* style: changed IconButton with Button, and removed size for consistency with distribution page
* chore: Update status enum to include 'rejected'

* refactor: list endpoint returns the count of applications for every status

* fix: page selector shows the right amount of pages per tab

- added rejected tab
- changed the application count message to show amount per total

* fix: application counts typo and remove button if no application period
* feat: added functionality to ignore possible spam application ids

* chore: added some spam ids
* updating metric data

* cleaning up parsing

* cleanup
* fixes/distribution-dialog

* implemented batch distribute cleaned the code

* minor: variable name change

* abstracted distribute page components

* handling transaction errors for pool creation + distribution

* fixes distribution workflow UX

* made use of invalidateQuery to make distribute page  responsive
* chore: include "not" match filter for attestation fetcher

* chore: listSunnyProjects serves all non possible spam applications

* refactor: fetchApprovedApplications to return hardcoded non spam for theSunnys
* feat: supporting search"

* cleanup
* supporting new csv structure without breaking old one

* returning additional data

* using new data model

* cleanup

* refactor: getting metrics of new CSV

---------

Co-authored-by: Hussein Martinez <husse.dev@gmail.com>
* parsing creator metrics

* cleanup

* emptying out spam list and returning applicaiton ids
* updating metrics and parser

* removing log
* updating metrics and parsing

* removing logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants