Commit Graph

1985 Commits (3e0233ea607aeba48f2deabc3c44a949f9aee60c)

Author SHA1 Message Date
Michael Kirk 1b60716759 Stop worrying about notification order by using delegate pattern
// FREEBIE
7 years ago
Michael Kirk d9d0227ce5 Align search bar to safe area insets
// 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 12c98f4340 cleanup and move to OWSNavigationController
// 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
Michael Kirk 0e87cbe7a5 WIP navbar resize
-[ ] CallScreen
  -[x] functional button
  -[ ] needs design
  -[ ] disable other contact 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
Michael Kirk 91cd1af3f9 Extract ReturnToCallViewController
// FREEBIE
7 years ago
Michael Kirk a7252544b0 WIP: custom navbar
TODO:

Use custom navcontroller everywhere - no more UINavigationController

listen to notification for when call starts/ends and sizeToFit.
7 years ago
Michael Kirk 94323baba8 tmp - mute hides callscreen 7 years ago
Matthew Chen 1343e4bc19 Preserve legacy outgoing message state; special case contact thread messages. 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 c800ae381b Make contact share "bubble/card" reflect share contents. 7 years ago
Matthew Chen f436fc19c2 Make contact share "bubble/card" reflect share contents. 7 years ago
Matthew Chen 2edabdbba4 Sort group members. 7 years ago
Matthew Chen f6106512db Only mark messages read in conversation view if visible. 7 years ago
Michael Kirk c3274f4e7b Fix navbar after using message button in contact card
I removed this earlier - but turns out we still need this strong
reference, even though we're now using willDissapear instead of
didDissappear.

// FREEBIE
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
Matthew Chen 5c7b98e5c4 Improve handling of unregistered users. 7 years ago
Michael Kirk 704a6f55a0 Fix crash after canceling "Add New Contact"
Text of the exception is:
  "Impossible to set up layout with view hierarchy unprepared for constraint"

Since their container view is pinned to the top layout guide, this
should not change the layout.

// FREEBIE
7 years ago
Matthew Chen a26cba3de1 Don't show screen block until app is ready. 7 years ago
Matthew Chen aa4345f9c1 Fix edge cases in home view. 7 years ago
Matthew Chen 3579621db6 Improve logging around home view selection. 7 years ago
Michael Kirk 2cc3eabdb8 quote reply to contact share (no avatar)
// FREEBIE
7 years ago
Matthew Chen c05c1ac879 Always show 'add to contacts' button. 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
Matthew Chen cb7f28ed34 Use dark status bar in contact view. 7 years ago
Matthew Chen 6460493669 Surface organization name in contact view. 7 years ago
Matthew Chen aa7cc4633a Rework contact names. 7 years ago
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
7 years ago
Michael Kirk 95b93115f9 Code formatting
// FREEBIE
7 years ago
Michael Kirk bf37f41164 Move CNContact logic into our system contact adapter
// 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 65a516685d Fix l10n strings. 7 years ago
Matthew Chen b4d24f1c72 Refine field actions in contact view. 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 ad4e4b0c4c return navbar after tapping message/call buttons
// FREEBIE
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 353abfc13e Views presented from ConversationVC must become first responder.
// 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
Matthew Chen 01bfa8dfc4 Apply contact share assets. 7 years ago
Michael Kirk fda5d65674 Avoid crash - reply only works from ConversationVC
// FREEBIE
7 years ago
Michael Kirk 98aa054496 Avoid spurious "Disabled Disappearing Messages"
`dictionaryDidChange` was always true for new records.

