curvefi / curve-frontend

MIT License
17 stars 16 forks source link

feature: be able to set AdvanceMode=true over url #216

Open martinkrung opened 2 weeks ago

martinkrung commented 2 weeks ago

Context: I have a script which screenshots lend.curve.fi pages from time to time, it's for reporting of grants. It is done over python/silenium. so it uses a naked/fresh browser without any user interaction.

Another strong benefit is that we can share this link for user support, and we know that see the full info.

I suggest to have something similar to ?hideSmallPools=false

?isAdvancedMode=true

https://lend.curve.fi/#/ethereum/markets/one-way-market-3/vault/deposit?isAdvanceMode=true

code search for "isAdvancedMode"

https://github.com/search?q=repo%3Acurvefi%2Fcurve-frontend%20%20isAdvanceMode&type=code

OnlyJousting commented 2 weeks ago

it's a nice feature for when sharing markets via a URL to users not familiar with the curve UI that might not be aware of the "advanced mode" toggle but would still be interested in seeing all data