Commit Graph

142 Commits

Author SHA1 Message Date
jaredvu
29a894e124
Merge branch 'main' into canvas-orderbook 2024-01-03 13:44:50 -08:00
aleka
adba11b462
add accordion component and rewards help panel (#214) 2024-01-03 14:20:30 -05:00
Jared Vu
29526b927f
Update deposit and withdrawal receipts (#212)
* Update receipts

* Remove duplicate const

* Restore env

* format

* Try using raw

* Use 3 spaces T.T

* copy from main

* Update abacus, display proper toAmount and toAmountMin

* nits
2024-01-03 09:56:01 -08:00
Jared Vu
503e089efa
temp hide fees for cctp route (#213) 2023-12-23 01:17:41 -08:00
Jared Vu
c3495f462c
Additional Withdraw/Deposit validation (#211)
* Add cctp amount check and price impact check

* 2.5% -> 2%
2023-12-22 17:31:32 -08:00
Bill
6da6eeb2a4
Enable CCTP (#194)
* Enable CCTP

* Handle base64 encode

* Update localization package

---------

Co-authored-by: jaredvu <jaredvu@gmail.com>
2023-12-22 11:12:41 -08:00
aleka
f8cf1d364b
update coinbase connect app name (#208) 2023-12-21 10:58:57 -08:00
Jared Vu
6f344c6b5d
Update comparison function in Table (#207) 2023-12-21 10:53:56 -08:00
Jared Vu
c77e727d2b
TRCL-3406: firefox mobile position table row has stretched icon (#204)
* Fix PositionsTable assetIcon

* Mobile width of HelpDialog
2023-12-19 23:33:36 -08:00
Jared Vu
b94538711d
Lazy load Pages (#203)
* Lazy import pages

* Fix import order
2023-12-19 23:30:51 -08:00
Jared Vu
b83479f45c
Handle New Markets added by Gov (#201)
* Add celestia assets

* Handle symbol not yet added
2023-12-19 23:25:14 -08:00
Jared Vu
001aad3abc
Navigate to the Markets page if the current marketId is not included in subscribed markets (#198)
* Navigate to markets if current url is invalid

* nits
2023-12-19 15:58:49 -08:00
Jared Vu
f8bec0fb3d
Update Withdraw form receipt (#200) 2023-12-19 09:49:37 -08:00
Bill
71d1a0321b
Do not block website if NobleClient cannot init, and other onboarding fixes (#193) 2023-12-13 08:11:19 -08:00
Bill
0f16396c8d
Implement CCTP withdraw (#188)
* Implement CCTP withdraw

* bump packages

* address comments
2023-12-12 10:12:37 -08:00
Jared Vu
2709d79f59
Firefox issues (#190)
* remove row flicker on hover

* Fix border for AccountInfoConnectedState on mobile

* Remove sticky position to allow button click

* Fix: AccountInfo not displaying on mobile firefox

* Fix css var name

* Restore filter on Table row hover

* Remove PerspectiveArea. broken on firefox

* Symbol no longer exists on AbacusType

* HorizontalPanel: memoize tabConfig

* input: firefox cant click between chars
2023-12-12 08:37:50 -08:00
Jared Vu
4a044da38f
Size inputs (#191)
* use formattedValue to update redux state

* Separate updateLeverage and onLeverageInput

* Remove console.log
2023-12-12 07:11:51 -08:00
Jared Vu
9979bc8a16
Prevent Spread row from moving when orderbook updates (#186)
* Add dummy rows to ensure even row count

* Reverse bids for horizontal layout

* disable pointer-events for dummy rows
2023-12-06 10:26:47 -08:00
jaredvu
4a4014d837
Merge remote-tracking branch 'origin/main' into canvas-orderbook 2023-12-06 10:09:10 -08:00
aleka
a958a59ea2
Display more markets 12/06 (#178)
* add more markets 12/06
2023-12-06 11:38:49 -05:00
Jared Vu
2bf9e66da5
Fix inputs for comma locales (#171)
* Fix for comma decimal separator locales

* Accept tickSizeDecimals 0

* Use FloatValue as value for Size Input

* Use formattedValue to handle prefix/suffix

* Use MustBigNumber.toString()
2023-12-05 16:22:41 -08:00
Bill
2980144e40
Enable CCTP via TestFlags (#185)
* Enable CCTP via Env Var

* Use test flags instead
2023-12-05 14:48:47 -08:00
aleka
5387fe8632
Display more markets 12/05 (#177)
* add more markets 12/05
2023-12-05 09:52:12 -05:00
Bill
1132ea3bbd
Do not init nobleClient if nobleValidatorUrl does not exist (#184) 2023-12-04 11:19:29 -08:00
aleka
9188e08a4f
prevent 1password fill (#183) 2023-12-04 11:06:49 -05:00
aleka
941ef7f9dd
Display more markets 12/04 (#176)
* add more markets 11/30

* add more markets 12/01

* add more markets 12/04
2023-12-04 10:53:25 -05:00
Bill
b1ffa2e219
Support CCTP and noble auto deposits on testnet (#180)
* Support CCTP and noble auto deposits on testnet

* slippage

* fix fees

* update isCctp, and comments

* bump packages

* cctp.json

* Bump abacus

* fix error

* fix loading button
2023-12-01 15:18:50 -08:00
aleka
91ea68dc53
Add chaos labs launch incentives panel (#182)
* add chaos lab incentives panel

* add seen state

* external link dialog

* better disconnected state
2023-12-01 15:27:19 -05:00
aleka
cf79528d05
Display more markets 12/01 (#175)
* add more markets 12/01
2023-12-01 09:59:04 -05:00
aleka
60d59cd211
add more markets 11/30 (#174) 2023-11-30 10:06:25 -05:00
aleka
19d38378f3
display more markets (#173) 2023-11-29 10:33:02 -05:00
jaredvu
7c48058cd3
Animation attempt 2023-11-28 15:44:01 -08:00
Bill
15a64232c0
Fix USDT approval (#170)
* Fix USDT approval

* address comment
2023-11-28 11:44:21 -08:00
aleka
28d3be0370
Release notification (#169)
* add release notif
2023-11-28 12:36:29 -05:00
Jared Vu
33516422e7
Filter markets and add test flag (#168) 2023-11-27 17:05:19 -08:00
jaredvu
2e51502abe
Use 100% for canvas width 2023-11-27 14:58:45 -08:00
jaredvu
def6874de9
useDrawOrderbookHistograms -> useDrawOrderbook 2023-11-27 13:26:26 -08:00
jaredvu
e475a24732
Histogram side handling 2023-11-27 13:20:52 -08:00
jaredvu
01a1678edd
Merge remote-tracking branch 'origin/main' into canvas-orderbook 2023-11-27 13:07:22 -08:00
Jared Vu
b4cc5f87ec
Add href prop to button component (#164)
* Add href prop to button component

* Use ButtonType.Link
2023-11-27 12:39:57 -08:00
jaredvu
8da8408a0a
hard code height/width to avoid scaling issues 2023-11-27 10:18:35 -08:00
jaredvu
8bae419297
restore setting width from ref 2023-11-27 09:52:58 -08:00
Bill
549ae558e7
Default Locale to EN if not supported (#163) 2023-11-27 08:57:57 -08:00
jaredvu
a54653242e
Update drawnText color on theme change 2023-11-26 17:31:08 -08:00
jaredvu
fad4284ed5
Add log for createLinearGradient 2023-11-26 17:00:06 -08:00
jaredvu
19a377a9e5
remove clientHeight from dep list 2023-11-26 15:02:38 -08:00
jaredvu
ca9501e3cc
Fix orderbook centering 2023-11-26 14:55:53 -08:00
jaredvu
1407c9a460
Orderbook Row: Handle locale change 2023-11-26 14:32:20 -08:00
jaredvu
d96b07b394
Unset hoveredRow if unapplicable 2023-11-26 13:43:51 -08:00
jaredvu
c76b71143b
Add hoverCanvas. Optimize Clearing for canvas 2023-11-26 13:32:54 -08:00