Zach Pomerantz
bdcf761ddd
chore: refactor swap button for maintainability ( #3579 )
...
* chore: mv SwapButton to dir
* chore: mv approval data to its own hook
* chore: mv approval actions to approvals hook
* chore: simplify SwapButton logic
* fix: pass through approval amount
* fix: mv error handling to consumer
2022-03-22 17:59:05 -04:00
Crowdin Bot
e876267d83
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-22 20:06:44 +00:00
Zach Pomerantz
76cbd82cb7
fix: bring wrap ui to spec ( #3577 )
2022-03-22 15:30:12 -04:00
Zach Pomerantz
6c4f7ab9a1
fix: modal border radius ( #3576 )
2022-03-22 13:44:33 -04:00
Zach Pomerantz
da20315724
fix: retain stale trade ( #3578 )
2022-03-22 13:03:02 -04:00
Zach Pomerantz
963b910552
fix: trade loading state ( #3572 )
...
* fix: invert stale callback
* fix: polling and validation logic
* fix: rm unused conditional
2022-03-22 12:23:38 -04:00
Zach Pomerantz
9e2dc9a435
fix: rm approval invariant ( #3569 )
v4.59.3
2022-03-21 16:40:27 -04:00
Ian Lapham
6567f18bf5
update code formatting for prettier ( #3571 )
2022-03-21 16:20:59 -04:00
Zach Pomerantz
ee96973212
chore: clean dialog mounting logic ( #3559 )
...
* fix: apply scrollbar css on first render
* fix: useUnmount portability
* chore: clean up dialog ordering
* fix: dialog border-radius
* chore: cleanup dialog unmount animation
2022-03-21 15:55:46 -04:00
Zach Pomerantz
ce6c783174
fix: trade UI latency ( #3563 )
...
* fix: do not delay trade update
* fix: do not delay initial input
2022-03-21 15:03:09 -04:00
Zach Pomerantz
64e8c3ced9
fix: token img jank ( #3562 )
2022-03-21 15:00:03 -04:00
Zach Pomerantz
46e6c2295d
fix: prevent scroll on token select focus ( #3560 )
2022-03-21 14:58:49 -04:00
Crowdin Bot
3626dbdeec
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-21 18:12:24 +00:00
Zach Pomerantz
eb75e0dc2e
fix: set approval to pending on wallet request ( #3570 )
2022-03-21 13:37:53 -04:00
Zach Pomerantz
c26ecdfc88
fix: use a min fresh block ( #3568 )
...
* chore: mv useFilterFresh to its own hook
* fix: use a minimum fresh block
* fix: re-poll on stale data
* chore: rename to staleCallback
* check for undefined
* chore: rename fresh->valid
Co-authored-by: ianlapham <ianlapham@gmail.com>
2022-03-21 13:18:21 -04:00
Zach Pomerantz
f508788026
fix: impact rendering ( #3553 )
...
* fix: price impact rendering
* fix: webkit-compat gradient
2022-03-21 10:26:35 -04:00
Zach Pomerantz
377026bca8
fix: summary expando height ( #3556 )
v4.59.2
2022-03-19 17:05:56 -05:00
Zach Pomerantz
9470c49d11
fix: fix loading delays for cached data ( #3549 )
...
* fix: loading transition
* fix: add check to usePoll
v4.59.1
2022-03-18 11:03:26 -07:00
Ian Lapham
e1abd81a1d
fix: add syncing state to trade loading ( #3545 )
...
* add syncing state to trade loading
* remove log statement
* update loading state
* update useLast trade logic
* nit fixes
2022-03-18 10:11:16 -07:00
Zach Pomerantz
7d9657867d
fix: polling lag ( #3543 )
2022-03-18 08:52:55 -07:00
Zach Pomerantz
7cc52abb96
fix: cache computed pool addresses ( #3537 )
2022-03-18 08:00:35 -07:00
Crowdin Bot
5ac41417b0
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-18 00:15:22 +00:00
Zach Pomerantz
2c74c5f2df
chore: include usdc in swap info ( #3539 )
...
* chore: refactor useComputeSwapInfo to include usdc
* chore: use passed usdc if able
* fix: fixture
2022-03-17 16:51:41 -07:00
Ian Lapham
cbc2ff668e
disable swap button if trade not populated ( #3542 )
2022-03-17 16:26:37 -07:00
Zach Pomerantz
a73f59b4ff
fix: only debounce input amounts ( #3540 )
2022-03-17 15:42:32 -07:00
Zach Pomerantz
7a75626c31
chore: bump to v0.0.25-beta ( #3538 )
2022-03-17 14:17:58 -07:00
Jordan Frankfurt
a0e14bef10
fix(vote): allow 0-vote proposals to render ( #3536 )
2022-03-17 15:37:36 -05:00
Yadong Zhang
9b5a53b2e8
fix: typeError: Cannot read properties of undefined (reading 'split') ( #3518 )
2022-03-17 14:30:13 -04:00
Crowdin Bot
50fdb36b6f
chore(i18n): synchronize translations from crowdin [skip ci]
v4.59.0
2022-03-17 04:06:49 +00:00
Ian Lapham
b993902c73
remove donation popup ( #3532 )
2022-03-16 20:42:06 -07:00
Zach Pomerantz
828bf540ba
feat: usePoll ( #3530 )
...
* feat: usePoll
* chore: comments
* fix: cleanup
* fix: review updates
* fix: lint nits
2022-03-16 14:54:17 -07:00
Zach Pomerantz
7c88a5a008
chore: bump to v0.0.24-beta ( #3524 )
v4.58.2
2022-03-15 22:31:41 -07:00
Zach Pomerantz
360c5e2c96
fix: fallback to eth_accounts in eip1193 bridge ( #3516 )
2022-03-15 09:42:05 -07:00
Ian Lapham
72678ee667
Update token list ( #3520 )
v4.58.1
2022-03-15 10:53:20 -04:00
Zach Pomerantz
4dd74f2144
fix: token img overflow ( #3517 )
2022-03-15 08:01:32 -05:00
Zach Pomerantz
e45c104135
fix: computed token img ( #3519 )
2022-03-15 08:00:46 -05:00
Crowdin Bot
98fcaacd9b
chore(i18n): synchronize translations from crowdin [skip ci]
v4.58.0
2022-03-15 09:06:57 +00:00
Crowdin Bot
93551579e4
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-14 20:11:46 +00:00
Zach Pomerantz
8a9388ed81
feat: make Expando element ( #3515 )
...
* feat: make Expando element
* fix: cleanup
* fix: simplify margin
* fix: summary height
* fix: special case gap transition
2022-03-14 12:03:40 -07:00
Ian Lapham
884bf41da7
fix: add check for undefined slot0 and liquidity call results ( #3513 )
...
* add check for undefined slot0 and liquidity call results
* update null check
* update code order
2022-03-14 14:02:03 -04:00
Zach Pomerantz
5b686aea97
fix: exhaustive dep ( #3514 )
2022-03-14 10:03:19 -07:00
Zach Pomerantz
c4a456a085
chore: simplify Price in its own component ( #3508 )
...
* chore: simplify Price in its own component
* fix: restore reversal
* fix: output usdc naming
2022-03-14 09:54:04 -07:00
Zach Pomerantz
4b9098a7bf
fix: token button overflow ( #3504 )
...
Removes the overflow property from TokenButton, which prevents the vertical scrollbar from rendering.
2022-03-14 09:42:38 -07:00
Zach Pomerantz
71a246f25c
fix: expando icon direction ( #3507 )
2022-03-14 09:42:24 -07:00
Zach Pomerantz
8de048bc84
fix: input amount lag ( #3503 )
...
Propagates the exact amount to the trade currency amount without waiting for the trade to be computed. This allows things like insufficient balance or approval to be reflected in the UI while typing, instead of having a lag.
v4.57.0
2022-03-13 22:45:14 -07:00
Zach Pomerantz
163e2d5560
fix: override Rule width ( #3502 )
...
* fix: override Rule width
* fix: include max-width
2022-03-11 17:26:02 -06:00
Zach Pomerantz
0edb0fe5e2
fix: memoize on-chain results ( #3493 )
...
* fix: memo-ize onchain results
* fix: typeof omission
2022-03-11 14:56:05 -08:00
Zach Pomerantz
496408b3db
fix: token list fetching performance ( #3480 )
...
* fix: token list fetching
* fix: simplify naming
2022-03-11 11:57:49 -08:00
Zach Pomerantz
78b6f5c72d
fix: destructure currencies for ref equality ( #3498 )
2022-03-11 11:25:17 -08:00
Zach Pomerantz
f9fb71a803
fix(perf): cache pools to avoid cost of instantiation ( #3499 )
2022-03-11 08:20:16 -08:00