// FREEBIE
7 years ago
Matthew Chen bd116f8938 Share contacts from share extension. 7 years ago
Matthew Chen 7f1cbd9277 Respond to CR. 7 years ago
Matthew Chen 3092e4e3f6 Update design of 'approve contact share' view. 7 years ago
Matthew Chen 50c49baca8 Update design of 'approve contact share' view. 7 years ago
Matthew Chen b0c4ad7f63 Apply design changes from Myles. 7 years ago
Matthew Chen 4e07895853 Apply design changes from Myles. 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 eb97e82d19 fixup debug UI 7 years ago
Michael Kirk 5ba5e98260 Show downloaded contact avatar in thread
// FREEBIE
7 years ago
Michael Kirk 48b4791b13 Download avatar attachment stream
// FREEBIE
7 years ago
Matthew Chen 4b6239f491 Fix build breakage. 7 years ago
Matthew Chen ba74e3857a Clean up ahead of PR. 7 years ago
Matthew Chen 2c6f18fa6e Clean up ahead of PR. 7 years ago
Matthew Chen fd93bf677e Clean up ahead of PR. 7 years ago
Matthew Chen 7a9acce504 Add contact share approval view. 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 4fcbfe0e12 Fix merge breakage. 7 years ago
Matthew Chen 1fc401d200 Respond to CR. 7 years ago
Matthew Chen bff6c84403 Clean up ahead of PR. 7 years ago
Matthew Chen b37588fc4c Provide default labels for custom contact fields. 7 years ago
Matthew Chen 72102cd5fa No navigation bar in Contact view, custom back button, fix scrolling. 7 years ago
Matthew Chen 575573ef6b Let users pick recipient id for actions in contact view. 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
Michael Kirk 24f3362df1 ensure expirations started
// FREEBIE
7 years ago
Matthew Chen 390c0bc201 Send fake contact shares. 7 years ago
Matthew Chen c53b2934a8 Send fake contact shares. 7 years ago
Matthew Chen 612df0a026 Send fake contacts. 7 years ago
Matthew Chen 459101c20e Add feature flag for contact sharing. 7 years ago
Michael Kirk b32a1d5076 Fix media page title view on iOS9/10
We must specify the frame of the titleView

Previously the titleView was the stackview, but we don't want to
"stretch" the labels to fit the size of the stack view, so we wrap the
stack view in a container view which becomes the new titleView.

// FREEBIE
7 years ago
Matthew Chen ff6b45abee Respond to CR. 7 years ago
Matthew Chen 1d56d56ca2 Clean up ahead of PR. 7 years ago
Matthew Chen 91d54360ba Add contact view. 7 years ago
Matthew Chen fa5577eece Create 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 d98341697c format debug stats
// FREEBIE
7 years ago
Michael Kirk f782ea97df Use loading screen whenever launch is slow.
Previously we had to manually account for each version that had a DB
change.

// FREEBIE
7 years ago
Michael Kirk 5c0c01dea2 Contact picking
// FREEBIE
7 years ago
Matthew Chen 411d5a3b4f Respond to CR. 7 years ago
Matthew Chen 783bf5b81c Clean up ahead of PR. 7 years ago
Matthew Chen 708b44e3c5 Improve handling of contact display names. 7 years ago
Matthew Chen 7e35a7e7d7 Sketch out rendering of contact shares in conversation view. 7 years ago
Michael Kirk 0ab8fc2772 Proper flip asset
// FREEBIE
7 years ago
Matthew Chen 0316a98eb8 Undo renaming of contactShare property of TSMessage. 7 years ago
Matthew Chen 147368913c Gather all contact conversion logic in OWSContacts. 7 years ago
Matthew Chen 0d8cfc5403 Rename contact share class to contact. 7 years ago
Matthew Chen 757234d309 Populate contact share protos. 7 years ago
Matthew Chen 2a63423c3d Elaborate fake contact shares. 7 years ago
Matthew Chen c854cc3de6 Fix fake contact share message creation. 7 years ago
Matthew Chen 7490a55f61 Sketch out "contact share" model. 7 years ago
Matthew Chen 4b8a2fa8a3 Sketch out "contact share" model. 7 years ago
Matthew Chen 2fe7596e04 Only show archived threads UI if there are archived threads. 7 years ago
Matthew Chen 6ab48cec97 Only show archived threads UI if there are archived threads. 7 years ago
Matthew Chen 2e06ebfe19 Fix system cell layout. 7 years ago
Matthew Chen 371718f72e Fix global reference to 'inbox' home view. 7 years ago
Matthew Chen 45be54f7ac Design polish for the "profile pic in conversation view" and "archived conversations in home view." 7 years ago
Michael Kirk b702695793 cleanup 7 years ago
Michael Kirk 55e19b55b3 Fix layout for iOS9/10
code cleanup

