Sitelet https://github.com/unlock-protocol/unlock/pull/16630/files
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
20aeb61
fix(governance): load development env for Privy
blahkheart Sep 29, 2026
4f83976
feat(governance): add external-wallet batch voting
blahkheart Sep 30, 2026
e1961d1
refactor(governance): use active Privy wallet
blahkheart Sep 30, 2026
0fe10c5
fix(governance): prefer connected external wallet
blahkheart Sep 30, 2026
9505419
refactor(governance): keep batch voting UI minimal
blahkheart Sep 30, 2026
288422c
fix(governance): use app review modal for batch votes
blahkheart Sep 30, 2026
0c5929f
feat(governance): mark proposals already voted
blahkheart Sep 30, 2026
4b8a6de
feat(governance): clarify personal vote badges
blahkheart Sep 30, 2026
3a70f2d
feat(governance): update proposal totals after batch votes
blahkheart Sep 30, 2026
37fcd69
fix(governance): read confirmed batch vote totals
blahkheart Sep 30, 2026
6122d22
fix(governance): show batch vote progress
blahkheart Sep 30, 2026
ae6a2c9
fix(governance): accept confirmed wallet batches
blahkheart Sep 30, 2026
4120e7b
fix(governance): reload proposals after batch vote
blahkheart Sep 30, 2026
047a148
fix(governance): remove stale proposal vote overlay
blahkheart Sep 30, 2026
282435d
fix(governance): normalize wallet batch identifiers
blahkheart Sep 30, 2026
09af519
fix(governance): verify confirmed votes onchain
blahkheart Sep 30, 2026
3fcf9f9
fix(governance): clarify disabled batch selections
blahkheart Oct 1, 2026
a6cf4ce
fix(governance): clarify batch wallet support
blahkheart Oct 1, 2026
1990891
fix(governance): confirm successful batch votes
blahkheart Oct 2, 2026
0e89a53
fix(governance): clarify batch voting eligibility errors
blahkheart Oct 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 14 additions & 20 deletions governance-app/app/proposals/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ProposalCard } from '~/components/proposals/ProposalCard'
import { BatchVotingList } from '~/components/proposals/BatchVotingList'
import { ProposalErrorState } from '~/components/proposals/ProposalErrorState'
import { ProposalFilters } from '~/components/proposals/ProposalFilters'
import {
filterProposals,
getGovernanceOverview,
Expand Down Expand Up @@ -44,24 +43,19 @@ export default async function ProposalsPage({
</div>
</div>
</div>
<ProposalFilters activeFilter={activeFilter} />
<div className="grid gap-5">
{proposals.length ? (
proposals.map((proposal) => (
<ProposalCard
key={proposal.id}
now={overview.latestTimestamp}
proposal={proposal}
tokenSymbol={overview.tokenSymbol}
/>
))
) : (
<ProposalErrorState
title="No proposals match this filter"
description={`There are currently no proposals in the ${activeFilter} state.`}
/>
)}
</div>
{proposals.length ? (
<BatchVotingList
proposals={proposals}
now={overview.latestTimestamp}
tokenSymbol={overview.tokenSymbol}
activeFilter={activeFilter}
/>
) : (
<ProposalErrorState
title="No proposals match this filter"
description={`There are currently no proposals in the ${activeFilter} state.`}
/>
)}
</section>
)
} catch (error) {
Expand Down
7 changes: 7 additions & 0 deletions governance-app/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
/* eslint-disable @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires */
const dotenv = require('dotenv')
const path = require('path')

const unlockEnv = process.env.NEXT_PUBLIC_UNLOCK_ENV || 'dev'

dotenv.config({
path: path.resolve(__dirname, '..', `.env.${unlockEnv}.local`),
})

/** @type {import('next').NextConfig} */
const config = {
images: {
Expand Down
1 change: 1 addition & 0 deletions governance-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@unlock-protocol/eslint-config": "workspace:./packages/eslint-config",
"@unlock-protocol/networks": "workspace:./packages/networks",
"@unlock-protocol/ui": "workspace:./packages/ui",
"dotenv": "16.4.7",
"ethers": "6.15.0",
"next": "14.2.35",
"react": "18.3.1",
Expand Down
Loading
Loading