Skip to content

Conversation

@hypercerts-admin
Copy link

Automated PR from dev to main (release)

bitbeckers and others added 17 commits February 24, 2025 19:23
Refactors and optimises the data fetching of the tabs pages to speed up
the loading of the data
typo in filename, console logs, redundant business logic
Replace useQuery implementation in hypercerts-tab-content and -counts
component with hooks for reusability
Removes unused hooks and services from the hypercerts folder
Updates the refreshData methods in the unclaimed hypercerts claim and
batch claim button to:

- invalidate the user's profile page
- invalidate the relevant API paths
- all hypercert view pages for the claimed fractions hypercert IDs
- Refactors the refactor into server side data fetching, aiming for as
much SSR as possible
- Moves actions for hypercerts and allowlist into `actions` folder to
make their purpose explicit
- Removes the suspense boundary on the hypercerts-tab-content component
and puts it on the highest level possible - the UnclaimedFractions table
- Adds allowlist action for fetching unclaimed fractions with metadata
attached
- removes the delete action from the metadata fetcher. The requestmap is
ephemeral so we let is run with the lifecycle of the method
…uttons

- Refactors the refreshData method to improve path invalidation and refresh logic.
- Implements a 5-second delay before refreshing the router and navigating to the hypercerts-claimable tab.
- includes {path: "/", type: "layout"} to revalidate root layout.
- Deletes the useClaimableHypercerts, useCreatedHypercerts, and useOwnedHypercerts hooks as they are no longer needed.
- remove type for specific path
- add `/profile/${address}` for invalidation path because /page/[address] also seems have cache
@hypercerts-admin hypercerts-admin added the automated pr PR created via GitHub action label Apr 4, 2025
@vercel
Copy link

vercel bot commented Apr 4, 2025

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

Name Status Preview Comments Updated (UTC)
hypercerts-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 10:30am

@Jipperism Jipperism merged commit b9f5ad7 into main Apr 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated pr PR created via GitHub action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants