yearn / budget

yearn budget requests and audits
MIT License
36 stars 26 forks source link

Continue Funding the Frontend Team [extension] #104

Closed saltyfacu closed 1 year ago

saltyfacu commented 1 year ago

Scope

The frontend team continues to have a series of projects in different statuses and with different requirements. The scope of this request is to maintain the currently finished UI projects, continue improving the projects under active development, and start new ones as we finish the ones we are working on.

Below there's a list of the projects under the frontend team.

Done / Low Maintenance

Under active development

Plan

The plan is to focus on the projects under development. veYFI is the main priority right now, followed by Yearn.watch. We will continue to improve its reliability and get the projects to the finish line. The team will fund contributors via bounties, using part of this grant.

We don't want to do streams yet, but to send the funds to contributors at the end of the month. We will leverage bounties for small tasks. All the details will be shared in comments at the end of the month, as we've been doing in #70 and #91

Deadline

2023-02-28

People

Gambito: leading some of the projects - no funding from this budget Major: leading some of the projects - no funding from this budget saltyfacu: just writing this proposals - no funding from this budget Chef: dev 0xMirim: dev

Other freelancers via bounties

Money

We plan to distribute a grant for each person in charge of a project and use bounties to fund other contributions linked to projects in maintenance mode or isolated contributions.

Amount

30000 DAI

Wallet address

0x0

Reporting

Monthly

karelianpie commented 1 year ago

Monthly Report 11.2022

yCRV

Final touches on the Wido integration, PR review:

ySync

New features in ySync, now partners in exporter are mirrored in yDaemon and there's a check so see if every vaults' want token has a description:

yDaemon

Minor work on yDaemon related to https://github.com/yearn/ySync/pull/78#issuecomment-1303838232

Web lib

Substantial improvement related to TypeScript in the web lib codebase:

Yearn Issues

Fixed a bug that was prevent the good first issue page from loading:

Yearn Comms

Implemented deep-linking with anchor link support for headings, fixed the greeting GitHub action and bug related to og:image:

yMigrate

Started working a greenfield project to have a "nicer bowswap". The final outcome would be to have a single web app to zap from aave, curve, beefy, compound, stakedao, etc. to Yearn.

0xMirim commented 1 year ago

Partner Dashboard

This month was productive. I spent all my time focused on the partner dashboard, specifically finalizing and transforming most of the dashboard placeholders into robust working components that are ready to use real partner data.

I also reached the point where I needed feedback and started conversations with Evan Kox (design), as well as members of the b2b dashboard telegram group for feedback on functionality and data sourcing concerns.

I'm finishing the month focused on sourcing the real data to use as input to generate the chart visuals. This started with investigating yDaemon which didn't have the required partner data, and evolved into an investigation of the yearn exporter. I've brushed up on docker and learned the basics of grafana and victoriametrics. I've also reviewed a fair amount of exporter code related to how to query partner data. I'm planning to begin a conversation with Bob the Builder or Marius shortly for additional clarity.

Link to current dashboard demo - Screenshots also included below.

Overview of Code Changes


charts-01 charts-02
ai-slave commented 1 year ago

Was passing by, thought I could help and so decided to do so :) I was getting familiar with the codebase and picked up a global settings task which required to dive into multiple projects and update some codebase while introducing the ability to change project settings like API server urls and so on. I achieved what we planned together with Major (thank you for guiding me!). Here's a quick summary:

yCRV

Introduced settings block

web-template

Reported bug

Yearn Watch

Introduced settings block, fixed bug with vault names.

ySync

Introduced settings block

yBribe

Introduced settings block, migrated env variables to settings

Yearn v3

Fixed UI bug

0xMirim commented 1 year ago

Partner Dashboard

My full focus remained the partner dashboard, specifically working to source the correct data to create dynamic partner specific UI for the dashboards.

This report is more verbose than usual as the early part of the month was spent largely exploring data and troubleshooting data issues, which didn't result in commits. While not especially fast the important thing is that the overall effort was successful and I now have the clarity required to tackle data related tasks much faster in the future.

I began the month with efforts to run my own exporter instance on a remote host. On multiple days I became blocked with issues related to RPCs but with the assistance of Bob, and Marius I was able to solve these.

Running my own exporter seemed like the best idea early on because it would allow me admin access to configure Grafana dashboards, as well as the ability to explore relevant partner metrics. This was necessary because no such visuals had been setup on the production Grafana dashboard, and the production metrics explorer wasn't available without admin access.

