-
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
Functionality to duplicate an offer #5423
Conversation
Code looks fine and it works functionality wise (tested it on Regtest). I only have two remarks:
|
The thought of cluttering the row with yet another icon is painful, and doing that on |
Add suggestions to strings above. I agree the "new offer like this" can sound ambiguous, but a verb at the beginning should clarify. |
@m52go 👀 🙏 |
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 it on Regtest
A couple of suggestions on this functionality:
|
Would it not be possible to have a duplicate offer that does exactly that - without any more clicks needed? One single click to publish an offer identical to the one selected. This is more like duplicate and modify, which forces the user to go through looking at and accepting the contract and so on which adds a lot of fully needless clicks. Or a two-choice menu when right-clicking: |
1-click is possible; I worry about the potential risk though. Normally anything that spends money should have some kind of confirmation in case it was accidental. However, perhaps a 1-click offer feature as you want could be considered similar to Amazon's 1-click buy feature. I would err on the cautious side and require that the user enable the "1-click offer feature" via a settings option. It would assume that the local wallet be used for funding. Then we can have two options in the right-click menu as you described, adding |
I doubt people will accidentally click on duplicate offer and even if they do they can always retract the offer. A 1-click offer is indeed like Amazons 1-click buy which I appreciate so much and I don't think it should be opt-in. Amazon realized that a 1-click offer was so valuable that they tried to patent it. An opt-in once again forces people to click click click and try to find the correct place in the settings. The present method should be used when making a new offer, i. e. the fields should be prefilled with the numbers from a previous offer, unless it is the very first offer. Most people (and everyone I know) repeat similar offers. |
I'm not sure if we should duplicate the offer without any confirmation at all as the user might not be aware of the exact fees she is expected to pay at this very moment. What would be a good next step to reduce unnecessary clicks before duplicating it, could be to directly jump to the final offer confirmation window. WDYT? |
To jump to a final confirmation window is the next best thing if a true 1-click is deemed risky. Maybe a warning pop-up saying something like "fees are high right now" can be used instead when right-clicking the first time. The user can then continue or stop depending on mood and 1-click can still work. |
At least four out of 17 selloffers in XMR have been created by duplicate offer, not counting the initial offer. Liquidity has thus already increased about 30% despite the improvements that still can be made. Other markets such as EUR and USD also have many duplicated offers. All XMR selloffers have autoconfirm as well. Maybe the Refund Agents suggestions to improve the UI should be taken more seriously. |
I now think 1-click will work. Most traders will duplicate immediately after making an initial offer and the fees will be the same. If the fees rise substantially after some time then duplicate offer could give a warning such that the trader can abort the duplication and make an offer from scratch. For an offer started from scratch the fields should be filled with the numbers from the previous offer. An extra option of "make n copies of this offer" should be given, prefilled with a 1. |
Adds a right-click menu to Portfolio->Open Offers, Open Trades, and History lists allowing those offers to be duplicated.
The create offer screen is then presented with the filled-in details which can be edited if necessary.
Screenshots