-
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
Add shortcut list #3695
Add shortcut list #3695
Conversation
This was useful for legacy arbitrators as they received the trade fee
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.
NIT and questions
desktop/src/main/java/bisq/desktop/main/funds/transactions/TransactionsView.java
Show resolved
Hide resolved
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.
ahm I am not sure if I got your intentions but that is what caught my attention:
- in
AccountView
pressing... + n
creates a new refund agent tab. Yet, the text saysarbitrator
. - there is no code to create a new arbitrator-tab, can we get rid of the remnants?
It seems there is some tangling up of "arbitrator" and "refund agent". We should clear that up to avoid confusion.
minor stuff:
Navigate to account and click: {0}
shouldn't it be "press" instead of "click"
Atm we used in all user facing views
NIT - Yes it would be good to be consistent in this view if we want to use click or press. |
We use refundAgent in the domain (code) but left arbitrator as the term for users (UI). There are some discussions for a better term, but so far arbitrator (UI) is refund agent and old arbitrator is "legacy arbitrator".
Will change it. |
what about dead code?
seems reasonable. however, why is the refund agent tab then titled "refund agend registration"? |
Removing the legacy arbitator domain is a bit of a bigger task. There might be some usage in messages, so simply deletion will not be enough.
"Arbitrator" is for users. "refund agend registration" is for refund agents to make it more clear and to avoid confusion for the refund agent. |
@freimair Can you review again? |
I am stepping back from reviewing this. First, IMO, if we remove the short-cut to even trigger a "legacy arbitrator" tab, the code remnants should be removed. This is dead code. If we do not remove it right away, it might stay there until a newcomer asks about what that is. Second, I do not like the dual vocabulary. It is only confusing. |
I am stepping back from reviewing this.
@freimair I only wanted to add a small feature as it is annoying to look up the shortcuts in the code each time one needs them. It was not intended to change existing naming schemes (refund agent vs. arbitrator) as there is anyway some discussion going on for a better term. As well it would be far beyond the scope of that PR to remove the domain code of legacy arbitration which carries also some risks and will require lots of testing with backward compatibility. As the risk/effort/benefit ration is pretty bad for that effort I also do not have intention to work on that any time soon. Too much other important stuff waiting to get implemented... I understand that this discussion here becomes too much of an effort and I am ok with closing that PR as well. Not such an important feature to justify to burn so much time for reviewers and author. |
I will take a look at this as I want the short cut list added (too annoying looking through the code indeed) |
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.
ACK
Tested on Regtest and everything is working as expected.
Should be merged after #3694 (not hard requirement though)