Repository navigation
Conversation
A position swap settles in one transaction that also emits ordinary Supply/Borrow/Repay events, so the history listed those as separate rows next to the swap. Rows whose tx hash matches a swap's settlement hash now sit under that swap, behind a chevron that expands them.
|
@codex review |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
… filter A Borrow filter or a search hit on a leg dropped the swap and the leg with it, while the export still listed the leg.
…story-swap-legs-accordion # Conflicts: # src/locales/el/messages.js # src/locales/en/messages.js # src/locales/es/messages.js # src/locales/fr/messages.js
The export listed a swap and its Supply/Borrow/Repay rows as unrelated entries and printed swap actions as enum numbers. It now uses the screen's fold and filter, gives swap rows their settlement tx hash, names their action, and nests the legs in a steps field.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b6c696849
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…re the hash Two swaps settled in one CoW batch can't tell their Supply/Borrow/Repay rows apart, so folding them under the first swap mislabelled the second swap's legs.
…story-swap-legs-accordion # Conflicts: # src/locales/el/messages.js # src/locales/en/messages.js # src/locales/es/messages.js # src/locales/fr/messages.js
…story-swap-legs-accordion # Conflicts: # src/locales/el/messages.js # src/locales/en/messages.js # src/locales/es/messages.js # src/locales/fr/messages.js
Context: a position swap's settlement tx also emits Supply/Borrow/Repay events, which history listed next to the swap. Stacked on #3201.
Now: rows whose tx hash matches a swap's settlement hash fold under that swap, behind a chevron. CSV/JSON export matches the screen.
Decisions:
stepscell, swap actions as names.partOfSwapcolumn.Checked: origin staging, one account: 34 chevrons, 34 export rows with 57 steps, matching the API.
No API or DB schema changes.
Review in order (
?w=1):helpers.ts:foldSwapLegs,formatTransactionData.HistoryWrapper.tsx,TransactionRowItem.tsx.src/locales/*.Part of SDK-1119