// FREEBIE
7 years ago
Michael Kirk 7a1d24a9ab Avatar updates when contact/profile/group photo changes
// FREEBIE
7 years ago
Michael Kirk b1bff71145 WIP moving to stackview backed header view in conversation view
- iOS10 with large titles doesn't truncate
7 years ago
Michael Kirk 3d766e4cf8 Replace ConversationHeaderView with stack view in Media Gallery
// FREEBIE
7 years ago
Matthew Chen 251ce29a82 Fix dynamic type issues in home view cells. 7 years ago
Matthew Chen 5a42bf0ffb Fix dynamic type issues in home view cells. 7 years ago
Matthew Chen fb0c47aa12 Fix dynamic type issues. 7 years ago
Matthew Chen 204d379603 Respond to CR. 7 years ago
Matthew Chen 55916e84c2 Respond to CR. 7 years ago
Matthew Chen 4de4a4b229 Respond to CR. 7 years ago
Matthew Chen 40ac0daa9a Respond to CR. 7 years ago
Matthew Chen 9275c67818 Rework outgoing message state. 7 years ago
Michael Kirk e5b535ccf1 Implement camera direction toggle
// FREEBIE
7 years ago
Michael Kirk 6a4aff0b9c Add flip camera button (non-functioning)
// FREEBIE
7 years ago
Matthew Chen d7ae6fbbf4 Respond to CR. 7 years ago
Matthew Chen 1d94c2da75 Improve comments. 7 years ago
Matthew Chen 9e1021f1a4 Clean up ahead of PR. 7 years ago
Matthew Chen 17fce2fdd2 Present calls using window manager. 7 years ago
Matthew Chen 7345ab2e4e Add window manager. Move call view to a separate window. 7 years ago
Matthew Chen aa35594ad5 Respond to CR. 7 years ago
Matthew Chen 212891c50d Detect and handle corrupt database views. 7 years ago
Matthew Chen 50a59c907d Detect and handle corrupt database views. 7 years ago
Michael Kirk 0dd12f96e5 scrollbar should be on right edge, while leaving margin between text and
superview

// FREEBIE
7 years ago
Matthew Chen fa9a4c808a Simplify usage of contacts framework. 7 years ago
Matthew Chen 1395a6c37b Respond to CR. 7 years ago
Matthew Chen 21ab670fc9 Clean up ahead of PR. 7 years ago
Matthew Chen fe9a61117c Rework archived conversations mode of home view. 7 years ago
Matthew Chen 9c7e9b795a Rework archived conversations mode of home view. 7 years ago
Matthew Chen af2539f473 Rework archived conversations mode of home view. 7 years ago
Michael Kirk f5e810e82b CR: rename ThreadModel -> ThreadViewModel
// FREEBIE
7 years ago
Michael Kirk 1f63ce02a0 Increase cache, remove dead code, add debug logging
// FREEBIE
7 years ago
Michael Kirk 113cb254d9 fixup cache 7 years ago
Michael Kirk 9c81eb44a1 Replace remaining UI usage of `interaction.description`
// FREEBIE
7 years ago
Michael Kirk 897d4a925b HomeView caches thread models
// FREEBIE
7 years ago
Michael Kirk 5f2b38c50b Introduce Thread view model
// FREEBIE
7 years ago
Michael Kirk 1fb1b5bbe2 WIP unjank home screen
verify `description` isn't used elsewhere (notifications? conversation
view?)

Probably want to remove overzealous asserts for now, but would be good
to work towards leaving them enabled.

// FREEBIE
7 years ago
Matthew Chen 7912598ccb Merge branch 'release/2.24.0' 7 years ago
Michael Kirk 8e56175099 CR: unread badge updates w/ dynamic text change
also renames for clarity

// FREEBIE
7 years ago
Michael Kirk 8ca62a8d44 Align top row by baseline
// FREEBIE
7 years ago
Michael Kirk 743867859f smaller font for date/unread, per updated spec
// FREEBIE
7 years ago
Michael Kirk bba2bcefe2 Grow unread badge into pill
// FREEBIE
7 years ago
Michael Kirk 2bc072fe8e Now that snippet is a bit higher, increase max message cell height
// FREEBIE
7 years ago
Michael Kirk ee4d038d2d Top row baseline and badge to spec
- Single visual baseline for all top row text
- Snippet should not flow under badge, it should stop at it's left edge
- unread font to spec (same as date stamp font, but never bold)

// FREEBIE
7 years ago
Michael Kirk c693beb763 dateTime to spec
read should be gray
unread should be bold and black

// FREEBIE
7 years ago
Michael Kirk 91f4f38c02 snippet to spec (subheading: 15pt)
// FREEBIE
7 years ago
Michael Kirk 5ada961ec7 unread badge to spec (footnote: 13)
// FREEBIE
7 years ago
Michael Kirk eec7678979 Group's meta message defaults to "Delivery"
// FREEBIE
7 years ago
Michael Kirk 0f46834e8d Show "Reconnecting..." on call screen
// FREEBIE
7 years ago
Matthew Chen 2c43d20ee8 Merge tag '2.24.0.9' 7 years ago
Matthew Chen cc42e85bd6 Avoid race condition in call view controller. 7 years ago
Michael Kirk b039fdd276 UI Fix: start with full hourglass on short timer durations
We were positioning relative to "blink" time (2s), rather than delete
time, which means that for 10s timers we were starting as though only 8s
remained.

// FREEBIE
7 years ago
Michael Kirk 754549adf1 Start timer for expiring message based on when read receipt was sent
// FREEBIE
7 years ago
Michael Kirk dfb2a034af Use explicit transactions.
- Start expiration within scope of existing transaction when we're
  already in a transaction

// FREEBIE
7 years ago
Matthew Chen 621d54db17 Revert "Remove usage of ! in call view."
This reverts commit ce197b0ada.
7 years ago
Matthew Chen 943b3f031c Revert "Remove usage of ! in call view."
This reverts commit 699bf0a829.
7 years ago
Matthew Chen 594ddfaec3 Revert "Remove usage of ! in call view."
This reverts commit 3cbd49627a.
7 years ago
Matthew Chen 3cbd49627a Remove usage of ! in call view. 7 years ago
Matthew Chen 699bf0a829 Remove usage of ! in call view. 7 years ago
Matthew Chen ce197b0ada Remove usage of ! in call view. 7 years ago
Matthew Chen a1386eca81 Fix taps in message cells. 7 years ago
Matthew Chen 26f8050da0 Merge tag '2.23.4.2' 7 years ago
Matthew Chen ae61b44a99 Resolve conflict between keyboard and call view. 7 years ago
Matthew Chen 284cc8c265 Apply attachment type assets. 7 years ago
Matthew Chen 146db1984b Apply attachment type assets. 7 years ago
Michael Kirk 64ff4cd660 tap-to-retry failed thumbnail downloads
// FREEBIE
7 years ago
Matthew Chen f6d5b9197c Respond to CR. 7 years ago
Matthew Chen 94e9c72e67 Apply design changes from Myles. 7 years ago
Matthew Chen bb9c1fb23d Apply design changes from Myles. 7 years ago
Matthew Chen 6a69070ce9 Apply design changes from Myles. 7 years ago
Matthew Chen 6831412e44 Respond to CR. 7 years ago
Matthew Chen a5c7bdb987 Don't animate changes to shape layer properties. 7 years ago
Matthew Chen df685da497 Merge remote-tracking branch 'private/hotfix/2.23.3' 7 years ago
Matthew Chen 59a3d736bf Respond to CR. 7 years ago
Matthew Chen d7ae35f72c Streamline usage of quoted message view. 7 years ago
Matthew Chen 195d357370 Streamline usage of quoted message view. 7 years ago
Matthew Chen 9c93099515 Fix incomplete asserts. 7 years ago
Matthew Chen 6caa5b87b6 Add more asserts around thread in SAE. 7 years ago
Matthew Chen 644e78f19d Respond to CR. 7 years ago
Matthew Chen eb400114c2 Fix message details layout in iPhone X. 7 years ago
Matthew Chen 03e6a5dc70 Refine screenlock. 7 years ago
Michael Kirk e554884ab3 Use profile name in quoted messages, fix "multi account" label
// FREEBIE
7 years ago
Michael Kirk 40879ca3e3 Distinguish between quoting yourself and someone else quoting you
// FREEBIE
7 years ago
Michael Kirk 5774e5769d truncate tail for both preview and message bubble
// FREEBIE
7 years ago
Matthew Chen 576f5dee88 Add white background to images in quoted reply view. 7 years ago
Matthew Chen fc2704cf88 Label quoted replies to yourself as such. 7 years ago
Matthew Chen 759b2a332f Respond to CR. 7 years ago
Matthew Chen c6df55b820 Scale home view cells to reflect dynamic type size. 7 years ago
Matthew Chen 3688d57eac Scale home view cells to reflect dynamic type size. 7 years ago
Matthew Chen 543c898dbe Scale home view cells to reflect dynamic type size. 7 years ago
Matthew Chen 25e487fcde Scale home view cells to reflect dynamic type size. 7 years ago
Matthew Chen c3345a4c4e Scale home view cells to reflect dynamic type size. 7 years ago
Matthew Chen ea82419a40 Fix long press on quoted reply. 7 years ago
Matthew Chen 031a1d7325 Fix quoted message overflow. 7 years ago
Matthew Chen ae91b03c71 Add white background to images in conversation view. 7 years ago
Michael Kirk 5320536736 remove WIP comments
// FREEBIE
7 years ago
Michael Kirk 1780973e68 fix image, video, audio interactions in message details
// FREEBIE
7 years ago
Michael Kirk 7abd51838f Move bubble actions to new bubble delegate
// FREEBIE
7 years ago
Matthew Chen f6698501df Revert "Label quoted replies to yourself as such."
This reverts commit 24d7492f61.
7 years ago
Matthew Chen 24d7492f61 Label quoted replies to yourself as such. 7 years ago
Matthew Chen c0578b31fe Clean up ahead of CR. 7 years ago
Matthew Chen 45cb1ec510 Clean up ahead of PR. 7 years ago
Matthew Chen abba24988c Rework how dates are formatted in home view. 7 years ago
Matthew Chen b8f8a3017a Apply design changes to home view. 7 years ago
Michael Kirk 6b6f4f9336 Limit caption length
// FREEBIE
7 years ago
Matthew Chen 9769d482da Respond to CR. 7 years ago
Matthew Chen 76995e4594 Enforce quoted reply edge cases. 7 years ago
Matthew Chen f2b416d800 Respond to CR. 7 years ago
Matthew Chen 8b060a187c Tap on quoted replies. 7 years ago
Matthew Chen 65015e686f Tap on quoted replies. 7 years ago
Matthew Chen ca1f8efdad Move 'never clear' view to proper subfolder. 7 years ago
Fredrik Lillejordet 21e0d1cd3d simplified backgroundColor logic 7 years ago
Fredrik Lillejordet 2f538b9f59 fixed header formatting 7 years ago
Fredrik Lillejordet d16bffe6c1 forget target reference to new class in PR 7 years ago
Fredrik Lillejordet 8984f659f3 Keeps original background color of a subview in during row selection
When a row is selected in UITableView, background colors of all UIView subviews gets changed. This class will prevent that from happening so that the blue dot can remain blue while the row is selected. Description and solution suggestions found in the following link:
https://stackoverflow.com/questions/6745919/uitableviewcell-subview-disappears-when-cell-is-selected/27717607
7 years ago
Matthew Chen e8ad6bad87 Respond to CR. 7 years ago
Matthew Chen ebb89ed1fd Tweak message layout. 7 years ago
Michael Kirk 520dad25bb WIP making OWSQuotedMessageView work with preview
// FREEBIE
7 years ago
Michael Kirk 5287ab8f8c Try 2: no more stack view
// FREEBIE
7 years ago
Fredrik Lillejordet 16014f321a autoresize label in segmentControl to avoid unwanted truncation 7 years ago
Matthew Chen 8fe289feec Tweak design of quoted replies. 7 years ago
Matthew Chen 8c1362b807 Fix small text usage. 7 years ago
Matthew Chen 3799dce822 Respond to CR. 7 years ago
Matthew Chen c106a67a52 Use dynamic type everywhere in conversation view. 7 years ago
Matthew Chen ade2ee7216 Use dynamic type everywhere in conversation view. 7 years ago
Michael Kirk 90486aa49c Inline method with one caller, fix formatting
// FREEBIE
7 years ago
Michael Kirk 941b7ec1bc clarify method signature
// FREEBIE
7 years ago
Michael Kirk c56e8acc51 QuotedReplyModel from SSK->SignalMessaging
// FREEBIE
7 years ago
Michael Kirk 1d4c0624be Clarify variable names
// FREEBIE
7 years ago
Michael Kirk a9459757f0 Lingering var renames QuotedReplyDraft -> QuotedReplyModel
// FREEBIE
7 years ago
Michael Kirk 4399967e99 Comment cleanup, remove unnecessary includes
// FREEBIE
7 years ago
Michael Kirk fa2e1ba89b Fetch thumbnail when not available locally
// FREEBIE
7 years ago
Michael Kirk cb5d3d4f85 Use QuotedReplyModel to access attachment data
This view model loads the attachment when it's build.

// FREEBIE
7 years ago
Michael Kirk 55c6d99d98 populate draft toolbar
// FREEBIE
7 years ago
Michael Kirk 253435b27f extract QuotedReplyDraft model 7 years ago
Michael Kirk 0b8b3b4f16 WIP: towards avatar attachment streams
// FREEBIE
7 years ago
Michael Kirk 53af41fcc6 Reusable UploadOperation based on extracted OWSOperation
// FREEBIE
7 years ago
Matthew Chen 0dfdb8ce88 Elaborate quoted reply variations to include replies with attachments. 7 years ago
Matthew Chen de2dc49126 Elaborate quoted reply variations to include replies with attachments. 7 years ago
Matthew Chen 3ee37bd3f0 Respond to CR. 7 years ago
Matthew Chen 2f2d1f81a8 Clean up ahead of PR. 7 years ago
Matthew Chen cf1a7e01d0 Apply message bubble view to message details view. 7 years ago
Matthew Chen 6830d4e8cb Apply message bubble view to message details view. 7 years ago
Matthew Chen d99a2be005 Apply message bubble view to message details view. 7 years ago
Matthew Chen 316b55bf9d Respond to CR. 7 years ago
Matthew Chen 7067085cdd Extract message bubble view. 7 years ago
Matthew Chen d05b73af28 Extract message bubble view. 7 years ago
Matthew Chen d1060a2a85 Extract message bubble view. 7 years ago
Matthew Chen 7f0fa1228e Extract message bubble view. 7 years ago
Matthew Chen c5d8a7cb38 Clean up ahead of PR. 7 years ago
Matthew Chen f6aa3f89b7 Clean up ahead of PR. 7 years ago
Matthew Chen ca4757b8d1 Clean up ahead of PR. 7 years ago
Matthew Chen 71c5c3a4b7 Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 8a843f70e3 Refine the attachments in the quoted reply view. 7 years ago
Matthew Chen 214e3a9c4d Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 822aa64b14 Respond to CR. 7 years ago
Matthew Chen cac85508cc Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 7e921b7935 Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 08ba3852cd Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 5235f6eee9 Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen d6f3df82ae Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen c70f911f6f Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 6171505657 Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 10b4ade55a Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 3343b4ec58 Refine appearance of quoted reply message cells. 7 years ago
Matthew Chen 5a17c5609f Quote reply to oversize text. 7 years ago
Matthew Chen 9b5db80f23 Respond to CR. 7 years ago
Matthew Chen 9085609087 Fix interaction initializers and tests. 7 years ago
Michael Kirk 51eee90bb7 Remove unnecessary changes
// FREEBIE
7 years ago
Michael Kirk bf401bad90 Send quoted messages
MVP

- [x] populate from menu
- [x] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
7 years ago
Michael Kirk d99054d895 Reply menu item
MVP

- [x] populate from menu
- [] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
7 years ago
Michael Kirk 6874a9e28e Convert to swift
// FREEBIE
7 years ago
Michael Kirk cfbbeca7ac WIP: QuotedMessagePreviewView
MVP

- [] populate from menu
- [] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
7 years ago
Matthew Chen 00a81355d6 Respond to CR. 7 years ago
Matthew Chen 445d38f72a Modify cells to show quoted messages. 7 years ago
Matthew Chen 324afb1152 Modify cells to show quoted messages. 7 years ago
Matthew Chen 5824cbd2a8 Modify cells to show quoted messages. 7 years ago
Matthew Chen 988b6ffae7 Modify cells to show quoted messages. 7 years ago
Matthew Chen f6f98369a6 Modify cells to show quoted messages. 7 years ago
Matthew Chen 22dc904283 Modify cells to show quoted messages. 7 years ago
Matthew Chen 2278cdd589 Modify cells to show quoted messages. 7 years ago
Matthew Chen 7cf169012c Elaborate conversation view items around quoted replies. 7 years ago
Michael Kirk e6b0f692c9 Don't use dynamic text for navbar view
// FREEBIE
7 years ago
Matthew Chen c36297a9ad Elaborate 'quoted reply' variations in the Debug UI. 7 years ago
Matthew Chen 20387f27e6 Simplify bubble edge. 7 years ago
Matthew Chen d5218cf4d9 Simplify bubble edge. 7 years ago
Michael Kirk 00e5e1b0d6 Fixup some tests
// FREEBIE
7 years ago
Michael Kirk 86553b62f9 keyboard pinning vs iPhoneX 7 years ago
Michael Kirk af5f549e49 Fix TableView layout for iPhoneX
// FREEBIE
7 years ago
Michael Kirk f441c6211d Format
// FREEBIE
7 years ago
Michael Kirk 6f1608f44b Conventional naming for out custom PureLayout methods.
This moves methods more in line with PureLayout conventions.

