Commit Graph

1233 Commits

Author SHA1 Message Date
Florian Reimair
2e7277689a
Merge pull request #3244 from bodymindarts/extract-ParsingUtils
Extract helper classes from BSFormatter
2019-09-12 19:51:48 +02:00
wiz
0c6b9d0c5f
Tweak light/dark theme CSS colors for trade chat state messages 2019-09-12 02:09:13 +09:00
wiz
14f8b2e81b
Add missing CSS classes for trade message states and status icon 2019-09-12 02:08:47 +09:00
Justin Carter
3b46f3584f
Extract parsing functions from BSFormatter to ParsingUtils
Parsing and formatting are 2 different concerns, its better to have 2
classes that handle these.
2019-09-11 16:14:18 +02:00
Justin Carter
fe33a80de5
Extract DisplayUtils from BSFormatter
All methods that are only used in the desktop project are removed from
BSFormatter to DisplayUtils. This reduces the entanglement between the desktop and core
project by reducing the surface area of the coupling.
2019-09-11 15:58:48 +02:00
Florian Reimair
be21535a4b
Merge pull request #3239 from bodymindarts/static-BSFormatter-functions
Make stateless BSFormatter functions static and remove dead code
2019-09-11 13:10:37 +02:00
Justin Carter
57d9badf8f
Make stateless BSFormatter functions static and remove dead code
Making these functions static is a preparation for extraction.
2019-09-11 12:51:12 +02:00
sqrrm
dab8436e43
Merge pull request #3200 from ripcurlx/add-scripts-for-testing-jars
Add scripts for testing jars
2019-09-11 12:46:42 +02:00
Christoph Sturm
bcaac51830 Assign more thread names at thread creation. 2019-09-06 11:07:34 +02:00
Christoph Atteneder
eea0bd6635
Merge pull request #3191 from wiz/hide-chart-vertical-grid-lines
Don't paint vertical grid lines on charts
2019-09-05 08:58:27 +02:00
Christoph Atteneder
2abc4b4b14
Add scripts to create testing jars 2019-09-04 13:53:09 +02:00
Christoph Atteneder
285e5f236d
Merge pull request #3189 from gordonel/patch-1
Change trader-facing language to gender-neutral
2019-09-04 10:33:23 +02:00
Christoph Atteneder
dd17e0834d
Merge pull request #3188 from wiz/beyond-the-css
Fix CSS styling bug caused by using Text() instead of Label()
2019-09-04 10:31:53 +02:00
Christoph Atteneder
16a2f07c21
Merge pull request #3192 from wiz/japanese-locale-chart-axis-bugfix
Reduce size of chart axis font to fit Japanese string
2019-09-04 10:26:13 +02:00
wiz
c7c2082aa3
More UI polish for Dark Mode
* Tweak contrast of background linear gradient
* Tweak background colors slightly darker
* Tweak foreground colors slightly lighter
* Tweak buy/sell buttons color slightly darker
* Tweak chart axis line and label font colors
2019-09-03 21:58:37 +09:00
wiz
97b6ba133d
Reduce size of chart axis font to fit Japanese string 2019-09-03 21:39:07 +09:00
wiz
2618ac17ca
Don't paint vertical grid lines on charts 2019-09-03 20:21:24 +09:00
Gordon E
74215d1846
Update TakeOfferDataModel.java 2019-09-03 12:38:14 +03:00
Gordon E
ce43142507
Update TacWindow.java 2019-09-03 12:14:01 +03:00
wiz
93e4611831
Fix CSS styling bug caused by using Text() instead of Label() 2019-09-03 05:54:24 +09:00
Christoph Atteneder
e2a17dcb8e
Update data stores 2019-09-02 11:14:59 +02:00
Christoph Atteneder
a212a5889c
Merge pull request #3149 from ghubstan/validate-phone
Validate phone numbers
2019-09-02 09:47:11 +02:00
Christoph Atteneder
0e21ffb08e
Merge pull request #3168 from wiz/fifty-shades-of-gray
Various CSS fixes for v1.1.6
2019-09-02 09:24:36 +02:00
Christoph Atteneder
f972984a92
Merge pull request #3172 from battleofwizards/fix-doubleclick-on-autocomplete-dropdowns
Fix #3171 doubleclick on autocomplete dropdowns
2019-09-02 09:21:26 +02:00
Christoph Atteneder
e0c91d22b3
Merge pull request #3176 from sqrrm/blocknotify-option
Add rpcBlockNotificationHost option
2019-09-02 09:20:13 +02:00
chimp1984
6dafafd7b1
Fix performance issue in BsqWalletService
The updateBsqWalletTransactions method got called at each block for all
transactions. During block download that wasted a lot of cpu and
led to stuck UI thread and lost connections.
The updateBsqBalance is not cheap (a few ms) and called for 100s of txs
at each block was very problematic.
Furthermore the listeners on the walletTransactions observableList got
triggered which made the situation worse.

We changed the observableList to a ArrayList and use a listener which
gets called after the list is updated.
We also make sure the onTransactionConfidenceChanged listener is not
calling updateBsqWalletTransactions if bsq parsing is not complete and
if the depth of the tx is > 1.
In the updateBsqWalletTransactions method we use a flag and a delay
to ensure that the updateBsqBalance is not called more then once
in 100 ms.

We changed also the getter to return a cloned version of the list to
avoid potential concurrent modification exceptions at clients.

Closes #3175
2019-09-01 22:47:10 +02:00
wiz
6cef6e043e
Multiple CSS bugfixes for light/dark themes
[Light Theme]
* Fix wrong shade of gray used as background color on grid-pane
* Fix green scrollbars, should be gray as before

