sneurlax
85582de70b
Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex
2023-01-25 16:50:51 -06:00
sneurlax
ed0a0266f6
linting
2023-01-25 16:43:26 -06:00
sneurlax
deb845db3b
linting
2023-01-25 16:43:21 -06:00
sneurlax
5f2b0de2d1
dart linting
2023-01-25 16:43:13 -06:00
sneurlax
e8f52082da
remove unnecessary property
2023-01-25 16:43:07 -06:00
sneurlax
86c89152f5
add updateOrder stub
...
can't access ref without more work, moving on
2023-01-25 16:43:00 -06:00
sneurlax
64da385d29
add order to simplex model
2023-01-25 16:42:39 -06:00
sneurlax
4ae7876322
linting
2023-01-25 16:42:29 -06:00
sneurlax
2d7a50a5a1
linting
2023-01-25 16:42:21 -06:00
sneurlax
10c5a0a4b3
linting
...
remove unused functions and comments
2023-01-25 16:42:14 -06:00
sneurlax
510e0887ce
remove pair
2023-01-25 16:42:10 -06:00
sneurlax
baf995e515
update URL
2023-01-25 16:41:55 -06:00
ryleedavis
83cd1759be
Merge remote-tracking branch 'origin/simplex' into ui-fixes
2023-01-25 15:29:03 -07:00
ryleedavis
7950c641b6
desktop exchange toggle colors
2023-01-25 15:28:33 -07:00
sneurlax
3042c82063
textDark -> buttonTextSecondary
2023-01-25 16:14:18 -06:00
ryleedavis
9815349efa
exchange rate toggle color added
2023-01-25 15:12:19 -07:00
julian
fb3f430edc
disable PaynymSupport extension and use PaynymWalletInterface instead
2023-01-25 15:49:57 -06:00
julian
7cb497f4f7
remove coin enum hasPaynymSupport getter in favor of type checking
2023-01-25 15:46:48 -06:00
julian
907c380812
copy extension into a mixin
2023-01-25 15:07:44 -06:00
julian
9c44dc6c6b
add support to make adding segwit paynym support simple once implemented
2023-01-25 14:33:59 -06:00
julian
79db4f048c
use derive path type extension method per coin
2023-01-25 13:49:14 -06:00
sneurlax
3c27bd773c
Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex
2023-01-25 12:18:37 -06:00
sneurlax
2282290b74
do not await unnecessarily
2023-01-25 12:13:20 -06:00
julian
35ba2f9d79
use derive path type in paynym extension
2023-01-25 12:13:01 -06:00
julian
6b08acf225
single DerivePathType enum declaration
2023-01-25 12:08:48 -06:00
sneurlax
c929ea5f75
pass signup time to api
2023-01-25 12:00:02 -06:00
julian
1965501bf8
added address scanning for send and receiving addresses given the context of your own payment code and another, address type choice also added for send/receive address generation
2023-01-25 11:13:21 -06:00
sneurlax
74f783391b
use _buildUri in redirect
2023-01-25 11:13:00 -06:00
sneurlax
a223f735a2
import linting
2023-01-25 11:08:29 -06:00
sneurlax
ccc5995e42
use _buildUri in order and pass userId and signupEpoch
2023-01-25 11:08:22 -06:00
sneurlax
9746e6ab17
add signupEpoch to prefs
2023-01-25 11:08:05 -06:00
sneurlax
f87acdc721
use _buildUri in quote
2023-01-25 11:06:27 -06:00
sneurlax
e2ec733211
use _buildUri in supported_fiats and don't use compute there
2023-01-25 11:05:51 -06:00
sneurlax
61748b4b2f
use _buildUri to get supported cryptos
2023-01-25 10:52:41 -06:00
ryleedavis
3dc98b6af6
OLED accent color and switchBGOff
2023-01-25 09:48:58 -07:00
sneurlax
c68e739ffe
ID -> Id
2023-01-25 10:33:32 -06:00
ryleedavis
1f0c88b7be
oled black colors update
2023-01-25 08:59:20 -07:00
julian
26245517ac
add paynym send functionality to paynym extension
2023-01-25 09:26:50 -06:00
sneurlax
e753a0badb
fix buy details view on desktop
2023-01-24 18:15:03 -06:00
sneurlax
f529686a99
comment updates
2023-01-24 17:31:39 -06:00
sneurlax
d03417782d
invoice -> details
2023-01-24 17:17:34 -06:00
sneurlax
4b145edd7f
rearrange buy order invoice page and update text
2023-01-24 17:15:36 -06:00
sneurlax
f38d5590a0
add buy order invoice view for mobile
...
TODO fix nav for desktop
2023-01-24 17:00:53 -06:00
julian
37fa5e9d19
remove old file and add todos
2023-01-24 16:18:17 -06:00
sneurlax
82f89966bc
add userID to quotes and don't init userID in main
...
TODO test what happens for a fresh install, I already have a userID set in my prefs
2023-01-24 16:02:25 -06:00
sneurlax
8b6fcd23b4
getPrimaryEnabledButtonColor -> getPrimaryEnabledButtonStyle
2023-01-24 15:32:39 -06:00
sneurlax
b4c16ec0b0
add userID pref and generate it if it isn't set
2023-01-24 15:28:56 -06:00
sneurlax
3b993135da
do not import buy data loading service
2023-01-24 15:28:11 -06:00
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
07247a46b9
Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex
2023-01-24 13:49:14 -06:00
sneurlax
8552fbac68
use container with boxdecoration instead of stroked textstyle
2023-01-24 13:48:57 -06:00
julian
fcc68ff1da
Merge branch 'ui-fixes' into paynyms
2023-01-24 13:34:13 -06:00
julian
96e2f8fa66
add border to secondary buttons based on theme
2023-01-24 13:31:21 -06:00
julian
aced68aa32
add border to secondary buttons based on theme
2023-01-24 13:30:00 -06:00
ryleedavis
914e0e9034
buttonBackBorderSecondary + disabled colors added
2023-01-24 12:29:14 -07:00
julian
028b261dee
refactor button style getter names
2023-01-24 13:29:12 -06:00
sneurlax
c0836f9c67
remove image property from Fiat and Crypto models
...
and don't check for them in selection views
2023-01-24 13:29:05 -06:00
sneurlax
fb257ef39e
also switch simplex image for oled black theme
2023-01-24 13:28:39 -06:00
sneurlax
325d341b7f
do not change hover state of crypto selection list
2023-01-24 13:28:07 -06:00
sneurlax
374d8aaef0
add trailing wallet nav bar spacing
2023-01-24 13:27:47 -06:00
sneurlax
9bfdfc01e4
update wallet_navigation_bar for buy and paynyms
...
TODO test mobile
2023-01-24 13:27:39 -06:00
sneurlax
ab1ff2604a
import logger, lint imports
2023-01-24 13:12:56 -06:00
julian
9c0992ffbf
home view button bar secondary color
2023-01-24 13:03:00 -06:00
ryleedavis
94896ea19f
notification icon + fruit theme added to main
2023-01-24 11:48:07 -07:00
sneurlax
1ebc8868f0
Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex
2023-01-24 12:44:50 -06:00
julian
b8be066acb
add per theme box shadow and per theme homeview button bar shadow
2023-01-24 12:42:41 -06:00
sneurlax
32ca83673a
Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex
2023-01-24 12:29:13 -06:00
julian
a0bb793eff
only pad on oceanBreeze theme
2023-01-24 12:17:36 -06:00
sneurlax
6f85aa5065
fix amount formatting if buying crypto amount
2023-01-24 11:55:36 -06:00
sneurlax
4312f08ee5
add currency symbol to quote preview
2023-01-24 11:51:35 -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
44fe0a4a0f
comment update
2023-01-24 11:23:39 -06:00
sneurlax
e465030d3d
add light version of simplex logo for dark themes
2023-01-24 11:12:40 -06:00
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
julian
e404de2116
force usage of adkVersion parameter
2023-01-24 10:30:00 -06:00
julian
7d10ae2011
go directly to wallet view on single wallet per coin on desktop and mobile
2023-01-24 10:16:44 -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
julian
9e24f2bdbc
added missing text styles
2023-01-24 08:10:52 -06:00
ryleedavis
7fe1fefea2
Merge remote-tracking branch 'origin/isar_migrate' into ui-fixes
2023-01-23 17:31:24 -07:00
ryleedavis
90eb0b77c0
WIP: fruit sorbet background
2023-01-23 15:36:13 -07:00
julian
6253652c21
detect paynym notification transactions
2023-01-23 16:11:24 -06:00
julian
6498e1926c
size fixes
2023-01-23 15:44:11 -06:00
julian
2259e15da8
re enable paynym
2023-01-23 15:39:19 -06:00
julian
8a7d669b62
async hasConnected ui update
2023-01-23 15:39:05 -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
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
julian
5eb4b3bff5
move tx creation after ins/outs and added another null check
2023-01-23 13:46:56 -06:00
julian
69dfbb5873
paynym clean up to use isar transaction and address upgrades
2023-01-23 12:19:13 -06:00
ryleedavis
bd80ad4ef4
add fruit theme button to appearance settings
2023-01-23 11:16:28 -07:00
ryleedavis
d25b757a22
add fruit sorbet to mobile + desktop appearance settings
2023-01-23 11:00:46 -07:00
ryleedavis
edec5f0c2a
adding fruit sorbet theme type and selector svg
2023-01-23 10:58:06 -07:00
sneurlax
4b944a2496
update API URL, use HTTPS
2023-01-23 10:59:14 -06:00
julian
f3325807e0
null address fix
2023-01-23 10:37:29 -06:00
julian
6790f702c2
migrate bugfix
2023-01-23 10:37:27 -06:00
julian
54cabe935f
null address fix
2023-01-23 10:32:53 -06:00
julian
a135404d67
migrate bugfix
2023-01-23 09:37:14 -06:00
ryleedavis
69262cefd2
added fruit sorbet theme colors
2023-01-22 23:16:01 -07: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
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
julian
165021ca2e
Merge branch 'isar_migrate' into paynyms
2023-01-20 17:27:18 -06:00
julian
a391a76eec
trusted nodes fix and possibly other node fix
2023-01-20 16:24:33 -06:00
julian
017719971b
isar init fix and renaming of init functions
2023-01-20 15:57:54 -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
julian
3b9cb60aaa
update text styles
2023-01-20 15:32:49 -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
sneurlax
51a9c7e961
api.php/route -> api.php?ROUTE=route
2023-01-20 14:56:26 -06:00
julian
c1182f61bc
start centralizing custom exceptions
2023-01-20 12:25:32 -06:00
julian
5c66b0380b
move standard electrum x transaction parsing function into a mixin
2023-01-20 12:16:27 -06:00
julian
4c25a88c32
update to use new block data callback
2023-01-20 11:48:59 -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
julian
0c1db6f249
clean up tests for now
2023-01-20 10:22:18 -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
julian
fd5a237170
move db modifying func to MainDB out of WalletDb, add MainDB mocks to coin tests, build runner generate mocks
2023-01-19 15:13:03 -06:00
julian
60e850f442
add mockable override option for testing purposes
2023-01-19 14:33:23 -06:00
sneurlax
98a9804059
fix nav desktop nav error
2023-01-19 14:20:27 -06:00
julian
8921302ee0
remove useless walletId param from db init
2023-01-19 14:07:08 -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
686c897515
remove unused param from constructor
2023-01-19 11:41:59 -06:00
julian
db205b40e2
notify ui of tx changes and force refresh on rescan
2023-01-19 10:29:00 -06:00
julian
5badeab621
temp disable partial paynym support in ui
2023-01-19 09:41:10 -06:00
julian
95b9e6170f
firo mint tx migrate fix
2023-01-19 09:16:30 -06:00
julian
7d061866bd
btc tx fetch fetch fix
2023-01-18 18:13:08 -06:00
julian
89f0704bd4
revert late on isLelantus
2023-01-18 18:03:53 -06:00
julian
42e53c31a6
build runner
2023-01-18 17:48:44 -06:00
julian
f507f6a60a
make fields final and other small QOL changes
2023-01-18 17:45:51 -06:00
julian
0a3c001845
fix all own addresses query
2023-01-18 17:20:23 -06:00
julian
575cce1a7d
update address in case of bad index from migrate or any other reason
2023-01-18 16:55:59 -06:00
julian
6784e6aab4
dynamic parsing fixes
2023-01-18 15:15:38 -06:00
julian
4dabeebfab
WIP migrate
2023-01-18 14:29:24 -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
julian
719f70697a
epic isar fixes
2023-01-18 09:42:46 -06:00
julian
cd4408449c
desktop db migrate enabled
2023-01-18 08:07:25 -06:00
julian
30635b05d5
wow isar tx sync fixes
2023-01-17 17:19:09 -06:00
julian
505e8adad7
xmr isar tx sync fixes
2023-01-17 16:56:21 -06:00
julian
ef9205a0a9
particl isar tx parse fixes
2023-01-17 16:11:04 -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
julian
9bb71b0e13
firo isar index and null address fix
2023-01-17 12:31:07 -06:00
julian
38453ceafb
delete old derivations when doing full rescan
2023-01-17 08:19:30 -06:00
julian
b348761bbe
bch cashaddr fix
2023-01-17 08:04:30 -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
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
julian
90870c7563
wallet delete ui bugfix for desktop
2023-01-16 17:17:35 -06:00
julian
880c82ba72
update delete wallet function to handle wallet isar data
2023-01-16 17:00:32 -06:00
julian
203cd12678
epic bugfix
2023-01-16 16:56:24 -06:00
julian
d1f237ae51
explicit isar model constructors
2023-01-16 16:37:00 -06:00
sneurlax
7cc30d1da4
comment cleanup
2023-01-16 16:12:53 -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
0223a75d95
putAll
2023-01-16 12:58:10 -06:00
julian
9388885047
add optional prefix param to address to script conversion
2023-01-16 09:17:32 -06:00
julian
5e592f8d29
epic index fix
2023-01-16 08:53:46 -06:00
julian
3d4d57a97c
max log message length to store in db
2023-01-16 08:34:52 -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