Skip to content

Commit

Permalink
[1.2.0] Improve dispute section (#3504)
Browse files Browse the repository at this point in the history
* Improve wording for mediation summary and add specific next steps for refund agent case

* Select the first dispute case when entering the support section
  • Loading branch information
ripcurlx authored Oct 29, 2019
1 parent 35f413a commit 4b4cf28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/resources/i18n/displayStrings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2257,7 +2257,9 @@ Payout amount for BTC buyer: {1}\n\
Payout amount for BTC seller: {2}\n\n\
Summary notes:\n{3}
disputeSummaryWindow.close.nextStepsForMediation=\n\nNext steps:\n\
Open ongoing trade and accept or reject the suggested mediation
Open trade and accept or reject suggestion from mediator
disputeSummaryWindow.close.nextStepsForRefundAgentArbitration=\n\nNext steps:\n\
No further action is required from you. If the arbitrator decided in your favor, you'll see a "Refund from arbitration" transaction in Funds/Transactions
disputeSummaryWindow.close.closePeer=You need to close also the trading peers ticket!
disputeSummaryWindow.close.txDetails.headline=Publish refund transaction
disputeSummaryWindow.close.txDetails.buyer=Buyer receives {0} on address: {1}\n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ private void doClose(Button closeTicketButton) {

if (dispute.getSupportType() == SupportType.MEDIATION) {
text += Res.get("disputeSummaryWindow.close.nextStepsForMediation");
} else if (dispute.getSupportType() == SupportType.REFUND) {
text += Res.get("disputeSummaryWindow.close.nextStepsForRefundAgentArbitration");
}

checkNotNull(getDisputeManager(dispute)).sendDisputeResultMessage(disputeResult, dispute, text);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ protected void activate() {
Dispute selectedItem = tableView.getSelectionModel().getSelectedItem();
if (selectedItem != null)
tableView.getSelectionModel().select(selectedItem);
else if (sortedList.size() > 0)
tableView.getSelectionModel().select(0);

if (chatView != null) {
chatView.activate();
Expand Down

0 comments on commit 4b4cf28

Please sign in to comment.