Skip to content

Conversation

@msteiner96
Copy link
Collaborator

No description provided.

…yling and animations

- Updated the animation properties for the StrategiesTable component for smoother transitions.
- Refactored the card styles in StrategiesTable to include a gradient background, hover effects, and improved layout.
- Added a scrollbar customization for better visibility in the StrategiesTable.
- Enhanced the StrategyEntry component with new styles, including a gradient background and hover effects.
- Improved mobile layout for both StrategiesTable and StrategyEntry, ensuring better usability.
- Added conditional rendering for displaying strategy counts and loading states.
- Updated typography styles for better readability and visual hierarchy.
- Refined the layout of strategy details, including TVL, APR, and user stake information.
- Updated TransactionsHeader component to improve hover effects and styling.
- Refactored TransactionsTable to utilize new card styles and improve responsiveness.
- Enhanced tab selection styles in VolumeChart for better user interaction.
- Improved tooltip design in VolumeChart for clearer data presentation.
- Adjusted spacing and layout across components for a more cohesive design.
@msteiner96 msteiner96 requested a review from Copilot June 10, 2025 12:11
@vercel
Copy link

vercel bot commented Jun 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
phoenix-frontend-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 0:13am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR “Improve list design” introduces enhanced sorting options and layout refinements across both API and UI components. Key changes include:

  • Adding sortBy and sortOrder properties to the AdvancedTradesParams and updating API calls accordingly.
  • Refining UI components with updated spacing, typography, and motion animations in transactions, volume charts, and strategies lists.
  • Updating filter and sort logic in history and transactions pages for improved maintainability and visual consistency.

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/utils/src/trade_api/types.ts Added sortBy and sortOrder fields to support API-level sorting
packages/utils/src/trade_api/trade_api.ts Reformatted condition logic for improved readability
packages/utils/src/api/fetchTrades.ts Propagated sort-related parameters through the API call
packages/ui/src/Transactions/VolumeChart/VolumeChart.tsx Updated styling and motion effects for tab and chart container design
packages/ui/src/Transactions/TransactionsTable/TransactionsTable.tsx Improved layout, animations, and typographic adjustments in transaction listing
packages/ui/src/Transactions/TransactionsTable/TransactionsHeader.tsx Updated sort handling with a consistent mapping approach
packages/ui/src/Transactions/TransactionsTable/TransactionEntry.tsx Added helper functions for formatting dates, amounts, and transaction hashes
packages/ui/src/Earn/StrategiesTable/StrategyEntry.tsx Refactored UI layout and updated APR display, with modified calculation factor
packages/ui/src/Earn/StrategiesTable/StrategiesTable.tsx Adjusted spacing, margins, and responsiveness in the strategies table
packages/ui/src/Earn/FilterBar/FilterBar.tsx Overhauled filter UI styling and behavior with new theme variable usage
packages/core/app/pools/page.tsx Updated layout margins and spacing for pool pages
packages/core/app/history/page.tsx Separated volume chart timeframes and refined load/sort logic for history filtering
Comments suppressed due to low confidence (2)

packages/ui/src/Earn/StrategiesTable/StrategyEntry.tsx:195

  • It appears the APR is now displayed as half of the original value (i.e. divided by 2). Please confirm whether this change is intentional.
up to {((apr * 100)/2).toFixed(1)}%

packages/utils/src/trade_api/types.ts:73

  • [nitpick] Consider adding inline documentation/comments for the new 'sortBy' and 'sortOrder' fields to clarify their intended usage and accepted values for future maintainability.
sortBy?: string;  sortOrder?: "asc" | "desc";

@msteiner96 msteiner96 merged commit 6c8abc2 into main Jun 10, 2025
4 of 6 checks passed
@msteiner96 msteiner96 deleted the improve-list-design branch June 10, 2025 12:14
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