Commit Graph

124 Commits

Author SHA1 Message Date
saml33 08308c6902 re-add edit account name (#410) 2022-09-15 17:33:02 -04:00
rjpeterson 8ad4f525c2
translate recent additions (#404) 2022-08-25 19:45:50 +02:00
theDefiBat c3a2f548c6
Disable Delegate deposits on UI for Investin's Mango based Market Making Funds (#405)
* added isInvestinDelagate to disable deposits

* run prettier
2022-08-25 19:26:21 +02:00
saml33 27e5db7418
add total volume to history tab (#403) 2022-08-22 14:13:44 +02:00
saml33 3d50d89fcf
add liq price tooltip (#391) 2022-08-18 08:37:39 +02:00
saml33 d2d9f84629
add show/hide columns to perp table (#388) 2022-08-04 12:39:04 -05:00
rjpeterson 710329d844
fix typo (#384) 2022-08-02 12:55:50 +02:00
Riordan Panayides a420dcc852 Add russian locale to switcher 2022-07-25 13:48:55 +01:00
rjpeterson 1ac7c27b8a
add recent translations (#355) 2022-07-14 15:53:56 +02:00
saml33 4e5a79cbc4
profiles (#341)
* add profile features

* fix formatting

* fix loading when not connected

* use profile name as url param

* fix responsive layout
2022-07-08 12:17:56 +02:00
Nicholas Clarke ecace3db9d
add spot pnl to leaderboard (#349)
* add spot pnl to leaderboard

* run prettier

* update spot icon

* update missing locales

Co-authored-by: saml33 <slam.uke@gmail.com>
2022-07-07 13:35:13 +02:00
saml33 aa626af649
replace leverage with health and fix max amount bug (#332)
* replace leverage with health and fix max amount bug

* change account projection position

* use >100 when health is > 100
2022-07-05 13:23:16 +02:00
saml33 5a1eb75537
add 404 page (#344) 2022-07-04 19:01:05 +02:00
Crusher c919d87696
Cancel all button (#275)
* Added Cancel All button to desktop table.

* Added Cancel All button to mobile table.

* Fixed notification issue with handleCancelAllOrders.

* Ran Prettier.

* Moved cancel-all button to order row.

* Ran Prettier.

* Extending cancel all to spot market too.

* Adding for spot market

* run prettier

Co-authored-by: godmode galactus <godmodegalactus@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-07-02 13:21:09 +02:00
saml33 9ce2e1aa83 show create account message and hide tips 2022-06-22 21:45:43 +10:00
saml33 2942b7ad7d allow withdraw from accounts other than selected account 2022-06-22 15:42:20 +10:00
saml33 acaa6b431a allow deposit into accounts other than the selected account 2022-06-22 14:50:55 +10:00
saml33 e394f7523c merge main 2022-06-19 21:07:06 +10:00
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
tjshipe 4e88ef68f0
Merge branch 'main' into update-translations 2022-06-16 17:52:09 -04:00
saml33 2ce54a7fba responsive and account summary 2022-06-16 20:57:11 +10:00
rjpeterson 865b6efaea update day range localization 2022-06-11 18:15:22 -07:00
rjpeterson 9cb09996d2 add simplified 2022-06-11 16:40:52 -07:00
saml33 b126b3d229 empty states 2022-06-11 21:59:36 +10:00
rjpeterson 7c80ae20b2 add recent translations 2022-06-10 22:43:47 -07:00
saml33 e511171b61 simplify content and layout 2022-06-10 22:00:26 +10:00
saml33 cb70a6963b add circular health progress 2022-06-09 20:28:13 +10:00
saml33 cf31cebdd5
relative long/short chart (#299)
* relative long/short chart

* eth icon bug

* simplify language and chart styling

* fix sol icon bug

* sort segments and include unsettled positions

* make chart angle relative to value

* sol, msol color

* simplify math

* change language

* re-work account overview layout

* increase tabs margin-b

* correctly net unsettled perps and add dust treshold

* layout

* xl breakpoint

* add spot balances to store

* add missing file

* update long / short exposure values and charts

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-06-08 17:01:15 +03:00
tjshipe 4897f73e01
Merge pull request #306 from blockworks-foundation/liquidations-table
improve liquidations table
2022-06-08 00:00:13 -04:00
saml33 59ed2d19de improve liquidations table 2022-06-06 13:49:00 +10:00
rjpeterson b562fb7829 translate recent phrases 2022-06-03 13:52:08 -07:00
tjs b168abc26a update global message of network health 2022-06-01 13:14:51 -04:00
saml33 dbb0aaecbc allow filter when >10k trades 2022-06-01 21:08:25 +10:00
rjpeterson 464013f9cd add chinese translations for pfp and leaderboard 2022-05-19 21:48:58 -07:00
saml33 c3c50263cc add advanced order warning 2022-05-19 11:13:04 +10:00
tjshipe 979a3695bb
Merge pull request #277 from blockworks-foundation/global-notification
style solana performance notification
2022-05-18 16:36:38 -04:00
tjshipe 00c5361da7
Merge pull request #264 from blockworks-foundation/clarkeni/performance_per_token
Clarkeni/performance per token
2022-05-18 16:35:28 -04:00
saml33 472fba5297 style solana performance notification 2022-05-18 14:13:46 +10:00
tjshipe a0dbeef331
Merge pull request #266 from blockworks-foundation/leaderboard
Leaderboard
2022-05-17 13:38:04 -04:00
saml33 d75e716fc1 add price charts to markets page 2022-05-17 22:03:20 +10:00
Nicholas Clarke 701faa2afe Merge remote-tracking branch 'origin/main' into clarkeni/performance_per_token 2022-05-16 12:52:07 -07:00
saml33 02199e0854 fix translations 2022-05-16 08:40:06 +10:00
saml33 874b3f05ac fix conflicts 2022-05-16 08:00:34 +10:00
tjshipe a8ce5fd1ce
Merge pull request #267 from rjpeterson/update-translations
Fix Chinese typo
2022-05-13 18:04:25 -04:00
rjpeterson c52d776593 clarify "settle pnl" vs "redeem value" 2022-05-10 10:22:47 -07:00
rjpeterson ecb29bf1f5 fix chinese typo 2022-05-09 21:04:00 -07:00
saml33 e55a13a8c4 responsive 2022-05-09 11:03:56 +10:00
saml33 840a128241 fix 0 selected error and select all button 2022-05-04 11:26:21 +10:00
Maximilian Schneider 42c2f3a33b Revert "Mango <> Notifi integration (#192)"
This reverts commit 2f189fb3e3.
2022-04-25 12:36:42 -04:00
joshgolden-dev 2f189fb3e3
Mango <> Notifi integration (#192)
* Use notifi SDK and make UI edits for notifi flow

* Upgrade Notifi SDK

The new SDK includes a different usage pattern for Alerts.

Handle wallet signature rejection case

Refactor sollet adapter to use @solana/wallet-adapter-wallets

Fixed undefined signature

Use groupName to separate account notifications

Mango allows a single user to have multiple accounts, which all manage alerts separately.

We'll log in to Notifi with the program ID and the wallet ID, and then filter
alerts on the client-side with groupName on the alert

Bump to SDK 0.6.1

Save notifi alert id to mango db

require login before deleting alert

Update SDK

The SDK exposes a new option for filterFrequency.

One shot alerts will be marked inside FilterOptions with a
`delayProcessingUntil` field. When the client recognizes these, it
should feel comfortable deleting them, since they should have triggered
already.

Clients can use the `isAlertObsolete` utility function to identify
these.

Clean up notifi alerts when out of sync

Add phone number note

* Ignore signMessage type warning

* Use useWallet hook

* Clean up

* Add telegram support

* Support international phone number

Co-authored-by: juni-notifi <hyungjoon.kim@notifi.network>
2022-04-25 12:16:42 -04:00