-
Notifications
You must be signed in to change notification settings - Fork 24
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 option to edit structured addresses (new) #57
base: master
Are you sure you want to change the base?
Add option to edit structured addresses (new) #57
Conversation
This PR would make Fossify Contacts so much better. I've stayed with Simple Contacts Pro SE, as the structured address feature allows my contacts to integrate very well into my Nextcloud instance. |
@naveensingh What do you think about the feature respectively pull request? |
@stephanritscher Sounds like a good idea but I'm curious, why wasn't this merged in the original Simple Contacts? Note: I'm yet to review this or any other PR. |
Tibbi didn't like having additional options and didn't regard this as important feature. |
This is implemented and works well in Simple Contacts Pro SE. Probably the sooner it is merged, the less issues there would be in the process. |
24d08fb
to
30c4ffe
Compare
@@ -82,6 +89,7 @@ | |||
<string name="phone_numbers">Phone numbers</string> | |||
<string name="emails">Emails</string> | |||
<string name="addresses">Addresses</string> | |||
<string name="structured_addresses">Structured Addresses (edit mode)</string> |
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.
<string name="structured_addresses">Structured Addresses (edit mode)</string> | |
<string name="structured_addresses">Structured addresses</string> |
The (edit mode)
part doesn't seem necessary.
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.
I just wanted to manage the expectation here. The contact view is not influenced by this switch, only the edit mode shows the structured address.
I did some testing and found a few issues:
|
The same issues are in the app of @stephanritscher .
This makes sense to me. If I don't want to see the addresses it doesn't matter what the setting for structured addresses is. Structured addresses is kind of a sub-setting of addresses. Maybe the UI could reflect that. Actually a new feature but related to this one: |
@naveensingh @bege10 Thanks a lot for testing. I didn't come across crashes for a while which shows you know the corner cases of the app much better than me. I will have a look and try to fix the issues. |
b068c6e
to
3f345b1
Compare
Hi, I think I fixed the issues. I also rebased to fossify/master and updated stephanritscher/FossifyCommons accordingly. One thing I noticed when testing is that editing a contact present on multiple accounts with merge option enabled behaves differently (and worse in my setup) than SimpleContacts did. Previously it opened the "main" account (probably the one providing most fields or similar), now FossifyContacts seems to open always a "side" account on my device with barely any contact data - might be the first account, but not lexicographically). Before noticing a different account was opened, I thought I introduced a bug, but I verified the behaviour with the app you published in F-Droid. Was there an intentional change related to this? Best regards, |
Might the "main account" be the "standard account for new contacts" (translated from German) as set in the settings of the AOSP/LineageOS contacts app? I don't find this setting this contacts app.
|
You may have seen this already, but I was looking through the RFC for this partly related feature request, and found that there is mention of address components in the May 2024 extension to the RFC
Perhaps it may be relevant. And, thank you for doing this @stephanritscher . I use Nextcloud too, and had been using your app. |
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Fixes the following issue(s)
Relies on the following changes
Acknowledgement