Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Add edit button in contact diary where user selects entries #2196

Open
2 tasks done
ste-fle opened this issue Mar 11, 2021 · 18 comments
Open
2 tasks done

Add edit button in contact diary where user selects entries #2196

ste-fle opened this issue Mar 11, 2021 · 18 comments
Assignees
Labels
contact-journal enhancement Improvement of an existing feature mirrored-to-jira This item is also tracked internally in JIRA

Comments

@ste-fle
Copy link

ste-fle commented Mar 11, 2021

Avoid duplicates

  • This issue has not already been raised before
  • If you are proposing a new feature, please do so in CWA-Wishlist

Current Implementation

Currently the only way to edit the list of locations and people is in the contact diary's main view via the context menu in the upper right corner.

Suggested Enhancement

Basically all list views in iOS feature an edit button in the top corner so the user might expect one in this view as well, but then needs to go back to the parent view to change or delete entries. Therefore I would suggest adding this button for calling the edit view directly.
IMG_0155

Expected Benefits

The user can directly edit all the entries in the same view where he also chooses them, making editing more quickly and bringing it on par with basically all list views in iOS.


Internal Tracking ID: EXPOSUREAPP-3034
Internal Tracking ID: EXPOSUREAPP-5495

@ste-fle ste-fle added the enhancement Improvement of an existing feature label Mar 11, 2021
@cwa-bot cwa-bot bot added this to ToDo in [CM] cwa-app-ios Mar 11, 2021
@Ein-Tim
Copy link
Contributor

Ein-Tim commented Mar 11, 2021

Related Issue: corona-warn-app/cwa-wishlist#334

All issues reg. the contact journal: corona-warn-app/cwa-wishlist#310

@dsarkar dsarkar added the mirrored-to-jira This item is also tracked internally in JIRA label Mar 11, 2021
@cwa-bot cwa-bot bot moved this from ToDo to Mirrored to Jira in [CM] cwa-app-ios Mar 11, 2021
@dsarkar
Copy link
Member

dsarkar commented Mar 11, 2021

@stefan-schoene Thanks for you suggestion.


Internal Tracking ID: EXPOSUREAPP-3034
Internal Tracking ID: EXPOSUREAPP-5495

@cornelius-behrend
Copy link

cornelius-behrend commented Apr 15, 2021

We would like to do this together @m-seidel. Can you please assign us to the issue?

@cwa-bot cwa-bot bot moved this from Mirrored to Jira to ToDo in [CM] cwa-app-ios Apr 15, 2021
@dsarkar
Copy link
Member

dsarkar commented Apr 15, 2021

@cornelius-behrend @m-seidel You would like to provide a PR? If so, I will cross-check with developers.
Thanks. Best wishes, DS


Corona-Warn-App Open Source Team

@cornelius-behrend
Copy link

@dsarkar yes, we would like to add a PR for that if the issue was not already tackled. We would appreciate if you could check it :)

@dsarkar
Copy link
Member

dsarkar commented Apr 15, 2021

@cornelius-behrend @m-seidel OK, I will check if they would be interested in such a PR. However, they might not merge it, at the end, and this can have different reasons, e.g. quality of the code, rejected by the stakeholders, or other reasons. The are PRs from the community that have been merged, but not all of them if there was the need of major changes or quality issues or for other reasons. Stand by, I will com back to you. Thanks.


Corona-Warn-App Open Source Team

@cornelius-behrend
Copy link

@dsarkar thank you! We're doing this as part of the Staffbase hackathon. So either way we learned something or we have contributed to the project which both is fine :)

@ndegendogo
Copy link
Contributor

@cornelius-behrend @m-seidel
nice! Did you implement that for Android, or iOS, or even both?

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Apr 15, 2021

I'm so free and post the link to the branch of @m-seidel & @cornelius-behrend here: https://github.com/m-seidel/cwa-app-ios/tree/feature/2196-add-edit-button-in-contact-diary

Also a huge thanks from my side! Hope that this makes it into the app!

@cornelius-behrend
Copy link

@Ein-Tim Thanks for posting the repo link! :) We're currently focussing on the iOS since we only have 2 days @ndegendogo

@dsarkar
Copy link
Member

