Commit Graph

55 Commits

Author SHA1 Message Date
Matthew Chen 282ac4bb29 Add “share profile” row to conversation settings.
// FREEBIE
2017-08-02 10:50:44 -04:00
Michael Kirk 742f8cf902 Avoid unnecessariy flashing avatars
Make avatar building sync

Tests on a iPhone5 with 1k threads, 3k contacts show no noticeable lag.

Profiling shows ~4% of usage goes to contact avatar building, but once
cached, even that goes towards zero.

// FREEBIE
2017-08-01 12:07:54 -04:00
Matthew Chen c1139a3a28 Fix many leaks in the view controllers.
// FREEBIE
2017-07-26 11:59:00 -04:00
Matthew Chen 14621e1288 Respond to CR.
// FREEBIE
2017-07-21 14:49:24 -04:00
Matthew Chen c799e18c74 Adapt voice messages UI to RTL.
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen 8005cf0227 Adapt conversation settings view to RTL.
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen 693e74e868 Adapt conversation settings view to RTL.
// FREEBIE
2017-07-21 14:49:12 -04:00
Michael Kirk 46ddaa9cae fix: unregistered user shows "add to contacts"
// FREEBIE
2017-07-19 09:44:33 -04:00
Michael Kirk 1c9ce5eaf3 CR: Don't just build, but present, alert controller
// FREEBIE
2017-07-19 09:39:50 -04:00
Michael Kirk 5c66e5584c Adding to existing contact requires contact access
Previously we'd show an empty "list" of existing contacts.

// FREEBIE
2017-07-19 09:38:48 -04:00
Matthew Chen 81a4ebdaf5 Apply OWSTableViewController to more views.
// FREEBIE
2017-07-19 09:34:55 -04:00
Matthew Chen b7c2512eac Respond to CR.
// FREEBIE
2017-07-12 13:47:29 -04:00
Matthew Chen 81555d1225 Add “new contact” and “add to existing contact” buttons in 1:1 conversation settings view.
// FREEBIE
2017-07-12 13:18:14 -04:00
Matthew Chen 90c4ba27bf Respond to post-holiday code reviews.
// FREEBIE
2017-06-17 13:38:19 -04:00
Matthew Chen 935244843e Tweak verification UI.
* Add “tap for options” to verification banner copy.
* Add close button to banners.
* Always use shield icon for verification row in conversation settings view.
* Add action sheet to verification banner.

// FREEBIE
2017-06-12 15:51:21 -04:00
Matthew Chen b68b188379 Use shield instead of checkmark in conversation settings view when users is not verified.
// FREEBIE
2017-06-10 14:00:56 -04:00
Matthew Chen 7da28bd5dc Multiple refinements around verification.
* Check for identity key before presenting fingerprint view.
* Show verification state in a separate subtitle in conversation view.
* Let users verify from group members view.

// FREEBIE
2017-06-09 16:58:00 -04:00
Matthew Chen 11ca51c95f Show verification state banner. Show verification state in conversation settings view.
// FREEBIE
2017-06-09 16:21:59 -04:00
Matthew Chen 471e307ecc Use checkmark to indicate verification status in conversation view header subtitle, fingerprint view, and in conversation settings row icon.
// FREEBIE
2017-06-09 13:12:33 -04:00
Matthew Chen 58ebebc97f Move QR code scanning to a separate view.
// FREEBIE
2017-06-09 07:48:48 -04:00
Matthew Chen fe0ddb53d2 Clean up ahead of PR.
// FREEBIE
2017-06-08 15:34:54 -04:00
Matthew Chen 3508feaec3 Convert FingerprintViewController to programmatic layout.
// FREEBIE
2017-06-08 14:55:26 -04:00
Matthew Chen bc63a72c25 Add verification state change messages.
// FREEBIE
2017-06-08 10:44:23 -04:00
Matthew Chen 301c8c51a1 Clean up ahead of PR.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen efa40dbdb7 Rework icons in conversation settings view.
// FREEBIE
2017-06-06 10:15:56 -04:00
Michael Kirk 9a2f218bf3 show SN confirmation before adding to group
* Extract SN confirmation dialog

// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk 52aa8a3744 require explicit avatar diameter
This will help us get crisper text in our generated avatars.

// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk b11f8affa7 Use AvatarImageView
Conistently apply avatar style

* contact picker
* conversation settings
* home view

// FREEBIE
2017-05-30 13:07:34 -07:00
Matthew Chen eeb510b903 Respond to CR.
// FREEBIE
2017-05-24 09:33:17 -04:00
Michael Kirk 14b6294d6f code cleanup pre CR
// FREEBIE
2017-05-18 10:05:39 -04:00
Michael Kirk 4adaaa605f Hide contact editing features on iOS8
// FREEBIE
2017-05-18 10:05:39 -04:00
Matthew Chen 9dc1847ca9 Change conversation settings buttons to gray.
// FREEBIE
2017-05-16 16:40:40 -04:00
Michael Kirk abcc510341 "Conversation Settings" -> "Contact/Group Info"
Clearer heading

// FREEBIE
2017-05-12 16:26:32 -04:00
Matthew Chen b316e18cfa Ensure contact delegate helper is set during initialization.
// FREEBIE
2017-05-12 11:42:38 -04:00
Michael Kirk 737a5932c0 tapping contact label shows contact edit view
// FREEBIE
2017-05-10 12:07:14 -04:00
Michael Kirk bd343f6971 clean up some animations
// FREEBIE
2017-05-10 12:02:14 -04:00
Michael Kirk 9dc9813dea fix layout for long named contacts
// FREEBIE
2017-05-10 10:32:41 -04:00
Michael Kirk 3754b6f264 Edit 1:1 contact details
// FREEBIE
2017-05-10 10:32:41 -04:00
Matthew Chen 26f69b0063 Respond to CR.
// FREEBIE
2017-05-02 12:30:53 -04:00
Matthew Chen 2bec1db541 Respond to CR.
// FREEBIE
2017-05-02 10:54:07 -04:00
Matthew Chen da7dd1b128 Clean up debug scaffolding.
// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen 61f59067b6 Improve contact-related views.
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.

// FREEBIE
2017-05-02 09:28:02 -04:00
Matthew Chen 1acb2d7493 Respond to CR.
// FREEBIE
2017-04-21 17:03:18 -04:00
Matthew Chen 9779527cf2 Let users edit group name and avatar by tapping on them in group settings view.
// FREEBIE
2017-04-21 17:00:14 -04:00
Matthew Chen b2dd458f12 Fix “muted until” date format.
// FREEBIE
2017-04-19 11:55:00 -04:00
Matthew Chen 06f9affc01 Fix segues in conversation settings view.
// FREEBIE
2017-04-19 11:04:25 -04:00
Matthew Chen 499c8d0bc1 Add muting of threads.
// FREEBIE
2017-04-19 09:57:12 -04:00
Matthew Chen c8466912f0 Add muting of threads.
// FREEBIE
2017-04-19 09:57:12 -04:00
Matthew Chen cc766bcc53 Rework outgoing message state.
// FREEBIE
2017-04-17 18:05:47 -04:00
Matthew Chen 0a8c9e5622 Respond to CR.
// FREEBIE
2017-04-11 18:04:44 -04:00