-
Notifications
You must be signed in to change notification settings - Fork 619
[NEB-213] Nebula: Show wallet Assets and Activity in sidebar #7046
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7046 +/- ##
=======================================
Coverage 55.51% 55.51%
=======================================
Files 909 909
Lines 58402 58402
Branches 4071 4071
=======================================
Hits 32419 32419
Misses 25878 25878
Partials 105 105
🚀 New features to boost your workflow:
|
size-limit report 📦
|
apps/dashboard/src/app/nebula-app/(app)/components/TransactionsSection/TransactionsSection.tsx
Outdated
Show resolved
Hide resolved
Merge activity
|
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR primarily focuses on enhancing the `AssetsSection` and `TransactionsSection` components by adding new features and improving the UI. It also modifies several existing components for better functionality and user experience.
### Detailed summary
- Changed `mergedSessions.push(session)` to `mergedSessions.unshift(session)` in `useSessionsWithLocalOverrides.ts`.
- Updated the width of the sidebar in `ChatPageLayout.tsx` from `280px` to `300px`.
- Added `customDetailsButton` prop to `NebulaConnectWallet` in `NebulaConnectButton.tsx`.
- Implemented conditional rendering for `customDetailsButton` in `NebulaConnectWallet`.
- Created storybook stories for `AssetsSection` and `TransactionsSection` with stubs for tokens and transactions.
- Enhanced `AssetsSection` and `TransactionsSection` components to handle loading states and display messages when there are no assets or transactions.
- Introduced `WalletDetails` component in `ChatSidebar` to manage assets and transactions tabs.
- Refactored `WalletSelector` to integrate `useActiveWallet` for better wallet management and user feedback.
- Improved button components with tooltips for better accessibility and UX.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->

PR-Codex overview
This PR focuses on enhancing the UI components of the
nebula-appby modifying layouts, adding new features, and improving the interaction with wallet and asset management functionalities.Detailed summary
mergedSessions.push(session)tomergedSessions.unshift(session)inuseSessionsWithLocalOverrides.ts.280pxto300pxinChatPageLayout.tsx.customDetailsButtonprop inNebulaConnectWalletcomponent.AssetsSectionandTransactionsSectionin Storybook.AssetsSectionandTransactionsSectioncomponents with new functionalities and UI elements.WalletSelectorto include wallet details and improved accessibility features.WalletDetailscomponent inChatSidebarfor displaying assets and transactions.CustomConnectButtonto dynamically render wallet information.