Commit graph

617 commits

Author SHA1 Message Date
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
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
julian
165021ca2e Merge branch 'isar_migrate' into paynyms 2023-01-20 17:27:18 -06:00
julian
830fd58754 Merge branch 'isar-transactions' into isar_migrate
# Conflicts:
#	lib/services/coins/bitcoin/bitcoin_wallet.dart
#	lib/services/coins/bitcoincash/bitcoincash_wallet.dart
#	lib/services/coins/coin_service.dart
#	lib/services/coins/dogecoin/dogecoin_wallet.dart
#	lib/services/coins/firo/firo_wallet.dart
#	lib/services/coins/litecoin/litecoin_wallet.dart
#	lib/services/coins/monero/monero_wallet.dart
#	lib/services/coins/namecoin/namecoin_wallet.dart
#	lib/services/coins/particl/particl_wallet.dart
#	lib/services/coins/wownero/wownero_wallet.dart
#	pubspec.yaml
2023-01-20 15:30:48 -06:00
sneurlax
adf83aa3a6 use simplex_api supported_cryptos and update crypto model 2023-01-20 15:30:35 -06:00
julian
c1182f61bc start centralizing custom exceptions 2023-01-20 12:25:32 -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
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
julian
957b4cba9b widget key fix 2023-01-17 16:10:45 -06:00
sneurlax
b575ee82ed set BTC and USD as defaults 2023-01-17 14:13:49 -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
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
5562c14527 WIP refactor to single main isar db 2023-01-16 15:04:03 -06:00
julian
bda6865657 buy form ui tweaks 2023-01-15 18:47:28 -06:00
julian
6d338b68a1 simplex buy warning popup 2023-01-15 18:35:20 -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
dc1a38db91 main wallets/exchange/buy page navigation fix 2023-01-14 12:17:55 -06:00
julian
3a0f563039 flutter layouts constraint error fix 2023-01-14 12:17:25 -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
daa6c5a9b0 clean up popular and check if image url string is empty before attempting to load the network image 2023-01-14 11:16:10 -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
b13d242deb label change 2023-01-13 18:17:05 -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
julian
0543c4b044 filter by address fixes 2023-01-13 12:00:02 -06:00
julian
52d5ab0d33 WIP tx parse + link address to transaction 2023-01-13 11:11:41 -06:00
julian
e271341738 ui fix 2023-01-12 09:45:55 -06:00
julian
f5f53a163a only print word when explicitly in debug mode 2023-01-11 22:47:47 -06:00
julian
525d0fa7c4 update remaining ui to handle new data models 2023-01-11 22:45:32 -06:00
julian
f8c6a17fa7 update wallet ui to handle new data models 2023-01-11 22:26:38 -06:00
julian
eb915a0927 use isar query to fetch contact transactions 2023-01-11 21:36:00 -06:00
sneurlax
8e8816fe05 first simplex service stash 2023-01-11 18:13:34 -06:00
sneurlax
ac2775dc42 connect toggle to preferences and use value in parent buy form 2023-01-11 16:17:46 -06:00
julian
30d8f8b810 update isCancelled flag name to be consistent with other isar model bool values 2023-01-11 14:48:55 -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
julian
e7877358da temp. branching of transaction model type for dogecoin wallets 2023-01-10 17:53:09 -06:00
ryleedavis
9f5ce0db7a textRestore added for color fix 2023-01-10 15:28:59 -07: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
julian
2da1e23251 WIP initial paynym send ui 2023-01-09 15:48:32 -06:00
julian
178912a323 routing fix 2023-01-09 15:47:40 -06:00
julian
e66205ac32 routing and parse fix 2023-01-09 15:46:52 -06:00
julian
bffe5e09ca paynym confirm transaction view flags and routing branch 2023-01-09 15:43:16 -06:00
julian
12477e8fb5 desktop connect confirm dialog layout 2023-01-09 14:11:26 -06:00
julian
039508ee32 show insufficient balance warning on connect to paynym attempt 2023-01-09 13:57:12 -06:00
julian
512711183c add hover color to desktop new follow button 2023-01-09 13:22:05 -06:00
julian
91696ebb4b desktop paynym details subview 2023-01-09 13:15:15 -06:00
julian
1d057a7f22 disable editing of default node fields 2023-01-09 09:15:53 -06:00
Diego Salazar
fcb2935d64
Merge pull request #309 from cypherstack/trusted-node
Add trusted node setting to Monero and Wownero
2023-01-06 17:20:49 -07:00
julian
e8ef0be977 WIP connect tx flow 2023-01-06 16:31:36 -06:00
julian
0177784c22 confirm paynym connect dialog 2023-01-06 16:31:21 -06:00
sneurlax
1e4a39a92c make checkboxes checkable when editing 2023-01-06 14:41:51 -06:00
sneurlax
5e15e3e4b0 change checkbox color unless in edit mode 2023-01-05 20:13:01 -06:00
sneurlax
ad15f4d126 linting 2023-01-05 20:03:38 -06:00
sneurlax
903e034b58 add trusted checkbox to monero and wownero node details
defaults to false
TODO call native function to set node as trusted when checked (and vice versa)
2023-01-05 20:03:20 -06:00
julian
35a8172d35 paynym notif tx and tx parsing tweaks 2023-01-05 16:57:53 -06:00
julian
ca4cdd40c0 paynym card refactor and paynym details popup for mobile WIP 2023-01-05 16:19:02 -06:00
ryleedavis
7aad7cb9e3 oledBlack text color fix 2023-01-05 13:59:17 -07:00
ryleedavis
0a810987c0 oledBlack added to textStyles and appearance settings 2023-01-05 13:34:56 -07:00
julian
3d6d3d5d45 tx list styling fix for single tx 2023-01-05 12:52:14 -06:00
ryleedavis
d3c845b30d Merge branch 'staging' into ui-fixes 2023-01-04 18:13:26 -07:00
julian
8c0366904a followers/following paynym lists clean up 2023-01-04 16:01:26 -06:00
julian
3069ebeae9 followers/following paynym lists 2023-01-04 15:28:48 -06:00
julian
21cc545251 desktop paynym card clean up 2023-01-04 14:57:45 -06:00
julian
1e3a42fd9a paynym not found desktop style fixes 2023-01-04 13:06:07 -06:00
julian
056cba2672 desktop paynym card layout 2023-01-04 13:00:25 -06:00
julian
b0b2ad14f5 featured paynyms conditional desktop modification 2023-01-04 12:44:35 -06:00
julian
97d3b35a22 paynym desktop add new follow popup layout 2023-01-04 12:32:40 -06:00
julian
c4e5e9e8b6 paynym claim cancellation hack (should probably not even allow cancel in ui) 2023-01-04 11:37:39 -06:00
julian
33926d2b5e address popup desktop conditional layout 2023-01-04 11:20:25 -06:00
julian
0746fe36b7 back button style fix 2023-01-04 10:57:14 -06:00
julian
930bdfca5e desktop layout 2023-01-04 10:57:04 -06:00
sneurlax
0ee2357c60 add basic buy page 2023-01-04 10:51:38 -06:00
julian
73c94f9927 desktop layout 2023-01-04 10:08:05 -06:00
julian
f4729526e6 initial desktop paynym ui set up and state provider refactor 2023-01-04 09:41:25 -06:00
julian
f3b1d11a46 added paynym response objects and refactored paynym.is api 2023-01-02 15:16:01 -06:00
julian
f9491f8215 Merge branch 'xmr-sync' into paynyms
# Conflicts:
#	lib/utilities/enums/coin_enum.dart
2023-01-02 13:47:10 -06:00
julian
0062294488 disable wownero on desktop and xmr on windows 2023-01-02 13:16:59 -06:00
ryleedavis
46fe178b08 loading animation on changing receive currency 2023-01-02 11:44:33 -07:00
julian-CStack
bdab241d7e
Merge branch 'staging' into xmr-sync 2022-12-31 12:02:14 -06:00
julian
ab3ff76f3a nav fix 2022-12-31 12:01:00 -06:00
ryleedavis
7163d95cc4 loading animation on sendCurrency 2022-12-31 11:58:56 -06:00
Diego Salazar
dd0d668b7c
Merge branch 'staging' into ui-fixes 2022-12-30 20:04:29 -07:00
ryleedavis
2765bea4a9 Merge branch 'staging' into ui-fixes 2022-12-30 17:27:31 -07:00
ryleedavis
31eeeb58c1 loading animation on sendCurrency 2022-12-30 17:26:14 -07:00
julian-CStack
5f71a1c2dd
more bug fixes (#281)
* xmr send fix

* small screen recovery phrase warning view fix

* mnemonic field crashes fix

* desktop restore date fix

* mac desktop keyboard type crash fix

* firo (and possibly other) send fix

* key fix for duplicate wallets edge case
2022-12-30 17:10:25 -06:00
julian
9765393f61 re enable git versions 2022-12-30 12:50:55 -06:00
julian
4b58f3ec60 mac desktop keyboard type crash fix 2022-12-30 12:30:11 -06:00
julian
c42ea26a3b desktop restore date fix 2022-12-30 12:30:11 -06:00
julian
8f40275a14 mnemonic field crashes fix 2022-12-30 12:30:11 -06:00
julian
e462ddeac1 small screen recovery phrase warning view fix 2022-12-30 12:30:11 -06:00
julian-CStack
32299975c3
fixes (#280)
* xmr send fix

* small screen recovery phrase warning view fix

* mnemonic field crashes fix
2022-12-30 11:21:46 -06:00
ryleedavis
7759bd2712 radio button fix for desktop 2022-12-30 09:04:41 -07:00
ryleedavis
0176111580 offcenter radio button 2022-12-30 08:36:51 -07:00
julian
624e4e35d8 debugPrint word answer for developer's mental health 2022-12-29 13:49:00 -06:00
julian
7013e99081 enable wow on desktop 2022-12-29 13:38:39 -06:00
shillo
e89b213798 temp disable git versions 2022-12-29 10:48:12 -06:00
ryleedavis
6d1f0dec8a exchange rate calculated on send textfield change 2022-12-28 16:41:34 -07:00
ryleedavis
ed486f7c16 fixed attention delete wallet dialog text typos 2022-12-28 12:07:00 -07:00
Diego Salazar
70039f7e4b
Merge pull request #270 from cypherstack/desktop
Desktop
2022-12-26 20:01:11 -07:00
ryleedavis
015e2f4b84 correct import for ExitToMyStack 2022-12-26 17:54:18 -07:00
ryleedavis
ce79cfacbf commented out ExitToMyStackButton 2022-12-26 17:51:24 -07:00
ryleedavis
0f9eae07b3 SimpleSwap removed from UI + doesn't fetch rates 2022-12-26 14:06:51 -07:00
julian
20249f3da8 stupid follow/unfollow hack 2022-12-21 19:07:13 -06:00
julian
b11bd0c20c add follower/following entity 2022-12-21 17:24:08 -06:00
julian
7631d3f3c6 WIP follow/unfollow 2022-12-21 17:02:14 -06:00
julian
8af4c407e6 add loading bot nym bot network image 2022-12-21 16:44:23 -06:00
julian
2297fbf028 add (follow) new paynym view 2022-12-21 13:46:50 -06:00
julian
08ad23cc73 featured paynyms widget 2022-12-21 12:03:23 -06:00
julian
45754d1565 refactor paynym bot image view into its own file 2022-12-21 11:19:57 -06:00
julian
e120747166 clean up imports 2022-12-21 11:14:50 -06:00
julian
6d75f01dae copy code on paynym home screen 2022-12-21 11:08:14 -06:00
julian
66271a9018 paynym qr popup 2022-12-21 11:06:53 -06:00
julian
3b6d53d685 WIP paynym home view 2022-12-21 10:17:53 -06:00
julian
a491bfd70f WIP paynym ui and claim process 2022-12-20 17:00:03 -06:00
julian
f897b67714 claiming paynym spinner dialog 2022-12-20 15:05:11 -06:00
julian
5c8f72afa6 claim paynym view 2022-12-20 14:48:31 -06:00
julian
1ae4f40d63 some basic ui prep for paynym integration 2022-12-20 14:29:25 -06:00
ryleedavis
e836337253 Merge branch 'desktop' of /home/rylee/Desktop/publishing/stack_wallet with conflicts. 2022-12-19 09:28:38 -07:00
ryleedavis
096d2c007e Merge branch 'desktop' of https://github.com/cypherstack/stack_wallet into desktop 2022-12-14 13:56:13 -07:00
julian
811bc0e870 word count fix 2022-12-14 13:57:43 -06:00
julian
cf82374a0c selectable balance text 2022-12-14 09:11:24 -06:00
julian
ba344e2364 Merge branch 'staging' into desktop 2022-12-13 11:22:24 -06:00
julian
b83dec53c3 uninitialized var fix 2022-12-13 07:58:49 -06:00
ryleedavis
390623560e debugPrints that aren't needed ? 2022-12-12 17:17:02 -07:00