-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Cancelling add entry creates empty entry #299
Comments
Thanks for reporting this issue! Would you like to delete the plants, if they only contain default information regardless of the location? |
Related code:
Depending on the usage, this should also be renamed to "shouldBeDeleted" |
Having a "delete" button in the "add" dialogue is confusing. IMHO it should be renamed "Cancel".
|
So, the view for editing a plant and creating a plant is the same at the moment. |
Hmm, both should have the Cancel button and the delete button should be moved to the list as an trash can icon. |
I wonder what the behavior of the cancel button is. According to some Google advice about designing Android apps, whenever I modify a field, I expect it to be saved immediately. So, for me, there is only saving or deleting the plant at the end of the view. I can understand that the "go back" behavior has some differences for useless plants. However, I do not know how to distinct the three actions: cancel, delete, save. I am ok with leave&save-if-useful, save, delete. I also wonder if this is a case: If you like to map many plants of a known type, then you place them on the map to add the type later. |
Really? That contradicts my PC/Phone experience. Yours not?
What do you mean? You don't know what to do? Or how to detect the user's intention?
I see. Well, yeah, for a new entry that is ok. I just wouldn't label it 'delete'. Whatever happens under the hood...
Imaginable. Or: I find a tree/bush, but I am not sure about the type, so I take the photo and look it up later. |
I can summarize the change I would be willing to implement as the first three:
|
Sorry for the delay.
- [ ] When I edit an **existing plant**, there is a button named "Delete". When I press it, the plant is gone.
- [ ] When I open a **new plant** from the **map**, there is a button named "Cancel". When I press it, the plant is gone.
- [ ] When I open a **new plant** from the **list of my plants**, there is a button named "Cancel". When I press it, the plant is gone.
- [ ] When I edit an **existing plant** and I press the **back button**, no changes are applied to the data or, if changes have been applied immediately while editing, they are reverted.
- [ ] When I open a **new plant** from the **map**, when I press the **back button**, the plant is gone.
- [ ] When I open a **new plant** from the **list of my plants**, when I press the **back button**, the plant is gone.
Am 22. September 2019 09:12:25 MESZ schrieb Nicco Kunzmann <[email protected]>:
…I can summarize the change I would be willing to implement as the first
three:
Please copy it over and modify it, so it matches your expected
behavior.
```
- [ ] When I edit an **existing plant**, there is a button named
"Delete". When I press it, the plant is gone.
- [ ] When I open a **new plant** from the **map**, there is a button
named "Cancel". When I press it, the plant is gone.
- [ ] When I open a **new plant** from the **list of my plants**, there
is a button named "Cancel". When I press it, the plant is gone.
- [ ] When I edit an **existing plant**. When I press the **back
button**, ... .
- [ ] When I open a **new plant** from the **map**, when I press the
**back button**, ... .
- [ ] When I open a **new plant** from the **list of my plants**, when
I press the **back button**, ... .
```
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#299 (comment)
|
Thanks! This is something one can clearly implement. However, before someone implements this, I would like to talk about it:
I am not against anyone else making these changes. What do you think about (4) and (5.1) and (5.2)? |
4. E.G. edit a contact in my stock contact manager. Same for calendar. Edit a note in AnkiDroid. In order to avoid ambiguity, there is a dialog "discard changes?"
OK, now as I look for it, I find counter examples. BUT there is no OK button. E.G. permissions dialog for an app. Settings in K-9 mail client.
I think database GUIs (calendar, contacts, Anki) are what we should look to, not app settings.
5. Doesn't matter if it is visible out not.
Give me said dialog and I know what is going on.
--
|
Thanks. To me, it is clear now, what to do when the buttons are pressed. If you like to specify the dialog, we can open a new issue for that, too - once it is specified enough to be implemented stepwise. |
Correct.
|
I added the two points in #307. If you think, this conversation clarified everything, you can close the issue. |
If I press "+", then "Back", an empty entry is created.
That shouldn't happen.
An entry without the mandatory fields shouldn't be accepted anyway (#300).
We're using [Polar.sh](https://polar.sh/niccokunzmann) so you can upvote and help fund this issue. We receive the funding once the issue is completed & confirmed by you. Thank you in advance for helping prioritize & fund our work.
The text was updated successfully, but these errors were encountered: