Feature: transaction duplicate
🙋🏻♂️ Add the ability to duplicate a transaction
📋 Description
Summary:
We should allow a user to duplicate an existing transaction
Expected Behavior:
When the user taps to a transaction, near the "delete" button on top right border, we could add a "duplicate" button, that closes the "edit page", and open a pre-filled "add transaction" page.
I can work on it!
I got some concern about this...
If I pressed on the “copy transaction” button, I would end up on the same exact page where I was. Since the pages for “add transaction” and “edit transaction” are identical except for the two writings in the app bar and the bottom bar.
A possible walk-round might be to open an alert dialog, asking for confirmation if the user is going to duplicate the transaction, and if he clicks “confirm” he is redirected to the home page, from where he will see a new transaction appear that will have the name “{name of previous transaction} Copy.”
This is my idea, I understand that it might make the process of editing the duplicate transaction more tedious, but at the same time in my opinion it's more intuitive for the user since if we did the above (so it would open a new add transaction screen identical to the previous one) it might confuse him.
Another solution might be to insert some fields within the dialog that the user would potentially want to change (currently only the date of the transaction comes to mind), and then duplicate the transaction based also on the user input.
Or again, you could create a different page just for duplication, and we would then have to create a different design.
What are your thoughts on this?
I would follow the first approach you suggested, I think creating the new transaction adding copy at the end might be the best option for now. Maybe we could also add a dialog that explains that the new copy is created