-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Earn protocol WIP #19 #557
Conversation
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (2)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #557 +/- ##
==========================================
- Coverage 70.49% 70.22% -0.27%
==========================================
Files 25 25
Lines 261 262 +1
Branches 19 19
==========================================
Hits 184 184
- Misses 76 77 +1
Partials 1 1 ☔ View full report in Codecov by Sentry. |
19 of N pull requests.
This pull request introduces a significant set of changes to the
earn-protocol
application, primarily focused on implementing user activity tracking and enhancing the user interface for viewing historical yield data. The most important changes include adding a new user activity page, updating charts, and implementing various utility functions and components for user activity.User Activity Tracking and Display:
New User Activity Page:
UserActivityPage
component to fetch and display user activity data (apps/earn-protocol/app/earn/user-activity/page.tsx
).getUsersActivity
function to retrieve user activity data from the backend (apps/earn-protocol/app/server-handlers/sdk/get-users-activity.ts
).UserActivityView
component to display user activity with filters and infinite scroll (apps/earn-protocol/features/user-activity/components/UserActivityView/UserActivityView.tsx
).UserActivityTable
component to render user activity data in a table format (apps/earn-protocol/features/user-activity/components/UserActivityTable/UserActivityTable.tsx
).Utility Functions and Styles:
apps/earn-protocol/features/user-activity/table/filters/filters.ts
,apps/earn-protocol/features/user-activity/table/filters/mappers.ts
). [1] [2]UserActivityView
component (apps/earn-protocol/features/user-activity/components/UserActivityView/UserActivityView.module.scss
).Chart Updates:
MockedLineChart
withHistoricalYieldChart
inVaultOpenViewComponent
(apps/earn-protocol/components/layout/VaultOpenView/VaultOpenViewComponent.tsx
). [1] [2]HistoricalYieldChart
component to display historical yield data (apps/earn-protocol/components/organisms/Charts/HistoricalYieldChart.tsx
).Miscellaneous:
ComparisonChart
component to improve axis intervals and animation (apps/earn-protocol/components/organisms/Charts/ComparisonChart.tsx
). [1] [2] [3]VaultsListView
to include additional data blocks with placeholders for future data (apps/earn-protocol/components/layout/VaultsListView/VaultsListView.tsx
).These changes collectively enhance the functionality and user experience of the
earn-protocol
application by providing comprehensive user activity tracking and improved data visualization.