Skip to content

Feat/wire dashboard live api final#656

Open
amankoli09 wants to merge 5 commits into
Suncrest-Labs:mainfrom
amankoli09:feat/wire-dashboard-live-api-final
Open

Feat/wire dashboard live api final#656
amankoli09 wants to merge 5 commits into
Suncrest-Labs:mainfrom
amankoli09:feat/wire-dashboard-live-api-final

Conversation

@amankoli09
Copy link
Copy Markdown

Closes #103

Summary

What does this PR do? (1-3 sentences)

Related Issues

Closes #XX

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor
  • Documentation

Changes Made

Testing Done

How was this tested?

Screenshots

For UI changes, add before/after screenshots if applicable.

Checklist

  • Code follows the project's style guidelines
  • Self-review completed
  • Tests added/updated for changes
  • Documentation updated if needed
  • No secrets or credentials in the code
  • Smart contract changes reviewed for security implications

- Fix API URL handling: use relative paths for browser, absolute for server
- Fix next.config.ts regex to properly strip /api/v1 with optional trailing slash
- Handle non-JSON/empty API responses gracefully
- Rename fetch callback to fetchVaults to avoid shadowing global fetch
- Fix polling interval to only start when userId is present
- Fix useVaultHistory dependency array using stable vaultIds
- Fix SVG chart rendering for single-point case
- Fix USD balance calculation to use token prices instead of summing raw balances
- Remove unused currentNetwork variable from ActivityFeed
- Consolidate auth logic by having useNesterAuth delegate to AuthProvider
@amankoli09 amankoli09 requested a review from 0xDeon as a code owner June 3, 2026 12:10
@amankoli09
Copy link
Copy Markdown
Author

@0xDeon please merge and give me points i have fixed

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.

feat(frontend): wire dapp dashboard to live Go API — replace all mock data

1 participant