• eddie's avatar
    feat: swap rejection error handling (#6576) · 682fba21
    eddie authored
    * test: swap flow cypress tests
    
    * fix: use default parameter
    
    * feat: use Swap Component on TDP
    
    * feat: auto nav for TDP tokens
    
    * chore: merge
    
    * chore: merge
    
    * chore: merge
    
    * chore: merge
    
    * fix: remove extra inputCurrency URL parsing logic
    
    * fix: undo last change
    
    * fix: pass expected chain id to swap component
    
    * fix: search for default tokens on unconnected networks if needed
    
    * test: e2e test for l2 token
    
    * fix: delete irrelevant tests
    
    * fix: address comments
    
    * fix: lint error
    
    * test: update TDP e2e tests
    
    * fix: use pageChainId for filter
    
    * fix: rename chainId
    
    * fix: typecheck
    
    * fix: chainId bug
    
    * fix: chainId required fixes
    
    * fix: bad merge in e2e test
    
    * fix: remove unused test util
    
    * fix: remove unnecessary variable
    
    * fix: token defaults
    
    * fix: address comments
    
    * fix: address comments and fix tests
    
    * fix: e2e test formatting, remove Maybe<>
    
    * fix: remove unused variable
    
    * fix: use feature flag for swap component on TDP
    
    * fix: back button
    
    * feat: copy review screen UI from widgetg
    
    * fix: modal padding
    
    * feat: add final detail row
    
    * fix: remove widget comment
    
    * fix: update unit tests
    
    * fix: code style consistency
    
    * fix: remove padding from AutoColumn
    
    * fix: update snapshots
    
    * fix: use semantic gaps
    
    * fix: more px and gaps
    
    * fix: design feedbacks
    
    * fix: button radius in summary modal
    
    * fix: design nits
    
    * feat: update design of summary modal
    
    * fix: font weight and vertical spacing
    
    * fix: update snapshots
    
    * fix: css nits
    
    * wip: move approval to summary modal
    
    * wip: not working
    
    * feat: working
    
    * fix: fix flow
    
    * feat: simplify states and build new modal UI
    
    * feat: todos and differs fix
    
    * feat: update tx status modal
    
    * feat: split up approve and permit
    
    * feat: error state
    
    * feat: update success and error states
    
    * feat: undo changes to TxConfirmationModal
    
    * feat: re-order functions
    
    * wip: move approval to summary modal
    
    * wip: not working
    
    * feat: update permit2 e2e tests
    
    * feat: tests passing
    
    * fix: swap test
    
    * fix: bad merge
    
    * wip: move approval to summary modal
    
    * wip: not working
    
    * feat: PendingModalContent tests
    
    * feat: useMaxAmountIn
    
    * fix: bad merge
    
    * fix: naming
    
    * fix: modal flicker when refetching trade
    
    * wip: move approval to summary modal
    
    * wip: not working
    
    * feat: working
    
    * fix: fix flow
    
    * feat: simplify states and build new modal UI
    
    * feat: todos and differs fix
    
    * feat: update tx status modal
    
    * feat: split up approve and permit
    
    * feat: error state
    
    * feat: update success and error states
    
    * feat: undo changes to TxConfirmationModal
    
    * feat: remove step indicators when only one step
    
    * feat: move content into PendingModalContent component
    
    * fix: lint
    
    * chore: merge
    
    * fix: update tests for new modal
    
    * feat: add l2 chain logo to modal
    
    * feat: add unit test
    
    * fix: correct modal state when moving between steps
    
    * fix: correct modal state when moving between steps
    
    * fix: proper error handling of user rejection of swap
    
    * feat: update e2e test
    
    * fix: typecheck
    
    * fix: comments
    
    * fix: code style improvements
    
    * feat: require trade to be defined
    
    * fix: remove extra props from ThemedTexts
    
    * fix: one more trans
    
    * fix: remove unused export
    
    * feat: remove undefined checks and other fixes
    
    * fix: update test
    
    * fix: add missing dollar sign
    
    * fix: remove null check and update test
    
    * fix: remove max width from detail row value
    
    * fix: remove isOpen prop
    
    * fix: isopen
    
    * feat: refactor approval flow into a hook
    
    * fix: custom error type
    
    * fix: testid fix
    
    * fix: add comment
    
    * fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
    
    * fix: address  comments
    
    * fix: headerContent prop
    
    * feat: add comments explaining async state
    
    * fix: test updates
    
    * fix: nits
    
    * fix: reduce nesting
    
    * fix: address comments
    
    * test: remove line from test for debugging
    
    * fix: update tests
    
    * fix: address  comments
    
    * fix: update tests
    
    * fix: more nesting in test
    
    * fix: update test
    
    * fix: update e2e test
    
    * fix: update error test
    
    * fix: reorganize test code
    682fba21
Name
Last commit
Last update
..
__generated__ Loading commit data...
__snapshots__ Loading commit data...
addressesAreEquivalent.test.ts Loading commit data...
addressesAreEquivalent.ts Loading commit data...
anonymizeLink.test.ts Loading commit data...
anonymizeLink.ts Loading commit data...
approveAmountCalldata.ts Loading commit data...
arrays.test.ts Loading commit data...
arrays.ts Loading commit data...
calculateGasMargin.test.ts Loading commit data...
calculateGasMargin.ts Loading commit data...
calculateSlippageAmount.test.ts Loading commit data...
calculateSlippageAmount.ts Loading commit data...
chains.tsx Loading commit data...
computeFiatValuePriceImpact.tsx Loading commit data...
computeSurroundingTicks.test.ts Loading commit data...
computeSurroundingTicks.ts Loading commit data...
computeUniCirculation.test.ts Loading commit data...
computeUniCirculation.ts Loading commit data...
currencyId.ts Loading commit data...
currencyKey.ts Loading commit data...
env.test.ts Loading commit data...
env.ts Loading commit data...
errors.ts Loading commit data...
formatChartTimes.ts Loading commit data...
formatCurrencyAmount.ts Loading commit data...
formatNumbers.test.ts Loading commit data...
formatNumbers.ts Loading commit data...
formatPriceImpact.test.ts Loading commit data...
formatPriceImpact.ts Loading commit data...
formatTickPrice.ts Loading commit data...
getExplorerLink.test.ts Loading commit data...
getExplorerLink.ts Loading commit data...
getRoutingDiagramEntries.test.ts Loading commit data...
getRoutingDiagramEntries.ts Loading commit data...
getTickToPrice.ts Loading commit data...
index.test.ts Loading commit data...
index.ts Loading commit data...
isZero.ts Loading commit data...
listSort.ts Loading commit data...
loggingFormatters.ts Loading commit data...
matchMedia.test.ts Loading commit data...
matchMedia.ts Loading commit data...
maxAmountSpend.ts Loading commit data...
nativeTokens.ts Loading commit data...
noop.ts Loading commit data...
prices.test.ts Loading commit data...
prices.ts Loading commit data...
retry.test.ts Loading commit data...
retry.ts Loading commit data...
supportedChainId.ts Loading commit data...
swapErrorToUserReadableMessage.tsx Loading commit data...
switchChain.ts Loading commit data...
tradeMeaningFullyDiffer.ts Loading commit data...
transformSwapRouteToGetQuoteResult.ts Loading commit data...
unwrappedToken.ts Loading commit data...
urlChecks.test.ts Loading commit data...
urlChecks.ts Loading commit data...
userAgent.ts Loading commit data...
validateTokenList.test.ts Loading commit data...
validateTokenList.ts Loading commit data...
validateUserSlippageTolerance.test.ts Loading commit data...
validateUserSlippageTolerance.ts Loading commit data...