-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Contacts selection feature improvements (Sort, Search) RFE #318
Comments
I will implement each one of these on separate PR as I have time (some are easier than others to implement) |
Regarding save button, we should also think how it fits when we implement search. Another common UX pattern these days instead of save button is to use an undo button. May be a Snackbar with "Undo" action? Just putting some points forward but lets do whatever is easy for now and we can iterate on it in the future 😊 |
Thinking about this more, only actions that need confirmation in the contacts selector UI are "Select All" and "Select None". So we can have confirmation dialog for those. |
So you suggest saving the contact list immediately after every change? |
Yes, we can save the contact list immediately except for "Select All" and "Select None" where we show a confirmation dialog when the user clicks on them. |
We can do whatever is easy for now but just logging thoughts for the future. Adding a confirmation dialog while going back as you suggested might do for now. |
Shouldn't be difficult to implement. We can move the methods to save the configuration changes to the recycler view adapter, so we can call the methods from both the adapter and ContactHelper, and then simply save the configuration when a checkbox is selected. We also implement a method to create a "checkpoint" whenever the select all or none buttons are pressed, so we can show the undo option. |
Hey, I am new to this world and would love to contribute wherever I can, if you dont't mind can I pick the search functionality for contact selector? |
It's perfectly fine for me. However, I would recommend you to wait for the custom string options to be implemented, so you don't have to rewrite the search functionality again. I'm planning to implement it this weekend, though I could try to do it sooner if needed. |
@releyannu As the custom contacts feature is now implemented, feel free to implement the search feature. If you have any question don't hesitate to ask me! |
Hey @adeekshith , I was reading the telegram discussion on the latest release and thought of a new feature, which is allowing users to enable contact based reply without enabling contact permission (now that we support custom strings, it's not strictly necessary). What do you think? |
Sounds good! We can instead have a button in the Contact selector UI to enable system access permission (better ideas welcome). |
I think of two options
Let me think which one you like the most, I personally like the first one better. |
Also, another think we can do, unrelated to this, is read the contact names as well as it's numbers, to allow contact filtering for users that don't allow WhatsApp the read contacts permission (saw a user saying this on the telegram discussion as well). |
First one is good but we should provide a UI where users can enable contacts access later. |
Yeah right! That would be awesome. Actually I didnt think about this too until the user mentioned 😃 Possible issue we need to look for with number matching is the country codes and number formatting. Users may save the number as "2170990999" but WhatsApp notificattion may show it as "+1 217-099-0999" or "+1 (217) 099 0999". Did not check it myself but just a possible issue. |
You are right. Looks like it will be difficult, it will be very hard to be 100% accurate, because of spaces, country codes, etc. Maybe the easiest way would be to remove spaces, "-" and other symbols if any, and if there's no country code stored in the contact, assume it's correct. |
Hey @releyannu Are you still up to implementing the search feature? You can go ahead whenever you want, or just tell us if you are too busy or not interested anymore so we can pick it up! Thanks! |
We now have contacts exclusion/inclusion feature, thanks to @hegocre. Here are some improvements I had in mind:
Feel free to comment how you 👍/👎 each of these and suggest improvements.
Can create separate issue for each of the above and link them here when we are working on these.
The text was updated successfully, but these errors were encountered: