Commit c6b4d15
committed
Nebula: Recent Activity improvements in sidebar (#7055)
<!--
## 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 focuses on enhancing the `TransactionsSection` component in the dashboard by modifying the transaction fetch limit and adding a filter for recent transactions.
### Detailed summary
- Updated `className` of `ChainIconClient` to include `rounded-full border`.
- Increased transaction limit from `10` to `20` in the URL query parameters.
- Added a filter for transactions from the last three months using `filter_block_timestamp_gte`.
- Changed the type of `json.data` from `WalletTransaction[]` to `WalletTransaction[]?`, allowing for undefined.
- Implemented a fallback to return an empty array if `json.data` is undefined.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent 0eff648 commit c6b4d15
File tree
1 file changed
+13
-4
lines changed- apps/dashboard/src/app/nebula-app/(app)/components/TransactionsSection
1 file changed
+13
-4
lines changedLines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
174 | 183 | | |
175 | 184 | | |
176 | 185 | | |
177 | 186 | | |
178 | 187 | | |
179 | 188 | | |
180 | | - | |
| 189 | + | |
181 | 190 | | |
182 | 191 | | |
183 | | - | |
| 192 | + | |
184 | 193 | | |
185 | 194 | | |
186 | 195 | | |
| |||
0 commit comments