Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a4f1b84
feat(swap): route screen behind a See details sheet
piyalbasu Nov 9, 2026
7004348
fix(swap): See details only for the quote on screen, at any amount
piyalbasu Nov 9, 2026
5d34854
fix(swap): show pools per path, only where its hops name a pool
piyalbasu Nov 9, 2026
15dc8f6
Merge feat/swap-soroban-tokens (with origin/master) into feat/swap-ro…
piyalbasu Nov 9, 2026
cb0d065
feat(swap): show a LI.FI route's resource fee in the swap fee
piyalbasu Nov 9, 2026
03db481
fix(swap): hold back a LI.FI route's resource fee in Max and the XLM …
piyalbasu Nov 9, 2026
e21c513
Merge feat/swap-soroban-tokens into feat/swap-route-screen
piyalbasu Nov 10, 2026
f3acbee
fix(swap): keep route sheet token icons round
piyalbasu Nov 10, 2026
c7ffbba
Show stellar-dex route venue as Stellar DEX with the Stellar logo
piyalbasu Nov 10, 2026
08aa94c
fix(swap): match route sheet spacing, venue icons and hop connector t…
piyalbasu Nov 10, 2026
9da92c4
fix(swap): route share badge uses the design's blue badge colours
piyalbasu Nov 10, 2026
07e9f81
fix(swap): Details route row overlaps 16px venue icons again
piyalbasu Nov 10, 2026
5f62007
Merge feat/swap-soroban-tokens into feat/swap-route-screen
piyalbasu Nov 11, 2026
8a1505b
Merge branch 'feat/swap-soroban-tokens' into feat/swap-route-screen
piyalbasu Nov 11, 2026
22062db
fix(swap): space the "+N" venue label from the Details row icons
piyalbasu Nov 11, 2026
fca3877
fix(swap): keep a route hop's code whole when it contains a colon
piyalbasu Nov 11, 2026
e3adbe3
Merge branch 'feat/swap-soroban-tokens' into feat/swap-route-screen
piyalbasu Nov 11, 2026
4133082
Merge remote-tracking branch 'origin/feat/swap-soroban-tokens' into f…
piyalbasu Nov 12, 2026
4a1d6df
test(swap): C3's identity test passes C4's getSwapDerivedData params
piyalbasu Nov 12, 2026
6487151
fix(swap): count only the hops that carry a pool
piyalbasu Nov 12, 2026
50bbffd
fix(swap): match the stellar-dex venue in any casing
piyalbasu Nov 12, 2026
1ae99a8
fix(swap): a venue icon that fails to load shows the generic icon
piyalbasu Nov 12, 2026
a0f91a5
fix(swap): the Details sheet's rate row reads "Cotação" in Portuguese
piyalbasu Nov 12, 2026
7b56913
fix(swap): the XLM-reserve check on Continue counts the resource fee
piyalbasu Nov 12, 2026
2c4e79f
fix(swap): a failed venue icon doesn't hide the next venue's icon
piyalbasu Nov 12, 2026
520fffb
fix(swap): match /protocols venue names trimmed, like stellar-dex
piyalbasu Nov 12, 2026
8bd9fc3
fix(swap): the review's rate row reads "Cotação" in Portuguese too
piyalbasu Nov 12, 2026
d384ba8
chore(i18n): drop the unused Rate key
piyalbasu Nov 12, 2026
5362cff
fix(swap): Max holds back the pair's last quoted resource fee
piyalbasu Nov 12, 2026
bed883f
fix(swap): the fee line reads in dollars at a cent or more
piyalbasu Nov 12, 2026
265672f
fix(swap): no dollar part on a Details fee under a cent
piyalbasu Nov 12, 2026
a19b501
fix(swap): no share pill for a share that isn't positive
piyalbasu Nov 12, 2026
b807d12
fix(swap): route paths expand independently
piyalbasu Nov 12, 2026
0b023ec
fix(swap): a blacklisted protocol's venue gets no branding
piyalbasu Nov 12, 2026
2229551
fix(swap): a route hop through XLM's contract reads XLM
piyalbasu Nov 12, 2026
fa9a994
fix(swap): the XLM-for-fees gate reads the current quote's fee only
piyalbasu Nov 12, 2026
b61cb49
fix(swap): a quote with no route keeps the pair's last resource fee
piyalbasu Nov 12, 2026
8a5e72c
fix(swap): providers de-duplicate on the same venue key as matching
piyalbasu Nov 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions @shared/api/types/backend-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ export interface SwapRoute {
toAmount: string;
paths: SwapPath[];
fees: SwapFee[];
/** LI.FI only: the simulated Soroban resource fee, in XLM. */
resourceFee?: string;
}

export interface SwapUnavailable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const SwapRateRow = ({
<div className="ReviewTx__Details__Row ReviewTx__Details__Row--rate">
<div className="ReviewTx__Details__Row__Title">
<Icon.SwitchHorizontal01 />
{t("Rate")}
{t("Swap details rate")}
</div>
<div
className="ReviewTx__Details__Row__Value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ describe("SwapRateRow", () => {
).toBeInTheDocument();
});

it("labels the row with the swap rate key", () => {
renderRow({});
expect(screen.getByText("Swap details rate")).toBeInTheDocument();
});

it("derives the value font-size from the rendered rate length", () => {
renderRow({
srcCode: "LONGTOKENA",
Expand Down
Loading
Loading