-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve chat functionality of mediation/arbitration #5207
Conversation
Too late to incorporate #5044 ? hah |
@jmacxx Great that you picked this up! IMO we should only have the info icon in front and move the other action icons (process and chat) to the end. It just feels weird for me having this action icons in the front (yes, I know we had the CTA buttons there as well in the past). What do you think? Also it would be great if you could adapt the badge number on the support button so it doesn't reflect the number of open support cases, but rather if there is an action that needs to be done. e.g. if there are new support cases add a I think doing like that prevents that people are ignoring the badge icon as it is always there no matter if there is an action to do or not. |
Show badge with number of unread chat messages on each ticket Use icons for chat, info and process ticket functions Select a row by clicking on it, no clunky select button needed. Show chat messages in a movable popup window. More space for ticket list. Implement requested feature additions: Indicate if the trade period is over Indicate more clearly the sender of each chat message Support badge count Indicate the XMR tx proof (when applicable) Allow trader to close own mediation ticket if the trade is paid out Fixes: null check for cases when extraData null/not applicable when upgrading closed disputes, clear chat unread count
Ready for review! Dispute object now contains a |
@jmacxx Is there a reason why you chose orange for the new badge? |
Awesome work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NACK - Some naming suggestions and comments I would leave out of this PR.
Also I tested the functionality and found following UX issue:
When a new mediation case is opened it looks like that to the user:
It is not immediately clear to me what the action I need to do to get rid of the New
badge (I need to open the chat). For this initial system message I think the chat icon should have a (1) badge already, so users are clicking on it. I also think it would be great to open the chat window on double click of the dispute item as the default action. WDYT? I'm continuing to test the remaining functionality and will add my comments below. But besides that - great improvements already 👍
desktop/src/main/java/bisq/desktop/main/overlays/windows/DisputeSummaryWindow.java
Outdated
Show resolved
Hide resolved
desktop/src/main/java/bisq/desktop/main/overlays/windows/DisputeSummaryWindow.java
Outdated
Show resolved
Hide resolved
desktop/src/main/java/bisq/desktop/main/overlays/windows/DisputeSummaryWindow.java
Outdated
Show resolved
Hide resolved
desktop/src/main/java/bisq/desktop/main/overlays/windows/DisputeSummaryWindow.java
Outdated
Show resolved
Hide resolved
desktop/src/main/java/bisq/desktop/main/overlays/windows/DisputeSummaryWindow.java
Outdated
Show resolved
Hide resolved
renamed alertCountProperty to badgeCountProperty changed the badge counting policy so that the count of chat messages does not contribute to the badge number, but merely the presence of chat messages, and/or the new flag. show an explanatory message when trader is not allowed to close own dispute ticket removed some comments and code that were accidentally included from PR5160 renamed variable tpe to tradePeriodEnd renamed variable cptyName to counterpartyName clear the new badge on double-click of dispute tablerow
@ripcurlx Thanks for the detailed review! I've addressed all issues and have an open question with @leo816 and @huey735 about the Process icon.
|
that seems great, sorry I didn't answer earlier, having a lot of conversations at once and missed this. Good Job. |
That's amazing work @jmacxx Or if that's strong, maybe a balance? @ripcurlx suggestions don't seem thematically relevant. But then again I imagine that with time the chosen icon will gain meaning. |
great work @jmacxx many thanks |
Great work @jmacxx 👍 |
Fixes #5097
Fixes #3412
Agent view:
Client view:
Light mode:
@leo816
Indicate trade end period
Indicate XMR tx proof (when applicable)
@pazza83
Allow trader to close ticket if paid out
Indicate more clearly the sender (trader side):
Indicate more clearly the sender (agent side):