Skip to content

v2 fix#18

Open
andropixels wants to merge 29 commits into
mainfrom
v2_fix
Open

v2 fix#18
andropixels wants to merge 29 commits into
mainfrom
v2_fix

Conversation

@andropixels

@andropixels andropixels commented Dec 16, 2024

Copy link
Copy Markdown
Member

1- added unstake message
2- addes reward dispatcher and withdraw unbonded message
3- fixed queries for rewards


PR-Codex overview

This PR introduces several enhancements and refactors to the codebase, including new interfaces, improved component structures, and integration of the react-toastify library for notifications. It also updates the layout and state management for better user experience.

Detailed summary

  • Added NEXT_PUBLIC_ENABLE_TESTNETS to environment variables.
  • Updated getLogo function to omit jpeg format.
  • Introduced new interfaces in src/types/dashboard.ts.
  • Refactored get_buffered_rewards and get_user_rewards in src/lib/Query/rewardDispatcher.ts.
  • Changed Dashboard component to OldDashboard in src/components/Dashboard.tsx.
  • Created a new StatsCard component in src/components/stats-card.tsx.
  • Added a new Input component in src/components/ui/input.tsx.
  • Replaced gradient background in src/components/wallet/Wallet.tsx.
  • Implemented ToastContainer from react-toastify for notifications.
  • Enhanced Sidebar component with navigation links.
  • Updated layout in src/app/layout.tsx to include Sidebar and Header.
  • Refactored Staking component for better state management and notifications.
  • Added Sheet components for modals in src/components/ui/sheet.tsx.
  • Updated ESLint rules in .eslintrc.json.

The following files were skipped due to too many changes: src/app/stake/page.tsx, package-lock.json

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@netlify

netlify Bot commented Dec 16, 2024

Copy link
Copy Markdown

Deploy Preview for nexusfi-testnet failed.

Name Link
🔨 Latest commit 7f60cf8
🔍 Latest deploy log https://app.netlify.com/sites/nexusfi-testnet/deploys/676085b04e91df0008891bd4

@0xshikhar 0xshikhar self-requested a review December 16, 2024 18:19
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.

2 participants