Commit Graph

2055 Commits

Author SHA1 Message Date
tjs 4958d4a40e Fix swap input form for jup pkg v22 2022-04-29 14:57:32 -04:00
tjshipe fc37663268
Merge pull request #263 from abacus-x/main
Fixed json format so translation will load
2022-04-27 14:24:34 -04:00
tjshipe 8404e75df4
Merge pull request #262 from rjpeterson/update-translations
Translate ShareModal
2022-04-27 14:24:07 -04:00
tjshipe b3385357ca
Merge pull request #265 from blockworks-foundation/fix-favorites
fix remove from favorites
2022-04-27 14:21:17 -04:00
saml33 2f91dc3705 fix remove from favorites 2022-04-27 21:15:04 +10: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
abacus-x bbb6c565ae
Merge pull request #1 from abacus-x/abacus-x-locale-fix
Fixed json formatting so translation will load
2022-04-24 18:55:56 -04:00
abacus-x 96f98b9257
Fixed json formatting so translation will load
There was an extra comma  (invalid json format), which prevented React from parsing the locale file.
2022-04-24 18:52:37 -04:00
rjpeterson 1a4623240a yarn format 2022-04-23 19:09:08 -07:00
rjpeterson fe1d7f9e68 translate share modal to chinese 2022-04-23 19:08:18 -07:00
rjpeterson 8db6ccb91b replace monospace space character with standard space character 2022-04-23 19:06:10 -07:00
tjs ca795132de use avg entry price 2022-04-21 11:06:49 -04:00
tjs 91a7f8a633 enable share modal if avgEntryPrice is available 2022-04-20 17:33:44 -04:00
tjs fffe302273 round position size in share modal 2022-04-20 17:22:07 -04:00
tjs a13112e600 update share modal calculation 2022-04-20 17:19:34 -04:00
tjs 917ee7c7fc upgrade to latest jup-ag pkg 2022-04-20 17:04:54 -04:00
tjshipe d6072f1d36
Merge pull request #261 from blockworks-foundation/ts/wallet-update
update to the latest wallet adapter pkgs
2022-04-20 15:32:12 -04:00
tjs b9440dc7fd use all wallets if none are installed 2022-04-20 15:20:10 -04:00
tjs eae4477a2e update to the latest wallet adapter pkgs 2022-04-20 14:05:32 -04:00
tjs 99a8ce7162 remove genesysgo until new auth is implemented 2022-04-20 11:29:18 -04:00
tjshipe bcfb04d146
Merge pull request #258 from blockworks-foundation/scrollbar-width-hover
increases .thin-scroll scrollbar width on hover
2022-04-19 15:27:28 -04:00
tjs c1eda608a1 fix symbol in share modal 2022-04-18 22:49:26 -04:00
tjs fca2e510ef fix share modal calculation 2022-04-18 21:23:40 -04:00
tjs 7ecc1f2440 use latest mango client 2022-04-18 21:10:09 -04:00
tjs ee05de86b4 remove useless market type check 2022-04-16 14:50:00 -04:00
tjshipe 6f9536e64c
Merge pull request #254 from rjpeterson/update-translations
add chinese for recent localization changes
2022-04-16 14:34:20 -04:00
tjshipe 59640678b4
Update README.md 2022-04-16 13:11:25 -04:00
saml33 558bb653f2 increase scrollbar width on hover 2022-04-16 15:36:44 +10:00
tjshipe c36fa37f91
Merge branch 'main' into update-translations 2022-04-15 18:16:38 -04:00
tjshipe 6f0969a49a
Merge pull request #255 from blockworks-foundation/delete-alerts-close-account
delete active alerts when closing account
2022-04-15 18:15:38 -04:00
tjs d03db04d72 add check that url param exists 2022-04-15 17:05:37 -04:00
saml33 be0995af25
add tradingview chart attribution link (#257) 2022-04-15 14:07:38 +02:00
tjs 65555a5473 update fees page 2022-04-14 15:13:26 -04:00
tjs 608983683e fee discount doesnt apply to maker side 2022-04-14 14:22:10 -04:00
tjshipe 61f06af01f
Merge pull request #205 from blockworks-foundation/share-positions-2
Share positions widget
2022-04-13 19:10:51 -04:00
tjs 3e5b8e6caf fix share modal text positioning and calculation 2022-04-13 18:57:58 -04:00
tjs 73fe0f6655 Merge branch 'main' into share-positions-2 2022-04-13 15:55:54 -04:00
saml33 72f73957ea delete active alerts when closing account 2022-04-13 13:33:03 +10:00
tjs eba6d0e1ca allow setting price with slide limit orders 2022-04-12 13:23:57 -04:00
tjs ab828b8ba6 hide tx notification if no response after 90s 2022-04-12 11:27:29 -04:00
tjs 808f35ca72 notification timeout should match client timeout 2022-04-12 10:56:28 -04:00
rjpeterson ee437a8e89 add chinese for recent changes 2022-04-10 22:29:27 -07:00
tjs 4b08912b47 show position details on trade page when viewing mngo accts 2022-04-09 20:13:12 -04:00
tjshipe a0ec154f95
Merge pull request #247 from blockworks-foundation/filter-and-account-buttons
fix button positions on mobile
2022-04-09 13:15:00 -04:00
tjshipe 52c49aac66
Merge pull request #249 from blockworks-foundation/format-price
format price on trade type switch
2022-04-09 13:14:31 -04:00
tjshipe 3a1c5ebff8
Merge pull request #248 from blockworks-foundation/add-translation-key
add missing translation key
2022-04-09 13:13:59 -04:00
tjshipe 27ba48c0ae
Merge pull request #250 from blockworks-foundation/fix-ref-warning
fix forwardref warning
2022-04-09 13:13:32 -04:00
tjs e09e165a54 check status on market stats api 2022-04-08 16:49:36 -04:00
tjs de3943c723 handle error response from markets info api 2022-04-08 11:57:44 -04:00
tjs 8e2ffe53ed lower threshold for tps warning bar 2022-04-07 15:04:28 -04:00