feat(contacts): search clear (x) + Esc, name/recently-added sort toggle (F089)
UX audit, Contacts surface — search & sort affordances (choice a): - A trailing (x) clears the search box, and Escape clears it while focused. - Cards & List gain a sort toggle (name / recently added) in the toolbar, beside the view switch; Table keeps its own sortable headers. "Recently added" uses storage/append order (newest first). New strings (English). Build + tests green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2048,6 +2048,9 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["contacts_delete_armed_tip"] = "Click again to delete \"%s\" \xE2\x80\x94 cannot be undone";
|
||||
strings_["contacts_avatar_del"] = "Delete this image";
|
||||
strings_["contacts_avatar_del_armed"] = "Click again to permanently delete this image. Contacts using it show the default badge.";
|
||||
strings_["clear_search"] = "Clear search";
|
||||
strings_["contacts_sort_name"] = "Sort: name (click for recently added)";
|
||||
strings_["contacts_sort_recent"] = "Sort: recently added (click for name)";
|
||||
strings_["address_book_count_one"] = "%zu address saved";
|
||||
strings_["address_book_deleted"] = "Entry deleted";
|
||||
strings_["address_book_edit"] = "Edit Address";
|
||||
|
||||
Reference in New Issue
Block a user