Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The StackingDAO page (
/protocols/stackingdao) now reads the new indexer API, so it works locally against the indexer. The homepage and the other protocol pages still call the old server's routes and are fixed in a follow-up PR.Sections
/stackingdao/stats,/stackingdao/yield/stackingdao/flows/stackingdao/yield/stackingdao/stakers/stackingdao/withdrawals/stackingdao/swaps/stackingdao/activity/api/protocols/stackingdaochart is deleted.core-v1stSTX deposits print no STX amount, so STX totals would undercount the earliest months.fetchApiand the response types inlib/api.ts, token metadata inlib/stackingdao.ts,ChartCard,TokenSwitch.Area charts fix
Every Tremor
AreaChartrendered empty, including the token page's volume chart: recharts 2 resolvedreact-is18.3.1, which does not recognize React 19 elements, so its fragment-wrapped series were dropped.pnpm-workspace.yamlnow overridesrecharts>react-isto 19.1.0, the versionapps/webalready depends on.Verification
tscandvp check(0 errors).next dev: the empty state renders; realcore-v1deposits show in the cards, charts and feed. With sample recent rows seeded in the throwaway database, all five charts draw on a clean load, the token switches work, the stSTX APY matches the hand calculation, and the console has no errors.Running locally
pnpm devinapps/indexer(API on :3001), thenpnpm devinapps/web. A fresh indexer database fills in oldest first.Known gap
The withdrawals chart is in STX/sBTC;
core-v1standard withdrawals print no STX amount and are missing from the earliest months. Fixing it needs token amounts on/stackingdao/withdrawals.