mento-protocol / governance-ui

An open source interface for the Mento protocol governance
https://governance.mento.org
0 stars 0 forks source link

Feat(28):Proposal creation - Tailwind refactor variant #105

Closed RyRy79261 closed 4 months ago

RyRy79261 commented 5 months ago

Overview

This PR leverages the #101 PR & builds off of the existing proposal creation PR to wire up the appropriate write & read actions

Reviewing instructions

This PR improves some logic around how the data is fetched, synced & updated.

It allows for caching of form input data until the proposal succeeds.

I refactored the SeeMore component to be more generic and have smooth animations.

There are two deviations from the design, the addition of the example code modal, as well as changing the transaction information screen at the end to a modal. I wrapped it in a modal for two reasons, it blocks any actions during the signing process, I felt its more of an informational screen than anything, for an action the user cant stop, so having it more as an alert felt more intuitive, especially in the case that it fails and you go back more more swiftly. This can be undone simply by rending the contents as a screen instead of in the modal.

Related issues

vercel[bot] commented 5 months ago

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

Name Status Preview Comments Updated (UTC)
governance-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 8:17am