Peanut Common Goldeneye — (Bucephala clangula)
- Release Name: Peanut Common Goldeneye — (Bucephala clangula)
- Version: v0.2.4
- Release Date: November 23rd 2021
v0.2.4: At A Glance
DUX core unit is proud to ship yet another iteration of the Governance Portal! Although we had less capacity than usual*, we were able to deliver some minor features and improvements that contribute to our goals of bringing transparency, verifiability, neutrality, and security to Maker governance. This release makes it easier for users of the Governance Portal to find relevant information at a glance, whilst still having the option to dig in deep and find all the data they need. Examples would be ENS resolving throughout the application, an indicator for passive delegate contracts and an improved design for poll cards on their overview page.
Many of these features evolved from talking to members of the community, or suggestions on our idea board, so please join the conversation on Discord, or provide feedback at https://makergovernance.canny.io/ ✨
*In parallel to our work on the Governance Portal we also worked on more critical updates to the Liquidations Portal UI and the Migrations Portal UI. These frontends are not necessarily within our CU mandate but have been temporarily orphaned and therefore required some work to keep them functional. In consultation with SES and PE CU we decided that we had to prioritize this over the Governance Portal backlog.
Featured Changes
Improved polling card design
We have implemented an improved card design on the polling overview page. This new design incorporates more relevant data at a glance, such as a visual vote breakdown, an indication of the current winning vote option and the category tags. It will also indicate any special attributes of the poll, such as a 10k MKR threshold that applies to some poll types.
ENS resolving
This one was in high-demand: Adding a full implementation of ENS resolving throughout the Governance Portal. ENS domains are great for making addresses human-readable and create long-term associations with a person or entity. In this release we'll automatically resolve addresses to their respective ENS domains if they are set up. This also works with ENS subdomains (shoutout to ultraschuppi for using ENS subdomains for his delegate contract!)
'Last Voted' badge for delegates
We wanted to make it easier for users to spot inactive (or abandoned) delegate addresses and we came up with an implementation that does not require a centralized list of some sorts. This new feature checks the latest poll that the delegate contract participated in and adds a simple indicator on the delegate overview page and profile pages. The colour of the indicator changes based on how long ago the last voting activity was recorded on the blockchain. This feature is enabled both for recognized and shadow delegates and hopefully leads to less MKR tokens being dormant in governance.
ethers.js library upgrade to better handle EIP-1559 txs
Last but not least, this release also contains some more boring but important improvements to how the Governance Portal works. Ethers.js is an important Javascript library that we use for interfacing with smart contracts, and we have upgraded it to its latest versions—this also required some changes in how we use this package throughout the Governance Portal.
What's Changed
- release PR: v0.2.3 by @rafinskipg in #213
- 0.2.3 by @b-pmcg in #237
- Fix/tooltip delegates by @rafinskipg in #235
- Remove unused jsx imports by @adamgoth in #239
- ensure we always remove older polls when deduping polls by @tyler17 in #242
- add hw address pagination by @tyler17 in #243
- Daijs ethers update by @b-pmcg in #245
- feat: Show 0 supporterts by @rafinskipg in #238
- Resolve ens addresses by @rafinskipg in #241
- Chore/sc 519/upgrade swr to 1 0 by @adamgoth in #244
- add a new string to edit title matcher by @b-pmcg in #247
- Master by @b-pmcg in #248
- refactor: Document polling API with Swagger, include fetching tally in the API by @rafinskipg in #214
- Fix/last voted by @rafinskipg in #246
- Bump validator from 13.6.0 to 13.7.0 by @dependabot in #249
- Fixes: Small bugs release by @rafinskipg in #250
Full Changelog: v0.2.3...v0.2.4