dsarkar commented Apr 16, 2021

@ndegendogo @Ein-Tim @cornelius-behrend @m-seidel

Typically the stakeholders insist on feature parity for both OS. However, we will see, if there might be an exception, or if this PR triggers that the feature will be developed also in Android soon.

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Apr 16, 2021

Two comments from my side:

  1. A (new) user could think that the edit button is to remove the person/place for the day, and not from the whole contact diary.
    Thus, I would suggest that the warning which now pops up when you delete a person or a place should definitely also be there. This is something that should be implemented from the beginning on.

  2. We'll see more similar list views in the upcoming CWA version 2.0. The "My Check-Ins" screen (reachable by tapping on "Check In" on the Tab bar) & the "My QR Codes" screen (reachable by tapping on "Create QR Code" on the start screen).
    These views should also have this edit button. This is something that can also be implemented later.

Edit: Just build the branch locally, point 1 is already implemented! Great work @cornelius-behrend @m-seidel!

@dsarkar
Copy link
Member

dsarkar commented Apr 17, 2021

The story is currently described internally the following way:

As a user I would like to use commonly used ways of editing a person or place entry directly.

  • tap and hold on an entry to open a selection to edit or delete
  • swipe to delete
  • add a pencil icon to edit
  • add a bin icon to delete

@heinezen heinezen moved this from ToDo to In Progress in [CM] cwa-app-ios Apr 18, 2021
@cornelius-behrend
Copy link

cornelius-behrend commented Apr 19, 2021

@dsarkar

  • tap and hold on an entry to open a selection to edit or delete
  • swipe to delete
  • add a pencil icon to edit
  • add a bin icon to delete

I think 1 and 3 can be easily added as well. If you decide to have this as a PR, we will finish the task by adding this as well as fixing the remaining bugs and add tests.

This is what we did so far:
Bildschirmfoto 2021-04-19 um 12 35 20

@cwa-bot cwa-bot bot moved this from In Progress to ToDo in [CM] cwa-app-ios Apr 19, 2021
@heinezen heinezen moved this from ToDo to In Progress in [CM] cwa-app-ios Apr 20, 2021
@Ein-Tim
Copy link
Contributor

Ein-Tim commented Apr 28, 2021

@dsarkar @heinezen

Could you give us feedback if the PR from @cornelius-behrend & @m-seidel would be accepted? It would be sad if this opportunity is not taken to get this create enhancement into the app.

@cwa-bot cwa-bot bot moved this from In Progress to ToDo in [CM] cwa-app-ios Apr 28, 2021
@dsarkar
Copy link
Member

dsarkar commented Apr 29, 2021

@Ein-Tim see my latest comment in related issue: corona-warn-app/cwa-wishlist#334. Nothing being worked on currently. As mentioned above, amongst others, stakeholders acceptance, quality of code and maintaining feature parity between Android and iOS are factors in such decisions.

@heinezen
Copy link
Member

heinezen commented Apr 29, 2021

@Ein-Tim @cornelius-behrend @m-seidel

Just to be clear, the dev team would review a community PR for this and will likely merge it if it is accepted and passes the CI checks. Contributions are welcome here. The RKI and other stakeholders might require the same feature for both platforms, but that shouldn't stop anyone from contributing.


Corona-Warn-App Open Source Team

@heinezen heinezen moved this from ToDo to Mirrored to Jira in [CM] cwa-app-ios Apr 29, 2021
@Ein-Tim
Copy link
Contributor

Ein-Tim commented Jun 9, 2021

@cornelius-behrend @m-seidel

Will you follow up with a PR? It would be a pity if these great changes just get lost!

@cwa-bot cwa-bot bot moved this from Mirrored to Jira to ToDo in [CM] cwa-app-ios Jun 9, 2021
@heinezen heinezen moved this from ToDo to Mirrored to Jira in [CM] cwa-app-ios Jun 10, 2021
@heinezen heinezen moved this from Mirrored to Jira to Waiting for Input in [CM] cwa-app-ios Jun 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contact-journal enhancement Improvement of an existing feature mirrored-to-jira This item is also tracked internally in JIRA
Projects
[CM] cwa-app-ios
Waiting for Input
Development

No branches or pull requests

7 participants