Skip to content

Dex2#7

Merged
jamesatomc merged 2 commits intomasterfrom
dex2
Sep 13, 2025
Merged

Dex2#7
jamesatomc merged 2 commits intomasterfrom
dex2

Conversation

@jamesatomc
Copy link
Owner

This pull request introduces several improvements to the frontend's liquidity and farming pages, focusing on enhanced pool discovery, a more modern and compact UI for the farming experience, and code consistency. The main changes are grouped below by theme.

Pool Discovery Improvements:

  • Added support for fetching and displaying pools created by others directly from the on-chain factory in both AddLiquidityPage.tsx and RemoveLiquidityPage.tsx, allowing users to interact with all available pools, not just those saved locally. [1] [2]
  • Introduced the factoryPools state to both liquidity pages to store and render pools retrieved from the factory contract. [1] [2]

UI/UX Enhancements for Farming:

  • Refactored the FarmingPage.tsx layout to use a more compact, mobile-friendly card design, with improved stats display and clearer action buttons. This replaces the previous grid-based layout and aligns the style with other pages.
  • Updated transaction status and farming status notifications to use simpler, less intrusive UI elements for a cleaner user experience.

Code Consistency and Clean-up:

  • Updated imports to consistently include usePublicClient and the DEX_FACTORY_ABI where factory pool interaction is required, and removed unused contract imports from FarmingPage.tsx. [1] [2] [3]

…ompact stats and enhanced staking/withdrawal sections
…RemoveLiquidityPage, and SwapPage for enhanced liquidity options
@vercel
Copy link

vercel bot commented Sep 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sm Building Building Preview Comment Sep 13, 2025 6:29am

@jamesatomc jamesatomc merged commit 6b9bfee into master Sep 13, 2025
1 of 4 checks passed
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.

1 participant