About mid-month was the first time I synced with Dark and after hearing about my needs, and previous efforts, he provided me admin access to the exporter dev / staging area, where he had already configured Grafana visuals for partner metrics. This was appreciated, saved me time, and allowed me to consult metrics on-demand.

From there I spent time considering which queries I would need to send to retrieve the desired data on the front-end. My preliminary use-case was retrieving what vaults a partner was in to dynamically generate dashboard tabs. I used the Insomnia REST client to test a variety of queries and see what would get returned and in what format. Everything worked fine.

Towards the end of the month, content with my data wrangling efforts, I returned to front-end dashboard work. It had been a while since dependencies had been updated so I started there. Next I followed Major's advice and upgraded the tabs, to replace the web-lib implementation, as well as allow the addition of new actions (copy address, and view address on explorer). I then started work on a usePartner context to allow efficient query and application wide sharing or relevant partner data once retrieved.

Next I started making data requests from the front-end only to face blocked requests due to CORS configuration of the exporter-api. I was blocked here for a while until Marius suggested running the exporter-api locally with an adjusted CORS config. I was able to do this and succeeded in setting up a dev environment that would access the API data without issue.

I spent about a day adjusting the exporter-api to parse and return data in a format that was easier to use on the front-end. I ended up determining that such an approach wasn't worth the effort and implemented logic to do necessary transformation on the front-end.

I ended the month by pushing an implementation of dynamic vault tabs on each partners dashboard. When a dashboard is visited it will show one tab for each vaults that partner is in. The tab name includes the vault token and the network the vault is on. In the case no data exists simple UI to show "No vaults found" is show, a loading state is also shown while vaults are being retrieved.

Overview of Code Changes


vaultTabs
ktgnova commented 1 year ago

Happy New Year, everyone! This month I did work on updating web-lib with the new design system elements as well as clearing up css classes. Here are the PRs (one of them needs to be reviewed):

Web-lib

karelianpie commented 1 year ago

Monthly Report 12.2022

yCRV

Web lib

Yearn.fi

Yearn Watch

Web Template

0xMirim commented 1 year ago

Partner Dashboard

This month focused on using the data that was sourced last month to implement real charts using live data. We now have the actual aggregate wrapper balance chart on each dashboards Overview tab, as well as vault specific wrapper balance chart on each vaults tab.

Overview of Code Changes

Chart showing the balance of a specific partners wrapper contract over time, as well as vault metrics

wrapperBalance

Aggregate wrapper balance chart for a partner showing their profit share tier change overtime based on the sum of their wrapper balance across all tracked vaults.

awb
Itzabelli commented 1 year ago

January Report

Hello, I am new here, @0xMirim recently told me about your project and I am very interested, so I decided review it to see if it was possible to contribute to it. I thought I'd to start with some small things, I hope to be able to continue bringing more significant changes that meet the objectives or needs of the organization.

Yearn Finance

karelianpie commented 1 year ago

Monthly Report 01.2023

Yearn.fi

Web lib

yBuyback

Itzabelli commented 1 year ago

February Report

Hello! This month was good I continued looking at various Yearn repos and trying to identify and resolve small issues. I feel like I have a good understanding of some of the repos and plan to focus more of my time on b2b-dashboard moving forward as it was not too difficult to understand and there seems to be things to do there that match my skill level.

Yearn Finance

B2B Dashboard

Yearn Genius

Yearn Daemon

Issues

I opened these issues early in the month and then focused on other tasks. I think I see possible solutions and I will be submitting solutions to these issues soon.

Yearn Press Kit

karelianpie commented 1 year ago

Monthly Report 02.2023

Yearn.fi

ySync

yGenius

Web lib

yIssues

0xMirim commented 1 year ago

Partner Dashboard

The focus of this month was to reach a near feature complete version of the b2b-dashboard. I worked hard to make this a reality and am proud to say that we are very close at this point. Only a few things small things needed to be carried forward, then focus will shift to polishing and preparing for a production release.

All charts required for release have been added and only minor modifications are required at this point. Login needs to be finalized, but I'm working on it and should be done in the coming days. It's likely we'll be able to set a launch date within the next two weeks, with the idea to launch for the dashboard in mid-to-late March.

Overview of Code Changes

Yearn Exporter

Chart showing the Wrapper Balance Distribution charts now on all partners Overview tab.

wrapperBalanceDist

Chart showing Individual Harvest Events now on all partners Overview tab.

HarvestEvents
saltyfacu commented 1 year ago

Total spent: 28.429 DAI