Closed dcrescimbeni closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
davi | ❌ Failed (Inspect) | Mar 2, 2023 at 3:04PM (UTC) |
@dcrescimbeni is attempting to deploy a commit to the dxgov Team on Vercel.
A member of the Team first needs to authorize it.
Description
The goal of this PR is to render "Governance" and "All Proposals" pages without crashing. It doesn't attempt to fully implement the logic of Gov 1.5.
To visit the DAO, get the DAO ID from a subgraph query, and navigate to it. Example:
http://localhost:3000/#/localhost/0x77f7df7de7ab705eb54982a12d8e1ac65bfa05d3
Looking sexy:
Closes #193
Other changes:
Proposal
page to remove dependency ofuseGuildImplementationTypeConfig
anduseGuildProposalIds
useProposalState
anduseTimeDetail
to hook storeindex
fileencodeActions
function toutils
Pending:
useTimeDetail
: it returns "some time" as the logic to return the actual end time of the proposal isn't implemented yetproposal.endTime
: it returns thestartTime
. SeeuseTimeDetail
noteuseProposalState
: it maps the Scheme state (None, Submitted, Rejected, Passed), but Gov 1.5 uses more complex logic to determine the actual state of the proposalType of change
How Has This Been Tested?
The page doesn't crash, which is nice.
Checklist: