Commit Graph

847 Commits (41e505fb6fb1b9535239f86e887c7d76d73cab6b)

Author SHA1 Message Date
Matthew Chen 35dc348551 Move conversation style. 7 years ago
Matthew Chen f2153f888b Tweak color palette. 7 years ago
Matthew Chen cbc80abff1 Tweak color palette. 7 years ago
Matthew Chen 7634e3a44d Respond to CR. 7 years ago
Matthew Chen ffb1c35383 Clean up ahead of PRs. 7 years ago
Matthew Chen 3beac83a12 Clean up ahead of PRs. 7 years ago
Matthew Chen 416a52b74a Tweak contact shares. 7 years ago
Matthew Chen 3c4d14034b Tweak contact shares. 7 years ago
Matthew Chen dc79d302c6 Tweak audio messages. 7 years ago
Matthew Chen a0b612c64b Tweak generic attachments. 7 years ago
Matthew Chen 774310396c Clean up ahead of PR. 7 years ago
Matthew Chen 5f09080699 Clean up ahead of PR. 7 years ago
Matthew Chen 9cc3a3b7b3 Add body media shadows. 7 years ago
Matthew Chen e9973b2095 Respond to CR. 7 years ago
Matthew Chen 966e6a1156 Tweak sender names. 7 years ago
Matthew Chen c744245c4a Fix corner rounding. 7 years ago
Matthew Chen 227234d8cb Respond to CR. 7 years ago
Matthew Chen dc86bee5d1 Respond to CR. 7 years ago
Matthew Chen 16a1dcfb77 Respond to CR. 7 years ago
Matthew Chen 89523f556b Tweak intra-cell spacing. 7 years ago
Matthew Chen d04ee35216 Respond to CR. 7 years ago
Matthew Chen 4fc24540dc Breaks: unread indicators and date headers. 7 years ago
Matthew Chen a4703cec76 Breaks: unread indicators and date headers. 7 years ago
Matthew Chen 4b60037e35 Breaks: unread indicators and date headers. 7 years ago
Matthew Chen d34e53a163 Breaks: unread indicators and date headers. 7 years ago
Matthew Chen 572fee6173 Respond to CR. 7 years ago
Matthew Chen f5239a4fbd Compact layout / widow reduction. 7 years ago
Matthew Chen 2232c25487 Ensure bubble sizing. 7 years ago
Matthew Chen c7f9575df6 Ensure bubble sizing. 7 years ago
Matthew Chen 3fba101421 Respond to CR. 7 years ago
Matthew Chen 18417edbde Introduce message cell footer view. 7 years ago
Matthew Chen 7d5ad0e165 Introduce message cell footer view. 7 years ago
Matthew Chen 6626e2ecc3 Introduce message cell footer view. 7 years ago
Matthew Chen f363a196f3 Introduce message cell footer view. 7 years ago
Matthew Chen cbacda87ca Introduce message cell footer view. 7 years ago
Matthew Chen 8cfb6eef18 Refine conversation style. 7 years ago
Matthew Chen 33b1628c26 Rename to ConversationStyle. 7 years ago
Matthew Chen a5d52c4203 Clean up ahead of PR. 7 years ago
Matthew Chen 4effa56d50 Tweak 'group sender' avatars. 7 years ago
Matthew Chen a9b6fe5978 Respond to CR. 7 years ago
Matthew Chen fdd6174871 Fix breakage from cell layout changes. 7 years ago
Matthew Chen 990bb81e4a Respond to CR. 7 years ago
Matthew Chen a31bd16d90 Respond to CR. 7 years ago
Matthew Chen 7847db7e1c Tweak text insets to reflect dynamic type. 7 years ago
Matthew Chen 4b5d994c3f Respond to CR. 7 years ago
Matthew Chen fc299b8700 Use UI database connection throughout the conversation cells. 7 years ago
Matthew Chen d40f74dd0b Respond to CR. 7 years ago
Matthew Chen 196d82c17a Respond to CR. 7 years ago
Matthew Chen 53b1ae6a36 Fix gutter constants. 7 years ago
Matthew Chen 0b04397e21 Tweak message cells. 7 years ago
Matthew Chen d425809fa3 Tweak message cells. 7 years ago
Matthew Chen 98ac13f9be Tweak message cells. 7 years ago
Matthew Chen ac6f78a5fc Tweak message cells. 7 years ago
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 7 years ago
Matthew Chen 83f11ad79b Don't cache CNContact. 7 years ago
Matthew Chen 1607aa7f57 Image content types. 7 years ago
Matthew Chen 0b64ecf675 Respond to CR. 7 years ago
Matthew Chen 32336e38e1 Merge tag '2.26.0.26' 7 years ago
Matthew Chen b5a836bf28 Shared ui db connection v. auto load more. 7 years ago
Matthew Chen f8e785ef72 Merge tag '2.26.0.25' 7 years ago
Michael Kirk a91b6b35e2 update UI DB to latest before showing CVC
// FREEBIE
7 years ago
Michael Kirk 0cf751d34f Newly added group members should have expire time
Send expire timer with group info updates and in group updates that add a user.
7 years ago
Matthew Chen 95ac17bb7e Merge tag '2.26.0.24' 7 years ago
Michael Kirk 0dec029a69 Don't mark as read when callscreen is active
// FREEBIE
7 years ago
Matthew Chen 44b23d44fd Respond to CR. 7 years ago
Matthew Chen 999e8c8e31 Respond to CR. 7 years ago
Matthew Chen 13e9f11b4e Open message search results. 7 years ago
Matthew Chen 27b6a5e5bb Open message search results. 7 years ago
Matthew Chen bb266d03e4 Preserve default scroll state until conversation view is presented. 7 years ago
Matthew Chen 19c9e226fb Respond to CR. 7 years ago
Matthew Chen 3964b78ff7 Reduce usage of JSQ. 7 years ago
Matthew Chen 833f6ad51d Skip missing and invalid interactions in conversation view. 7 years ago
Matthew Chen 2c0ba1cbd9 Skip missing and invalid interactions in conversation view. 7 years ago
Matthew Chen 6bc145ce3a Fix more build warnings. 7 years ago
Michael Kirk 9aafd89979 Remove unused synthesized ivars
// FREEBIE
7 years ago
Michael Kirk ae1d82be84 Fix: input toolbar disappears when tapping media while edit menu is
present

// FREEBIE
7 years ago
Michael Kirk e6c659d0ff remove incorrect comment 7 years ago
Michael Kirk 6e6a7446d0 Use global readWrite connection
// FREEBIE
7 years ago
Michael Kirk 468f7524ef Revert "separate read/write db connections"
This reverts commit 3e61741060e6a7c2a9891b46cf3abd567d33aa3a.
7 years ago
Michael Kirk 00f8ea4ff8 Use a single ui connection to share cache.
Primarly two things:
1. using an extension for the first time per connection is slow
2. fetching the same objects (e.g. if you leave/re-enter the same
conversation)

// FREEBIE
7 years ago
Michael Kirk ddd39fcd3d separate read/write db connections
// FREEBIE
7 years ago
Michael Kirk d9172cccb9 Measure time to display
// FREEBIE
7 years ago
Matthew Chen 879b9d4c72 Respond to CR. 7 years ago
Matthew Chen 9a08afae28 Fix build warnings. 7 years ago
Matthew Chen 3cd6a33aa6 Fix build warnings. 7 years ago
Matthew Chen 5ed22ada7b Respond to CR. 7 years ago
Matthew Chen e4f7995e4d Ensure conversation view is first responder before presenting another view. 7 years ago
Matthew Chen 23e2d971e4 Handle layout of long group name labels. 7 years ago
Matthew Chen 9ee572fb24 Respond to CR. 7 years ago
Matthew Chen fefc9843b1 Modify views to observe changes when active, not just foreground. 7 years ago
Matthew Chen 812210a63c Modify views to observe changes when active, not just foreground. 7 years ago
Michael Kirk aa0a31c25e Reduce viewWillAppear by ~5% by optimizing loadForTextDisplay
// FREEBIE
7 years ago
Michael Kirk 97324eaae1 Load less messages initially
// FREEBIE
7 years ago
Matthew Chen 4f520646cc Avoid double layout in conversation view; but carefully. 7 years ago
Michael Kirk 273063e0aa ConversationView first load avoids redundant layout
We are laying out the collection view, invalidating the layout, and then
laying out the collection view again on first appearance of the
conversation view. This is quite expensive - removing it shaves off
about 30% of load time.

// FREEBIE
7 years ago
Matthew Chen f63d25a172 Migrate to Swift 4. 7 years ago
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 7 years ago
Matthew Chen 5f593bd736 Revert "Add temporary verbose logging around message creation."
This reverts commit f26ad5cd34.
7 years ago
Matthew Chen 0aa8306036 Revert "Add temporary verbose logging around message creation."
This reverts commit 5b0d806a6d.
7 years ago
Matthew Chen 5b0d806a6d Add temporary verbose logging around message creation. 7 years ago
Matthew Chen f26ad5cd34 Add temporary verbose logging around message creation. 7 years ago
Michael Kirk 2709a91b5e Fixup attachment approval vis-a-vis call banner
// FREEBIE
7 years ago
Michael Kirk 1b60716759 Stop worrying about notification order by using delegate pattern
// FREEBIE
7 years ago
Michael Kirk 29d08545e2 Use OWSNavigationController instead of UINavigationController
- [ ] document picker
- [ ] camera picker
- [ ] image picker
- [ ] restore "confirm to go back" behavior (interactive pop gesture?)

// FREEBIE
7 years ago
Michael Kirk 33eb4c38cd Centralize translucency configuration
// FREEBIE
7 years ago
Michael Kirk a2b1793262 initial render is wrong, but settles somewhere nice
-[x] fix initial placement
-[x] add additional top safe area?

// FREEBIE
7 years ago
Michael Kirk 3a9391f4fb notes on what didn't work 7 years ago
Michael Kirk 4dbd14ac41 WIP navbar resize
-[ ] CallScreen
  -[x] functional button
  -[ ] needs design
  -[x] disable conversation view call buttons while in call
-[ ] iOS11
  -[x] resize nav content
  -[ ] background showing at top of all vc's
  -[] iPhoneX
    -[x] use differently sized banner for now
    -[] mimic X system design
-[ ] iOS10
  -[x] resize nav content
  -[ ] animation glitch while push/pop
-[ ] iOS9

// FREEBIE
7 years ago
Matthew Chen e2d9c1187a Fix "group avatar doesn't update after local change." 7 years ago
Matthew Chen 692d0a7579 Don't mark messages as read if conversation view isn't 100% visible. 7 years ago
Matthew Chen 78de7a10f7 Don't mark messages as read if conversation view isn't 100% visible. 7 years ago
Matthew Chen db1c8fd9f3 Respond to CR. 7 years ago
Matthew Chen f436fc19c2 Make contact share "bubble/card" reflect share contents. 7 years ago
Matthew Chen f6106512db Only mark messages read in conversation view if visible. 7 years ago
Michael Kirk 30cef1f084 start readtimer whenever we become active
// FREEBIE
7 years ago
Michael Kirk 117d7319d2 Add contact modally and restore navbar style when dismssing contacts
// FREEBIE
7 years ago
Michael Kirk 2cc3eabdb8 quote reply to contact share (no avatar)
// FREEBIE
7 years ago
Matthew Chen acdc51ba3d Respond to CR. 7 years ago
Matthew Chen 37b8b368a6 Show "share contact" flow in single presented navigation controller. 7 years ago
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
7 years ago
Michael Kirk 0c469764f1 re-use contact picker for "add to existing"
Required refactor of contact picker to be presented non-modally.

TODO: merge emails, address, display names

// FREEBIE
7 years ago
Michael Kirk 609746abec clarify naming
// FREEBIE
7 years ago
Matthew Chen 4079cdb600 Apply more contact share assets. 7 years ago
Matthew Chen ff3524fb00 Improve contact share message bubble layout with large dynamic type sizes. 7 years ago
Michael Kirk 42109593af Remove `fromViewController` state from ContactShareViewHelper
// FREEBIE
7 years ago
Michael Kirk 77bbbad70c Remove `contactShare` state from ContactShareViewHelper
// FREEBIE
7 years ago
Matthew Chen c2adf624ea Respond to CR. 7 years ago
Matthew Chen 44ceee5849 Add contact share actions to conversation view and improve phone number parsing. 7 years ago
Michael Kirk 7e22d9e900 Prevent input toolbar from appearing over camera view, contact view or actionsheet
// FREEBIE
7 years ago
Michael Kirk 41aa7eafe3 makeKeyAndVisible restores first responder, so no need to track it
ourselves.

This isn't *quite* as nice for the case when we want to restore a
textfield that was active before, but it much more simply covers the
more important case that we restore input accessory views after
backgrounding/foregrounding.

// FREEBIE
7 years ago
Michael Kirk fda5d65674 Avoid crash - reply only works from ConversationVC
// FREEBIE
7 years ago
Matthew Chen bd116f8938 Share contacts from share extension. 7 years ago
Matthew Chen 5f1941f6aa Apply design changes from Myles. 7 years ago
Michael Kirk a10ae1835e respond to code review
// FREEBIE
7 years ago
Michael Kirk 45f91ead44 Use actual avatar in ContactViewController
// FREEBIE
7 years ago
Michael Kirk 77fc5571fb Implement avatar sending
// FREEBIE
7 years ago
Michael Kirk 5ba5e98260 Show downloaded contact avatar in thread
// FREEBIE
7 years ago
Matthew Chen fd93bf677e Clean up ahead of PR. 7 years ago
Matthew Chen 6e18d84a10 Add contact share approval view. 7 years ago
Matthew Chen 0c745dd989 Add contact share approval view. 7 years ago
Matthew Chen 1fc401d200 Respond to CR. 7 years ago
Matthew Chen 1a1a043b27 Format phone numbers of contacts. 7 years ago
Matthew Chen dcf7a05986 Use default avatars for contact shares in contact view. 7 years ago
Matthew Chen 66989b8db7 Use default avatars for contact shares in conversation view. 7 years ago
Matthew Chen 459101c20e Add feature flag for contact sharing. 7 years ago
Matthew Chen ff6b45abee Respond to CR. 7 years ago
Matthew Chen 91d54360ba Add contact view. 7 years ago
Matthew Chen 2738bcbc58 Create contact view. 7 years ago
Michael Kirk e604437e24 Don't become first responder while presenting
// FREEBIE
7 years ago
Michael Kirk 5c0c01dea2 Contact picking
// FREEBIE
7 years ago