Pin favorited contacts to the top of the contacts list#420
Pin favorited contacts to the top of the contacts list#420ChristofferRS wants to merge 1 commit into
Conversation
|
Thank you for helping out! Can you please review the contribution guide? Features should be discussed before submission. This should be a configurable setting and include localizations. I will mark it as draft, please change it back when ready. |
@446564 i apologies. I was a bit to quick to make the PR 😅 Would you like me to open an issue now or just implement the features as you proposed then below:
|
|
you can just go ahead with the changes, and checkout the doc re: formatting. Basically just run |
8b09d1a to
da8d49e
Compare
|
@446564 I have addressed your feedback:
Screenshots below for reference: Settigns Page
Default behavior (no favorites)
Favorites section with groups
Favorites section on contacts screen all
|
446564
left a comment
There was a problem hiding this comment.
nice work
i could go either way on the location of the setting, if that's as is in app settings or a checkbox in the contact list filter menu
|
just check the failed dart analyze for nit pick about fence blocks with if statements |
b14b2b2 to
94f7837
Compare
I was also on the fence on where to put it but in the end i decided that app settings might be marginaly more intuitive, but honestly i am also not sure. I am happy to move if needed. I think the analyze issue should be fixed now, with a bit of additional git gymnastics to resolve a merge conflict and keep it at 1 commit 🙂 |
Adds a configurable setting to group favorited contacts under a Favorites header, with remaining contacts under All Contacts. Includes l10n strings and falls back to existing behavior when no favorites exist.
94f7837 to
1337a4c
Compare




When you have a large number of contacts, it's usually nice to have favorited contacts appear at the top of the contacts page. You can already filter the list to show only favorites, but having your personal repeater (or similar) always pinned at the top is a small usability win.
Changes
Favorited contacts are grouped at the top under a "Favorites" header, with the rest under "All Contacts".
When there are no favorites, the list renders exactly as before — no headers.
Existing sort, filter, search, and group selection all still apply within each section.
Section headers are hardcoded English for now. But i am happy to localize via context.l10n in this PR or as a follow-up.