Commit Graph

36 Commits

Author SHA1 Message Date
saml33 fe369ca537 add modal and page for spot comp 2022-08-01 12:55:41 +10:00
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
saml33 5be0c39a6c vertically center modals 2022-06-28 13:46:57 +10:00
saml33 f58d236217 align modal bg styles 2022-06-23 12:15:39 +10:00
tjshipe 65a82f948d
Merge pull request #303 from blockworks-foundation/fastclick
add fast click
2022-06-07 21:30:43 -04:00
saml33 363b595260 re-order hover css 2022-06-08 10:55:46 +10:00
saml33 187a40dfe3 remove fastclick, remove button hover on mobile 2022-06-08 09:30:07 +10:00
tjs 25a4eef6da show notification components when modals are open 2022-06-05 21:29:12 -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
Luc Succes 7316a16e46 Merges main 2022-03-21 14:07:25 -04:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
saml33 5117617259 add size and referral qr 2022-02-24 15:50:52 +11:00
saml33 0d6058d807
Merge pull request #163 from blockworks-foundation/semantic-headings
semantic headings
2022-02-21 16:33:32 +11:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
saml33 fccc48850d fix z-index 2022-02-21 13:00:58 +11:00
saml33 065371f8bc new share card design 2022-02-14 13:53:10 +11:00
tjs f4ba160686 share position modal 2022-02-08 13:50:44 -05:00
Tyler Shipe 0f13c748e4 add jupiter ag swap 2021-12-17 16:02:02 -05:00
saml33 b344769232 improve tablet breakpoint markets menu 2021-11-30 22:51:33 +11:00
saml33 d102a1d3d7 add spanish translations 2021-11-24 10:08:14 +11:00
saml33 8c3a629d72 fix: markets modal prices 2021-11-20 14:43:31 +11:00
saml33 1e0c38799f add features to intro modal 2021-10-26 22:05:48 +11:00
saml33 9123e63344
Trade page mobile (#35)
* mobile styles for chart, position, account

* mobile styles for trade form

* trade page mobile styles

* tab layout

* fix unknown property fill-rule

* test swipeable tabs

* fix container height

* fix orderbook mobile styles

* account page mobile styles

* fix swipeable container height

* stats page mobile styles
2021-09-20 02:36:02 +02:00
Tyler Shipe e303c6927c add sol amount needed to create a mango account 2021-09-08 15:11:02 -04:00
saml33 71e55964fa responsive market header 2021-09-01 00:25:09 +10:00
saml33 23220e3555 trigger set alerts modal from margininfo 2021-05-02 00:02:21 +10:00
Tyler Shipe 74d9f70dbf implement withdraw max with borrow 2021-04-20 10:09:25 -04:00
Tyler Shipe 61a920f017 hide some ui changes so we can deploy 2021-04-19 12:15:49 -04:00
saml33 54054880a7 add symbol to account selectors, add max-height to listbox options and remove overflow-hidden from modal 2021-04-19 13:21:22 +10:00
saml33 59a840f8c5 modal, tradeform, input styling updates 2021-04-18 23:45:11 +10:00
saml33 91c996c0e1 tradeform input styles 2021-04-18 20:34:37 +10:00
Tyler Shipe ff260643dd Add switch component and replaced classes with theme vars 2021-04-12 18:15:15 -04:00
Tyler Shipe 932b52f649 remove xwind and convert to className prop 2021-04-12 12:49:02 -04:00
Tyler Shipe 71db71b347 deposit modal 2021-04-09 21:26:34 -04:00
Tyler Shipe b5562c161c wip: wire up deposit withdraw modals 2021-04-09 10:27:49 -04:00