[Dark Theme]
* Fix action buttons being too dark on dark background
* Fix combo-box-editor referencing old CSS class names
* Fix incorrect shades of gray used for wizard item background
* Set font-smoothing to gray method

* Style javafx's main color palette, which fixes below issues:
* Fix dark text on dark background in text field on grid-pane
* Fix password entry input field dark on dark
* Fix trade chat bubbles and text
* Fix calendar date picker
* Fix viewing DAO proposal results
2019-09-02 05:09:34 +09:00
wiz
04d073fab7
Move CSS theme code into its own class, apply CSS theme to all scenes 2019-09-02 05:08:37 +09:00
sqrrm
f30b68b39f
Fix tests 2019-09-01 19:10:26 +02:00
battleofwizards
73c8832603
Fix #3171 doubleclick on autocomplete dropdowns 2019-08-31 22:48:25 +02:00
chimp1984
39e22ca44e
Fix bug with not showing system msg at peer who receives msg
- We only added the system msg when one opens the chat but not when
one received a message.
2019-08-31 01:14:43 +02:00
ghubstan
de4b59048b
Integrate PhoneNumberValidator into SwishForm
PhoneNumberValidator + Test Changes:
  Added no-arg constuctor required for Guice injection.
  Added isoCountryCode setter;  this field must be set before
  validation.
  Added validation of isoCountryCode.
  Added missing country code test.

SwishValidator Changes:
  SwishValidator now extends PhoneValidator.
  Added no-arg constuctor required for Guice injection.
  Set isoCountryCode = SE in constructor.

SwishForm Changes:
  Sets Swish acct phone number to normalized phone number if
  phone # validation is successful.
  Replaced Logger declaration with @Slf4j annotation.
  Formatted source.

Added 'validation.phone.missingCountryCode' property to i18n file.
2019-08-30 15:27:46 -03:00
Christoph Atteneder
6e232d89dd
Merge pull request #3139 from battleofwizards/add-autocomplete-on-market-buy-sell-tabs
Add dropdown autocomplete on Market, Buy, Sell tabs
2019-08-30 19:32:01 +02:00
Christoph Atteneder
b5f871b8ed
Merge pull request #3165 from chimp1984/trade-chat
Traders chat
2019-08-30 19:00:03 +02:00
chimp1984
50baa9b023
Close chat window if dispute gets closed 2019-08-30 18:44:43 +02:00
chimp1984
57ec0dbc7e
Persist chat position. Improve listener handling.
- Store last position of the chat window so if it gets closed and opened
again it opens at the last position.

- Fix issues with the listener for new messages.
The handler was called multiple times before. Now its is called only
once. Tested with multiple trades and scrolling.

We use maps for each trade to avoid multiple listener registrations
when switching views. With current implementation we avoid that but we
do not remove listeners when a trade is removed (completed) but that
has no consequences as we will not receive any message anyway from a
closed trade. Supporting it more correctly would require more effort
and managing listener deactivation at screen switches (currently we
get the update called if we have selected another view.

This part can be improved if any dev feels motivated but its not
trivial...
2019-08-30 18:08:12 +02:00
Christoph Atteneder
8edd2611db
Use button instead of label to fix tooltip font size, use material design icon and add additional cleanup code 2019-08-30 12:42:17 +02:00
Christoph Atteneder
964ca648b8
Fix positioning of badge 2019-08-30 12:04:55 +02:00
wiz
efe1b47b88
Additional CSS fixes/tweaks for Dark Mode theme 2019-08-30 10:13:12 +09:00
chimp1984
663d8591c4
Add chat rules system msg; cleanups 2019-08-30 00:58:06 +02:00
chimp1984
6304c9ec84
Add badge for num new chat msg 2019-08-30 00:07:51 +02:00
chimp1984
e0c1a85406
Add wasDisplayed field to chatMsg
- Fix logger
- Manage display state off trade chat msg (wip)
2019-08-29 22:29:36 +02:00
battleofwizards
3f1b188e21
Add dropdown autocomplete on Market, Buy, Sell tabs; fix #2226
Basic autocomplete feature for all dropdowns on the major tabs:

* Market / Offer Book
* Market / Trades
* Buy BTC
* Sell BTC

Known limitations:

* Autocomplete still missing from Settings, Account, DAO tabs
* Minor UX glitches remain despite lots of debugging and polishing

Related issues:

* fix #2226
* partially addressed #2712
* superseded #112
2019-08-29 20:33:34 +02:00
chimp1984
29e957a7ca
Apply changes from master 2019-08-29 19:11:09 +02:00
chimp1984
fa43f03151
Merge branch 'master_upstream' into sq-add-trader-chat
# Conflicts:
#	desktop/src/main/java/bisq/desktop/main/disputes/trader/TraderDisputeView.java
2019-08-29 19:09:49 +02:00
chimp1984
bfb111da67
Add close handler to popup
- Close already open chat if new one opens
2019-08-29 18:56:11 +02:00
wiz
d308491d7f
Minor CSS fixes for light/dark themes 2019-08-30 01:42:09 +09:00
chimp1984
2189cba41b
Show chat in popup instead of tab (WIP) 2019-08-29 17:50:14 +02:00
chimp1984
329572cc5d
Merge branch 'master_upstream' into sq-add-trader-chat
# Conflicts:
#	core/src/main/java/bisq/core/arbitration/DisputeManager.java
#	core/src/main/java/bisq/core/arbitration/messages/DisputeCommunicationMessage.java
#	core/src/main/java/bisq/core/trade/Trade.java
2019-08-29 16:50:32 +02:00
wiz
fd0c8652bd
Rename colors in bisq.css, add theme-light.css and theme-dark.css
Co-authored-by: Peter Banik <peter@froggle.org>
2019-08-29 20:48:01 +09:00