Commit Graph

107 Commits

Author SHA1 Message Date
user411
11dd28085a
Add debug window button to unreserve all utxos (#3633) 2021-08-30 12:31:38 -05:00
user411
072c4164db
Add Tor running text to UI (#3546)
* Add Tor running text to UI

* Fix tor/proxy references

* Set network and proxy enabled from final config

* Cleanup

* Change to Tor Proxy indicator when enabled
2021-08-19 18:24:34 -05:00
benthecarman
68afe90778
Flip buttons for Offer and Accept (#3579) 2021-08-19 17:31:54 -05:00
user411
01617be190
Add welcome pane to right view on startup (#3577) 2021-08-19 17:24:02 -05:00
user411
fd02d3642e
Add dialog to show transaction id and link after wallet Send (#3570)
* Add dialog to show transaction id and link after wallet Send

* Add transaction sent to rebroadcast closing tx

* Add Platform.runLater() for Ubuntu support

* Add block explorer timing warning

* Add Funding Transaction dialog, mempool.space urls
2021-08-19 12:24:41 -05:00
user411
5567d2214f
Move DLC/Event loading operations to Pane (#3567)
* Move DLC/Event loading operations to Pane

* Change labeling to Accept Offer / Build Offer

* Cleanup comment
2021-08-19 11:16:22 -06:00
user411
589077f2f3
Enum outcome labels to match numeric outcome labels (#3568)
* Enum outcome labels to match numeric outcome labels

* Add vertical space above outcomes

* Bump vertical spacing
2021-08-18 06:49:24 -05:00
user411
b545915fc0
Implement rebroadcast closing tx (#3564)
* Implement rebroadcast closing tx

* Add minWidth to Rebroadcast buttons
2021-08-17 12:16:46 -05:00
Chris Stewart
7cd21edb12
2021 08 17 rebroadcast funding tx (#3561)
* Add check for valid broadcast states

* Add rebroadcast funding tx button

* remove printlns

* Add status to error message to get compile working

* println -> logger.info

Co-authored-by: Ivan <erickson.ivan@gmail.com>
2021-08-17 08:41:55 -05:00
user411
e08dc636a1
Wallet on top UI, minWidth on DLC View fields (#3540) 2021-08-13 10:22:51 -05:00
user411
63ccfbe1a0
Add Network label to statusbar (#3541) 2021-08-13 08:45:01 -05:00
user411
e0ecafc5f9
Add debug window to view log fixes #3516 (#3536)
* Add debug window to view log

* Test with Desktop.open() vs Desktop.edit()

* Use Runtime.exec() to open unix file

* Ubuntu log file open works

* Cleanup

* Brace cleanup

* Add logging for unsupported platforms
2021-08-13 07:20:03 -05:00
user411
77539c570a
Adjust DLCTableView column widths and "counter party" to "counterparty" (#3539) 2021-08-13 07:14:11 -05:00
user411
b2065a9c02
SplitPane flat Dialog UI (#3505)
* SplitPane flat Dialog UI

* Fix Scala 2.12 nits

* Cleanup bool names and unused code
2021-08-11 07:29:59 -05:00
user411
b98aa7c8e1
GUI code cleanup (#3504)
* GUI cleanup

* Remove import {}
2021-08-09 17:55:38 -05:00
user411
5524f7d393
Add style classes, center Rounding Info (#3496) 2021-08-07 11:39:54 -05:00
user411
84e6097d48
Set disable to context menu items based on selection, add Refund/Execute (#3477)
* Set disable to context menu items based on selection, add Refund/Execute

* Fix DLCStatus.state matching for disabling

* Add all explicit states to match
2021-08-06 16:17:32 -05:00
benthecarman
66813dc7c5
Fix error parsing address in AcceptOfferDialog (#3491) 2021-08-05 17:44:05 -05:00
user411
e315fb0563
Move to GridPane wallet, dynamic sizing (#3492) 2021-08-05 17:42:04 -05:00
user411
831e0fd96d
Evenly space footer status items (#3485) 2021-08-05 06:51:11 -05:00
user411
3177b1586b
Adds Tor Address to UI, if set (#3481)
* Adds Tor Address to UI, if set

* Put .error-label back in

* Use GUIUtil.getCopyToClipboardButton
2021-08-04 15:55:07 -05:00
user411
2dd348a79f
Fix dialog results optionality nesting to match dialogOpt (#3479) 2021-08-04 14:25:53 -05:00
user411
bc3140c6bb
Default Use Tor to config value, space login pages the same (#3472)
* Default Use Tor to config value, space login pages the same, GUIUtil updates

* Use socks5ProxyParams.isDefined for Use Tor and add types to GUIUtil
2021-08-04 13:34:18 -05:00
user411
00841160e0
Modifer keys per OS, Mac native menubar (#3474)
* Modifer keys per OS, Mac native menubar

* Remove menuUtil in favor of ShortcutDown
2021-08-04 13:31:26 -05:00
benthecarman
7cac44de4d
DLC P2P in AppServer and GUI (#3462) 2021-08-04 07:06:19 -05:00
user411
c022261c4f
Remove colons from DLC view labels (#3471) 2021-08-03 16:57:10 -05:00
user411
9aadf9053d
Dialogs to CliCommandProducers with buildView(), common fileChooser (#3456)
* Dialogs to CliCommandProducers with buildView(), common fileChooser

* Fix Insets import error

* Code cleanup

* Parameterize CliCommandProducer to allow us to be more specific about the CliCommand

* Refactor CliCommandProducer to return just T rather than Some[T]

* Use Option rather than null

* Add error-label style

* Move Dialog tracking to Option[Dialog]

* Move GUIUtil params to Options

* Fix buildView param ordering and Try() notation

* Use match notation on file handling Options

* Fix Option variable naming/handling

* Add privates and style cleanup

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-07-30 12:30:11 -05:00
benthecarman
f20cdf667c
Pretty print PnL in table view (#3400) 2021-07-16 10:15:35 -05:00
benthecarman
c1715760c6
Add connection indicator to GUI (#3381) 2021-07-11 06:36:16 -05:00
user411
253f7444c6
Show error on SignedDigit contract (#3376) 2021-07-07 15:51:29 -05:00
user411
bb838624ce
Export Result and Save Backup handle no file selection (#3370)
* Export Result and Save Backup handle no file selection, New Point in curve not marked Endpoint

* Revert endpoint defaullt change

* Change to Option[File] from Save Dialog

* Explicit no return from cases
2021-07-07 15:35:11 -05:00
benthecarman
6af9e47e38
Fix showing error popups in GUI (#3353) 2021-07-01 10:27:23 -05:00
benthecarman
6414833111
Call trim on DLC message text boxes (#3348) 2021-06-29 14:18:06 -05:00
benthecarman
81fe7d76ee
Remove canceled DLCs from table (#3349) 2021-06-29 13:30:32 -05:00
benthecarman
53cafa7898
Set closing txid on execute from View Dialog (#3340) 2021-06-29 12:28:35 -05:00
benthecarman
d7b753a869
Add invariant and better error message for invalid numeric contract descriptor (#3338)
* Add invariant and better error message for invalid numeric contract descriptor

* Better error message

* Fix test name
2021-06-28 10:58:15 -05:00
user411
1f43a1910f
Add ExplorerEnv.fromBitcoinNetwork() and use for View on Oracle Explorer siteUrl (#3332) 2021-06-25 12:31:47 -05:00
benthecarman
88b99b03b5
Add view on oracle explorer button (#3328)
* Add view on oracle explorer button

* Fix compile

* Fix docs
2021-06-25 09:53:01 -05:00
Chris Stewart
ea26c8b3a3
2021 06 23 scalafx dep (#3324)
* WIP

* Remove usage of JFXApp, use JfxApp3
2021-06-23 18:15:32 -05:00
benthecarman
05204e6235
Make it so table doesn't reorder on single update (#3321)
* Make it so table doesn't reorder on single update

* Default ordering by status

* Sort table on every update

* Secondary sort by evenId

* Sort by dlcId too

* Switch to contract Id

* Update instead of delete and replace

* move to function, use for updateDLCs
2021-06-23 18:14:43 -05:00
benthecarman
b8538f0300
Fix DLC Table View not being updated (#3315)
* Fix DLC Table View not being updated

* Fix DLC Table View not being updated
2021-06-22 10:53:15 -05:00
benthecarman
00e11b4930
Fix rows in ViewDLCDialog (#3275) 2021-06-17 06:50:25 -05:00
benthecarman
bd11c84462
Add ability to sweep wallet (#3274)
* Add ability to sweep wallet

* Respond to review

* empty
2021-06-16 14:37:40 -05:00
Chris Stewart
63083bf642
Make getDLCs async to improve performance (#3222)
* Make getDLCs async to improve performance

* remove logs

* remove unecessary logs

* Fix unused
2021-06-15 09:38:36 -05:00
benthecarman
935354993b
Populate Broadcast DLC GUI (#3260) 2021-06-13 09:29:08 -05:00
benthecarman
65f096f65a
Populate Sign GUI when choosing a file (#3243)
* Populate Sign GUI when choosing a file

* Add error messages, add for numeric
2021-06-11 15:14:18 -05:00
benthecarman
cd59aff063
Fix for showing txid on send (#3237) 2021-06-09 07:58:02 -05:00
Chris Stewart
9431be2f25
2021 06 07 dlc wallet pnl (#3229)
* WIP

* Add profit and loss and rate of return for entire wallet

* Fix rebase

* Address part 1 of code review from Ben

* Add unit test for wallet accounting
2021-06-08 15:05:40 -05:00
benthecarman
5036c419be
Add from file ability for AddDLCSigsAndBroadcast DLCs (#3219) 2021-06-03 21:14:03 -05:00
benthecarman
1af9465881
Update balance on cancel DLC (#3205) 2021-06-02 06:16:54 -05:00