- Methods always specify if they pin to an edge vs margin

- `margin` is a reserved word which should only refer to layout margins.
  i.e. do not use it to refer to "inset" and "offset".

// FREEBIE
7 years ago
Matthew Chen 4240b517d0 Respond to CR. 7 years ago
Matthew Chen fb1f3b5572 Rework quoted reply debug UI. 7 years ago
Matthew Chen 4915c127cb Rework quoted reply debug UI. 7 years ago
Matthew Chen 8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
7 years ago
Matthew Chen 1bea832faa Fix assert in bubble views. 7 years ago
Matthew Chen f98c45603c Respond to CR. 7 years ago
Matthew Chen 31f062ed11 Bubble collapse. 7 years ago
Matthew Chen 12bcf887c1 Bubble collapse. 7 years ago
Matthew Chen 4f9085a761 Bubble collapse. 7 years ago
Matthew Chen 3ca2c08b06 Bubble collapse. 7 years ago
Matthew Chen 578f40d791 Bubble collapse. 7 years ago
Matthew Chen c8012d3891 Bubble collapse. 7 years ago
Matthew Chen 3d07dc7c5b Bubble collapse. 7 years ago
Matthew Chen 643c6385b5 Bubble collapse. 7 years ago
Matthew Chen 8d74c68f9d Bubble collapse. 7 years ago
Matthew Chen 8a74e10208 Bubble collapse. 7 years ago
Matthew Chen e0e8eafb5d Bubble collapse. 7 years ago
Matthew Chen 4a4e9d1ce2 Bubble collapse. 7 years ago
Matthew Chen 11819d9b8a Bubble collapse. 7 years ago
Matthew Chen e1e6606783 Bubble collapse. 7 years ago
Matthew Chen cb00b22870 Bubble collapse. 7 years ago
Matthew Chen 6525ccdb05 Bubble collapse. 7 years ago
Matthew Chen 75177ef00f Bubble collapse. 7 years ago
Matthew Chen d0cddfd22c Elaborate debug UI for messages. 7 years ago
Matthew Chen 3a5ba15d21 Elaborate debug UI for messages. 7 years ago
Matthew Chen 041b28dd79 Elaborate debug UI for messages. 7 years ago
Matthew Chen 469fb2644f Elaborate debug UI for messages. 7 years ago
Matthew Chen 8542a18f33 Elaborate debug UI for messages. 7 years ago
Matthew Chen a130760085 Elaborate debug UI for messages. 7 years ago
Matthew Chen 66a454ce4f Elaborate debug UI for messages. 7 years ago
Matthew Chen e874503f8d Elaborate debug UI for messages. 7 years ago
Matthew Chen 24cc6ec113 Elaborate debug UI for messages. 7 years ago
Matthew Chen c2e31540d7 Elaborate debug UI for messages. 7 years ago
Matthew Chen 68f3334e77 Elaborate debug UI for messages. 7 years ago
Matthew Chen 0dfa9cac7b Elaborate debug UI for messages. 7 years ago
Matthew Chen 61dc2c0249 Add local cache of backup fragment metadata. 7 years ago
Matthew Chen e88f5643f7 Add local cache of backup fragment metadata. 7 years ago
Michael Kirk 425b35a2c1 Crash/UI fix fetching edge case
This could result in either not fetching the remaining data or a crash
depending on the exact shape of your data.

// FREEBIE
7 years ago
Michael Kirk 875321cecc Reflector configuration supports per-country code
Also update reflector hosts/policy

// FREEBIE
7 years ago
Michael Kirk 9adf79c546 Always remove metadata
// FREEBIE
7 years ago
Michael Kirk 1d95cd6977 Improve video scrubbing UX in PageView
// FREEBIE
7 years ago