Commit graph

1568 commits

Author SHA1 Message Date
sneurlax
f3d466ab62 add You Pay With fiat currency name stub 2023-01-24 11:05:30 -06:00
sneurlax
43ec061740 purchase -> quote 2023-01-24 11:05:19 -06:00
sneurlax
fff29ba826 display long name on buy view 2023-01-24 11:01:13 -06:00
sneurlax
8a70e9def4 align desktop elements 2023-01-24 11:01:01 -06:00
sneurlax
dc30b5d42a unify text styles
can return to theme-case style if needed
2023-01-24 10:06:49 -06:00
sneurlax
83da7a2680 add fiat enums for pretty names 2023-01-24 10:05:15 -06:00
sneurlax
12ba1fa24a add OLED Black and Fruit Sorbet theme cases to currency text style 2023-01-23 15:02:30 -06:00
sneurlax
cfb187d629 add light Simplex SVG for dark themes 2023-01-23 14:57:23 -06:00
sneurlax
3e712f8378 update Simplex SVG 2023-01-23 14:57:13 -06:00
sneurlax
8ba76e492e comment updates 2023-01-23 14:46:22 -06:00
sneurlax
277807309b close dialogs on redirection 2023-01-23 14:41:49 -06:00
sneurlax
cccfaa6eef update API URL
TODO follow todo at top of file re: using buildUri
2023-01-23 14:35:39 -06:00
sneurlax
232913060b reset address variable on input clear 2023-01-23 14:29:18 -06:00
sneurlax
d93f5a8063 remove prints and add comments 2023-01-23 14:24:06 -06:00
sneurlax
df6031350a add address book dialog for desktop
WIP doesn't paste yet
2023-01-23 14:20:58 -06:00
sneurlax
4b944a2496 update API URL, use HTTPS 2023-01-23 10:59:14 -06:00
sneurlax
f205312bb9 TODOs 2023-01-21 00:19:56 -06:00
sneurlax
290087c2d5 remove unnecessary prints 2023-01-20 22:49:14 -06:00
sneurlax
824b3bb9a7 pushNamed navigation route, WIP 2023-01-20 20:32:57 -06:00
sneurlax
8ddc825ea5 fix clear address button 2023-01-20 20:15:04 -06:00
sneurlax
46e1d41126 prevent quote preview if required inputs empty
it should be prevented by the enabled property but nyah
2023-01-20 20:09:53 -06:00
sneurlax
1bf55318cc use coin image if buying crypto amount
and remove print in prod
TODO refactor duplicated isStackCoin and getIconForTicker into coin_enum?
2023-01-20 20:05:32 -06:00
sneurlax
8a0c846a1b add currency symbol in amount input 2023-01-20 19:58:45 -06:00
sneurlax
9b944f51f1 outline currency symbols and use selected symbol in buy form fiat select 2023-01-20 19:34:54 -06:00
sneurlax
f110ffb25c use currency symbol from dart
and scale according to length
2023-01-20 19:17:25 -06:00
sneurlax
8ec82ee603 only display address book icon for stack coins 2023-01-20 18:26:43 -06:00
sneurlax
49f024b656 use Julian's isStackCoin helper func
very nice.  didn't realize I could catch an error.  learning every day round here
2023-01-20 18:26:13 -06:00
sneurlax
b376b00d7c add icons for buy coins 2023-01-20 18:21:36 -06:00
sneurlax
00e9efad28 remove white outline from litecoin logo 2023-01-20 18:21:22 -06:00
sneurlax
3c664bfef5 remove duplicate declaration 2023-01-20 17:58:31 -06:00
sneurlax
50a3815946 get coin images for coins we support 2023-01-20 17:58:18 -06:00
sneurlax
39f5df3158 move isDesktop out of constructor 2023-01-20 17:31:42 -06:00
sneurlax
2e6dfe0f62 fix cryptos with null networks/contractAddresses 2023-01-20 15:45:53 -06:00
sneurlax
c3dd04b830 use simplex_api supported_fiats and update fiat model 2023-01-20 15:45:37 -06:00
sneurlax
adf83aa3a6 use simplex_api supported_cryptos and update crypto model 2023-01-20 15:30:35 -06:00
sneurlax
51a9c7e961 api.php/route -> api.php?ROUTE=route 2023-01-20 14:56:26 -06:00
sneurlax
c8f843c38c redirect to order and close dialog
except the dialog doesn't close.
2023-01-20 10:36:46 -06:00
sneurlax
9a0de2e7f6 fix nav pop desktop issue 2023-01-20 10:32:26 -06:00
sneurlax
b30976c0f0 redirect to checkout 2023-01-20 09:27:24 -06:00
sneurlax
2ad0659cbc add SimplexOrder model and return it from simplex API
TODO add redirect API call which url_launcher's the redirect endpoint
2023-01-19 23:10:15 -06:00
sneurlax
595d7e760d GET, don't POST, the goods. orders submitting
TODO create and return SimplexOrder and url_launch redirect endpoint 💪
2023-01-19 19:21:06 -06:00
sneurlax
8a1eee204b purchaseId -> id
because SimplexOrder qill have a quoteId, paymentId, and userId...
2023-01-19 17:47:27 -06:00
sneurlax
98a9804059 fix nav desktop nav error 2023-01-19 14:20:27 -06:00
sneurlax
7191e502db use new cypherstack/simplex_api for quotes, update SimplexQuote
and add bool buyWithFiat to SimplexQuote to disambiguate request
2023-01-19 13:36:05 -06:00
sneurlax
745a887566 example update 2023-01-18 10:31:04 -06:00
sneurlax
202ce56448 add working non-api example
removed keys
2023-01-18 09:54:33 -06:00
sneurlax
b575ee82ed set BTC and USD as defaults 2023-01-17 14:13:49 -06:00
sneurlax
56135dc19f error message fixes 2023-01-16 18:49:15 -06:00
sneurlax
f1c686504f add newOrder stub method
TODO make it POST and open external browser, or else we'll have to make the inline status widget
2023-01-16 18:49:03 -06:00
sneurlax
4a13189927 pass the whole quote, not just the ticker 2023-01-16 18:17:06 -06:00