Commit Graph

211 Commits

Author SHA1 Message Date
tjs 3e9972b3f4 use next.js 12.2 2022-09-19 16:48:59 -04:00
Maximilian Schneider 284acd36cc fix type error on mango account lookup 2022-09-19 14:30:19 +02:00
tjs dac3258d9b use latest mango client for new computbudget ix
upgrade deps
2022-09-15 17:33:09 -04:00
tjs 2c3c5dddbb better open order refreshing 2022-09-06 15:23:43 -04:00
riordanp d1c82ec249
Re-add Coinbase Wallet Adapter (#400) 2022-08-22 14:19:19 +02:00
saml33 d9df3f034b
save profile images to our db (#387)
* save profile images to our db

* add profile image to edit other profile details
2022-08-18 08:11:28 +02:00
Maximilian Schneider 8fcdbf991b
clean repo from tradingview code (#398)
* clean repo from tradingview code

* fix import errors

* update styling

* disable drawing last volume value

Co-authored-by: saml33 <slam.uke@gmail.com>
2022-08-17 12:26:31 +02:00
Riordan Panayides 9d3614d0c2 Upgrade mango-client to remove COPE ids 2022-08-11 19:12:21 +01:00
Riordan Panayides 7f302182ab Revert "Fix client version"
This reverts commit 057bdbf415.
2022-08-11 19:05:59 +01:00
Riordan Panayides 057bdbf415 Fix client version 2022-08-11 19:04:06 +01:00
Riordan Panayides 02d3b027e5 Upgrade mango-client to remove COPE 2022-08-11 17:59:15 +01:00
Riordan Panayides eb46bf232d Revert "Merge pull request #395 from taycaldwell/main"
This reverts commit e595d71937, reversing
changes made to be0632ee60.
2022-08-11 17:58:36 +01:00
Taylor Caldwell cef1c23acb
Add Coinbase Wallet support 2022-08-05 16:55:56 -07:00
Riordan Panayides 40e6c04026 Upgrade mango-client 2022-07-20 17:50:31 +01:00
Riordan Panayides 20f54be2ad Merge branch 'main' into pan/prod-to-main 2022-07-17 16:41:08 +01:00
Riordan Panayides 3cea78da3d Upgrade mango-client 2022-07-12 18:12:53 +01:00
Riordan Panayides a3aa77c681 Upgrade mango-client 2022-07-12 14:18:44 +01:00
Maximilian Schneider 3a8b5c8f6a
reduce bundle size by pinning common solana dependencies (#340) 2022-07-04 18:59:52 +02:00
saml33 1882a1300a
rebuild side nav (#339)
* rebuild side nav

* transitions
2022-07-04 04:00:42 +02:00
Riordan Panayides 9e66cf8f20 Upgrade mango-client to remove LUNA-PERP from devnet.2 IDS 2022-07-01 17:02:33 +01:00
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
tjs bc8ab9521d use latest mango client 2022-06-16 16:03:10 -04:00
saml33 604ee92a90 side nav poc 2022-06-14 10:13:25 +10:00
Riordan Panayides afb90bfed5 Upgrade mango-client, changes for testnet 2022-06-11 14:58:39 +01:00
tjs cbf5d91b50 use latest mango client 2022-06-08 11:58:48 -04:00
tjs 2cb5fbb210 use latest mango client 2022-06-08 10:55:04 -04: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
tjs cd85c652eb use latest mango client 2022-06-05 22:21:25 -04:00
tjs 39075c88c5 use latest mango client 2022-06-05 21:16:34 -04:00
Maximilian Schneider f2e707ed85 list GMT 2022-06-02 15:57:10 -04:00
tjshipe 1c1a6e7ef5
Merge pull request #291 from blockworks-foundation/mobile-tabs
scrolling mobile tabs
2022-05-30 14:24:23 -04:00
Maximilian Schneider a1a016c54f upgrade buffer layout package 2022-05-28 18:10:50 +03:00
saml33 f8205ea52b scrolling mobile tabs 2022-05-27 21:38:49 +10:00
Adrian Brzeziński 055931e718
upgrade mango-client to 3.4.8 (#279) 2022-05-18 19:02:45 +02:00
tjs f2967dfc6b move fns from @nfteyez/sol-rayz into app 2022-05-17 13:16:26 -04:00
saml33 0d78055d6e fix conflicts 2022-05-17 08:05:09 +10:00
Adrian Brzeziński 3bee514052
upgrade mango client (#271)
* upgrade mango client

* fix prettier
2022-05-16 17:51:17 +02:00
saml33 050790d284 fix conflicts 2022-05-16 08:08:51 +10:00
tjs bd3a8fcf47 Merge branch 'main' into production 2022-05-13 18:20:09 -04:00
tjs b43f2e6232 Merge remote-tracking branch 'origin/revert-192-mango-notifi-integration' into main 2022-05-13 17:57:07 -04:00
tjs 19482d38e1 Add exodus wallet support 2022-05-13 16:48:22 -04:00
saml33 2aeff1032e support nfts as profile pics 2022-05-11 13:29:35 +10:00
tjs d4169c3c4f use latest mango client 2022-05-01 10:03:27 -04: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
tjs 917ee7c7fc upgrade to latest jup-ag pkg 2022-04-20 17:04:54 -04:00
tjs 5f90105276 upgrade to latest jup-ag pkg 2022-04-20 17:04:16 -04:00
tjshipe 13925d6eff Merge pull request #261 from blockworks-foundation/ts/wallet-update
update to the latest wallet adapter pkgs
2022-04-20 15:33:00 -04:00
tjs eae4477a2e update to the latest wallet adapter pkgs 2022-04-20 14:05:32 -04:00
tjs 7ecc1f2440 use latest mango client 2022-04-18 21:10:09 -04:00