Commit de2be35
feat: new zap create widget (#2905)
* update: migrate to package
* fix: install
* fix: update build-package
* fix: remove export
* fix: hooks file
* Clone zap widget (#2904)
* First look
Add FeeTierControl
Chore
Chore
Add PriceControl
* Try integrate api
* Chore
* Add calc tickSpacing
* Update fee default null
* Fix poolPrice
* Fix inputPrice
* Chore
* Update responsive
* Update
* Fix tickSpacing
* Fix useTokenPrices clear interval
* Update Preview
* Add config hooks
* Update set default fee by poolCategory
* Fix config hooks undefined
* Chore
* Update default chainId
* Add config poolCategory
* Update find exist pool
* Fix check pool exist
* Check pool exist add hoooks
* Improve success tx modal
* Check invalid token
* Check FOT
* Sort tokens and update fot message
* Update create flow
Chore
* Try fix switch
* Chore
* Clone zap widget
* Update pipeline
* Revert liquidity-widgets
* Continue
* Refactor
* Continue
* Update i18n
* Try to fix getZapRoute deps
* Chore
* Update message
* Update pnpm lock
* Add PriceSlider
* Rename CreatePoolModal
* Add warning
* Add effect getZapRoute
* Clone zap widget (#2904)
* First look
Add FeeTierControl
Chore
Chore
Add PriceControl
* Try integrate api
* Chore
* Add calc tickSpacing
* Update fee default null
* Fix poolPrice
* Fix inputPrice
* Chore
* Update responsive
* Update
* Fix tickSpacing
* Fix useTokenPrices clear interval
* Update Preview
* Add config hooks
* Update set default fee by poolCategory
* Fix config hooks undefined
* Chore
* Update default chainId
* Add config poolCategory
* Update find exist pool
* Fix check pool exist
* Check pool exist add hoooks
* Improve success tx modal
* Check invalid token
* Check FOT
* Sort tokens and update fot message
* Update create flow
Chore
* Try fix switch
* Chore
* Clone zap widget
* Update pipeline
* Revert liquidity-widgets
* Continue
* Refactor
* Continue
* Update i18n
* Try to fix getZapRoute deps
* Chore
* Update message
* update: migrate to package
* fix: install
* fix: update build-package
* fix: remove export
* fix: hooks file
* Update pnpm lock
* Add PriceSlider
* Rename CreatePoolModal
* Add warning
* Add effect getZapRoute
* Update pnpm lock
* fix(price-slider): calculate current tick from pool price
* fix: auto-zoom threshold
* fix: remove margin top
* fix: remove stuff
* Merge branch 'feat/price-slider' of github.com:KyberNetwork/kyberswap-interface into feat/new-zap-create-widget
* fix: focus-fighting
* Update protocol allowlist
* fix: remove className
* fix: remove className
* fix: styles
* fix: styles
* fix: mt
* fix: mt
* Fix fromCreatePoolFlow default
* rename to range slider
* Update Ether protocols
* Update notice and add arrow left
* Add Estimated preview
Chore
* Update zap-in preview
Chore
Chore add
* Check pool price at market rate
* Update
* Fix formatInputValue
* Use prod api
---------
Co-authored-by: Tien Nguyen <dinhtiennguyen.1202@gmail.com>1 parent 94e4956 commit de2be35
File tree
107 files changed
+7441
-265
lines changed- .github/workflows
- apps/kyberswap-interface
- src
- components
- Button
- FeeTierControl
- ZapCreatePool
- pages/Earns
- PoolExplorer
- components/DropdownMenu
- constants
- hooks
- utils
- services
- packages
- hooks/src
- liquidity-widgets/src
- assets/svg
- components
- Estimated
- Header
- Preview
- stores
- types
- ui/src/components/TokenSelectorModal
- UserPositions
- utils/src/liquidity
- zap-create-widgets
- src
- assets/svg
- components
- Action
- Content
- Estimated
- Header
- Preview
- PriceControl
- PriceRange
- Setting
- SlippageWarning
- constants
- hooks
- locales
- stores
- types
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
107 files changed
+7441
-265
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| 191 | + | |
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
Lines changed: 127 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
Lines changed: 100 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
0 commit comments