v1.2.0: Named Asset Display and Improved Balance Management
[v1.2.0] - 2024-08-10
Added
- SwapContext:
- Introduced
tradingPairs
to manage the balances and asset names of trading pairs separately, leading to clearer state management and more precise updates.
- Introduced
Changed
-
AddLiquiditySection:
- Refactored to utilize
tradingPairs
for balance calculations, ensuring accurate data handling and preventing potential errors.
- Refactored to utilize
-
RemoveLiquiditySection:
- Updated to rely on
tradingPairs
for more accurate asset and DERO calculations.
- Updated to rely on
-
SwapForm:
- Modified to use
tradingPairs
for updating reserves and recalculating asset and DERO values.
- Modified to use
-
TradingPairsList:
- Enhanced to display asset names instead of addresses, significantly improving the user experience by making the interface more intuitive and user-friendly.
-
Select Component:
- Refined to support the display of asset names while maintaining functionality with the updated state structure.
Fixed
- “Create trading pair” button style
Summary
This release introduces a key enhancement to the Ghost Exchange Interface, focusing on improving user experience by displaying asset names instead of addresses. The updates to state management and balance handling ensure a more intuitive and seamless interaction, while the underlying codebase has been refined for greater clarity and maintainability.
Full Changelog: v1.1.0...v1.2.0