Commit Graph

1354 Commits

Author SHA1 Message Date
Tyler Shipe c47bd2ecf4 add source maps to prod to debug 2022-01-13 13:04:01 -06:00
Tyler Shipe dd5ec97935 handle when api data is missing in swap page 2022-01-13 12:52:11 -06:00
Tyler Shipe c264aa4296 report ui errors to discord logs 2022-01-13 10:47:44 -06:00
Tyler Shipe 3271851f5e add perpmarket type checks 2022-01-13 10:38:55 -06:00
Tyler Shipe e1114d7477 handle when perpmarket isnt loaded yet 2022-01-12 16:46:41 -06:00
saml33 a58b49c507 add top nav and page wrapper 2022-01-12 21:21:59 +11:00
saml33 c1ba981994 update msol icon 2022-01-12 21:00:36 +11:00
tjshipe 813ad801e0
Merge pull request #129 from blockworks-foundation/max/switch-market-mobile
make market selectable on mobile when clicking market name
2022-01-11 20:34:51 -05:00
tjshipe a7feab1665
Merge pull request #130 from rjpeterson/swap-translations
Update Swap page translations & add dayjs locales
2022-01-11 20:33:25 -05:00
tjshipe c7e4577d33
Merge pull request #132 from blockworks-foundation/reduce-only-patch
Fix reduceOnly checkbox functionality
2022-01-11 20:32:24 -05:00
Nicholas Clarke 8c1590f724 Merge remote-tracking branch 'origin/main' into account_equity 2022-01-11 15:47:18 -08:00
ImpossiblePairs 0ed7263f64
Fix reduceOnly checkbox functionality
Updated reduceOnly checkbox functionality so that when the reduceOnly checkbox is active, it uses "percentage x basePosition" instead of "percentage x max" which is only appropriate when reduceOnly is inactive.
2022-01-11 11:59:14 -08:00
saml33 1db53e45f2 hide interest chart when no data 2022-01-11 21:23:57 +11:00
Tyler Shipe 1b1679ac17 add tx id to error notifications 2022-01-10 17:25:05 -05:00
Tyler Shipe 187f7d3469 update naming from marginAccount to mangoAccount in trading view component 2022-01-10 13:38:58 -05:00
Maximilian Schneider 7577c064ef upgrade svgr package 2022-01-09 20:54:57 -08:00
Maximilian Schneider c027b81b5f more package upgrades 2022-01-09 20:42:26 -08:00
Maximilian Schneider 3ca2b3219f update dependencies 2022-01-09 20:33:13 -08:00
rjpeterson 0663c321e4 add missed translations. rename common:slippage key 2022-01-09 16:31:56 -06:00
rjpeterson 1e7374fd3c add dayjs locales 2022-01-09 16:06:05 -06:00
rjpeterson d10ade44e0 update swap translations, remove unused "rate" from common 2022-01-09 15:32:57 -06:00
Tyler Shipe 5c3b476194 upgrade mango client to pull in new spot markets 2022-01-09 14:06:25 -05:00
tjshipe 6e83f8b5c1
Merge pull request #128 from rjpeterson/price-expect-chinese
fix price-expect Chinese translations
2022-01-09 01:03:21 -05:00
Maximilian Schneider 04e332602b delete desktop specific code 2022-01-08 21:14:22 -08:00
Maximilian Schneider 007393ae5b remove risk calculator from mobile menu 2022-01-08 21:06:53 -08:00
Maximilian Schneider 44488342e4 Merge remote-tracking branch 'origin/main' into max/switch-market-mobile 2022-01-08 21:04:14 -08:00
Maximilian Schneider 2393b2426a make market selectable on mobile when clicking market name 2022-01-08 21:00:35 -08:00
Tyler Shipe c961bf94fe ues latest mango client to fix sending multiple tsx 2022-01-08 23:42:01 -05:00
Tyler Shipe 91ad9ca3b4 show more decimals on swap min received line 2022-01-08 20:44:17 -05:00
Tyler Shipe 7182f012f8 upgrade to use latest jupiter aggregator client 2022-01-08 20:31:04 -05:00
Tyler Shipe 24d93d0d89 add padding to global notification component 2022-01-08 19:36:24 -05:00
Tyler Shipe 02eb70bbaf close deposit modal after error catch 2022-01-08 15:52:42 -05:00
Tyler Shipe 981482414e Remove disabled trade button after submitting 2022-01-08 12:27:06 -05:00
Tyler Shipe 028c4f53c8 handle when swap tokenInfo is undefined 2022-01-07 22:29:57 -05:00
Tyler Shipe f5f646bec2 yarn format 2022-01-07 21:59:59 -05:00
rjpeterson 668e068f0a fix price-expect translation 2022-01-07 19:36:48 -06:00
Tyler Shipe 5e7e8065f5 add global alert component 2022-01-07 17:52:16 -05:00
silas 16aff22525
Automated security scanning features (#127)
* Create codeql-scan.yml

Addition of the CodeQL SAST tool

* Create trivy-scan.yml

Scan dependencies on push/PR
2022-01-07 10:51:44 -08:00
Tyler Shipe 7ece053b04 update charts, use y axis domain 2022-01-06 21:35:48 -05:00
Tyler Shipe cdd89c9de2 retry loading mango group and mango account if an error occurs 2022-01-06 16:42:58 -05:00
Nicholas Clarke 15302e3313 Add showAll prop to performance charts 2022-01-05 23:35:50 -08:00
Nicholas Clarke c9e5c9982e Merge remote-tracking branch 'origin/main' into account_equity 2022-01-05 23:24:44 -08:00
Tyler Shipe 2b9d3945b5 add showAll prop to Chart component 2022-01-05 22:58:08 -05:00
Nicholas Clarke 4ce7397738 Add PNL to performance tab 2022-01-05 15:58:10 -08:00
tjshipe 4026399449
Merge pull request #125 from blockworks-foundation/ImpossiblePairs-patch-3
Add LUNA Perp Contract Precision
2022-01-05 13:47:39 -05:00
Tyler Shipe d8129aa5fc add default swap chart values 2022-01-04 16:46:38 -05:00
ImpossiblePairs 5de849eec4
Add LUNA Perp Contract Precision
Updated perpContractPrecision for LUNA perp
2022-01-04 13:34:10 -08:00
Tyler Shipe 7e16507288 fix market details useEffect dependency list 2022-01-04 15:56:14 -05:00
Tyler Shipe bb170ebcb3 flip swap chart when usdc and usdt inputs 2022-01-04 14:48:49 -05:00
Nicholas Clarke 3ac97d722b Add english performance translations 2022-01-04 11:17:46 -08:00