Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data structure and logic updates #102

Open
wants to merge 83 commits into
base: main
Choose a base branch
from
Open

Data structure and logic updates #102

wants to merge 83 commits into from

Conversation

Argeare5
Copy link
Collaborator

@Argeare5 Argeare5 commented Jan 13, 2025

  1. Updated project structure (the structure matches all our UI projects).

  2. Integrated tRPC for server version of the app.

  3. Simplified zustand store.

  4. Removed all things related to old caching. ( Once this is merged into production we will be able to deprecate this repo https://github.com/bgd-labs/aave-governance-ui-helpers and package https://www.npmjs.com/package/@bgd-labs/aave-governance-ui-helpers)

  5. Updated IPFS version (now in IPFS version, there is no payloads explorer screen, all things related to creating a proposal (create screen, create overview screen removed from IPFS version), IPFS version now goes to the app directory, and not separately to pages. The IPFS version is separated from the server version using the next config, namely the extension of the page file. (https://github.com/bgd-labs/aave-governance-v3-interface/blob/feat/update/next.config.js , https://nextjs.org/docs/pages/api-reference/config/next-config-js/pageExtensions )

  6. Completely reworked the logic of the payload explorer screens. There is no store at all, data is received from the server directly and data polling is performed using SWR on the client. Integrated parallel and intercepting routes https://nextjs.org/docs/app/building-your-application/routing/parallel-routes, https://nextjs.org/docs/app/building-your-application/routing/intercepting-routes for payload modal.

  7. Removed Bignumber.js.

  8. Integrated @bgd-labs/rpc-env.

  9. Transactions have been slightly reworked, but data updates after transaction still works with RPC for more comfortable UX.

  10. Partially updated and optimized client components.

  11. Added documentation for developers. (WIP)

Closes #97 Closes #4

Copy link

vercel bot commented Jan 13, 2025

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

Name Status Preview Comments Updated (UTC)
aave-governance-v3-interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 13, 2025 0:35am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate from cache system to indexer API IPFS version pagination and filtering proposals
1 participant