sneurlax
4d5bda96f0
pixel perfection
2023-01-24 14:21:47 -06:00
sneurlax
9495e7a7a7
adjust paddings and alignment to be IAW figma
2023-01-24 14:17:27 -06:00
sneurlax
325d341b7f
do not change hover state of crypto selection list
2023-01-24 13:28:07 -06:00
sneurlax
e26493f58e
fix form alignment when buying with crypto
2023-01-24 11:30:04 -06:00
sneurlax
b800dd12b4
align currency prettyName with amount input
2023-01-24 11:23:51 -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
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
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
8ec82ee603
only display address book icon for stack coins
2023-01-20 18:26:43 -06:00
sneurlax
adf83aa3a6
use simplex_api supported_cryptos and update crypto model
2023-01-20 15:30:35 -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
b575ee82ed
set BTC and USD as defaults
2023-01-17 14:13:49 -06:00
sneurlax
4543725b1a
cleanup
2023-01-16 18:10:21 -06:00
sneurlax
e6a19d981d
pass receiving address on to preview sheet
2023-01-16 18:08:37 -06:00
sneurlax
d9b1fb1fc7
connect (most) form values to quote object
2023-01-16 17:38:42 -06:00
sneurlax
d10500ce02
copy and paste fix
2023-01-16 16:12:37 -06:00
sneurlax
21eb453e1a
comment cleanup
2023-01-16 15:41:24 -06:00
sneurlax
0dff63d9ac
put buy quote preview in floating sheet on desktop
...
TODO check if this breaks mobile
2023-01-16 15:35:38 -06:00
sneurlax
7eefe196c9
simplex supported currencies provider -> simplex provider
...
we may need to store a quote or "estimate" in the provider for UI dataflow purposes (because we can't run async functions in widget builds/constructors?)
2023-01-16 15:35:32 -06:00
julian
bda6865657
buy form ui tweaks
2023-01-15 18:47:28 -06:00
julian
9286ae9902
use simple setState for toggling between buy with crypto/fiat and store current selected crypto/fiat values in state vars and update ui accordingly
2023-01-15 18:24:47 -06:00
julian
650ae9fe09
buy quote preview view and sample quote class
2023-01-15 18:09:11 -06:00
julian
0c9dcf6403
scrollable buy form on mobile if keyboard covers part of it
2023-01-15 17:30:07 -06:00
julian
a23c17d83e
load simplex currencies if empty. Quick api call (at least on tests) so we can just call it without a loading service
2023-01-15 17:26:05 -06:00
julian
89778e6e63
disable BuyDataLoadingService
2023-01-14 11:22:48 -06:00
julian
48346fa77f
provider access fixes
2023-01-14 11:16:32 -06:00
julian
2f0824b1f4
formatting, linter fixes, don't call apis in build method
2023-01-14 10:41:02 -06:00
sneurlax
7bfcaffc01
move simplex load from every select tap to initial buy form load
2023-01-13 19:08:27 -06:00
sneurlax
bdfb1f0a20
clean up buy form and add unstyled buy button
2023-01-13 19:08:12 -06:00
sneurlax
cfe40c76d9
change amount widget as in send views, read currency selections from API
2023-01-13 18:07:27 -06:00
sneurlax
7e3cad5a06
fix floating crypto selection widget, add floating fiat selection widget
2023-01-13 16:50:49 -06:00
sneurlax
6dc99e6b34
add address input
...
TODO clipboard, QR, and address book functions
2023-01-13 16:45:35 -06:00
sneurlax
61c971973c
restyle coin and fiat selection widgets
...
and:
- available -> supported
- do not load simplex data on desktop menu item action
2023-01-13 13:14:56 -06:00
sneurlax
ac2775dc42
connect toggle to preferences and use value in parent buy form
2023-01-11 16:17:46 -06:00
sneurlax
6a2c0c4d8a
text changes
2023-01-11 12:37:48 -06:00
sneurlax
863c59c25d
add fiat enums and coins -> fiats
2023-01-11 12:03:50 -06:00
sneurlax
2d6447eedd
add fiat selection view
2023-01-11 11:49:59 -06:00
sneurlax
9724b40848
add fiat crypto toggle and crypto selection list
2023-01-11 11:19:19 -06:00
sneurlax
c746eb8865
23-1-10 updates
...
nonatomic updates
2023-01-11 09:54:39 -06:00
sneurlax
290adfec21
stub pages for mobile and desktop
...
lots of extra code, lots of commented sections, the models are wrong, the pages just load on desktop and mobile. need to complete the form and ... well, there's a lot, really
2023-01-10 15:25:20 -06:00