Commit graph

100 commits

Author SHA1 Message Date
Michael Kirk 1bfe691895 In app notifications for iOS10+
Extract shared notification presention/response

Implement adapters which use that logic for modern UNUserNotification and
legacy UINotifications
2019-02-01 17:44:13 -07:00
Matthew Chen dd506430d9 Fix the input toolbar border. 2019-02-01 17:17:40 -05:00
Matthew Chen f71483a200 Fix input toolbar background in dark mode. 2019-01-31 11:51:53 -05:00
Matthew Chen a222a12fab Fix input toolbar background in dark mode. 2019-01-31 11:50:23 -05:00
Matthew Chen 230612f02f Fix input toolbar background in dark mode. 2019-01-31 10:45:59 -05:00
Matthew Chen 890dfdcc06 Fix reset of 'link preview cancelled' state. 2019-01-29 10:36:54 -05:00
Matthew Chen ccb174120f Tweak conversation input toolbar layout. 2019-01-28 14:44:50 -05:00
Matthew Chen c02d633272 Align draft view of link preview and draft view of quoted reply. 2019-01-25 16:43:16 -05:00
Matthew Chen e4d11eb15f Fix conversation text input background color. 2019-01-25 15:43:42 -05:00
Matthew Chen 957a733838 Yet more link preview refinements. 2019-01-25 11:33:09 -05:00
Matthew Chen 9b33d70d7b Constrain max size of link preview image. 2019-01-24 13:06:22 -05:00
Matthew Chen eb7c6ff441 Respond to CR. 2019-01-23 13:10:25 -05:00
Matthew Chen 9b7ae86a6d Rework layout of conversation input toolbar. 2019-01-23 13:02:52 -05:00
Matthew Chen 6ff6ee2e2e Rework layout of conversation input toolbar. 2019-01-23 13:02:52 -05:00
Matthew Chen 3d757b492a Add link previews to conversation message bubbles. 2019-01-23 09:32:30 -05:00
Matthew Chen ca8a4b3751 Make LinkPreviewView reusable. 2019-01-23 09:27:52 -05:00
Matthew Chen 416aa2b347 Add rough draft of link preview view to composer. 2019-01-23 09:11:13 -05:00
Matthew Chen b8e2cb6267 Respond to CR. 2019-01-15 16:33:54 -05:00
Matthew Chen 18c890bb95 Fix input toolbar margins issue. 2019-01-15 16:30:32 -05:00
Michael Kirk f51416b2d2 save a few ms on send, hoist async dispatch to caller, and use it for clearing draft 2018-12-17 14:44:34 -07:00
Michael Kirk 4b84583de8 reload input bar async 2018-12-13 14:32:27 -07:00
Matthew Chen 2bf0c55ab0 More perf tweaks for conversation view. 2018-12-13 13:32:00 -05:00
Michael Kirk 52e21be656 fix draft scrolling 2018-12-10 10:03:01 -07:00
Michael Kirk c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Michael Kirk 5d9cd86d13 size toolbar WRT draft 2018-09-04 10:38:43 -06:00
Matthew Chen decb0c54ca Theme review. 2018-08-16 17:30:08 -04:00
Michael Kirk 7a0d74c17e Use dark blur for navbar
In the light theme, using the "light" blur allows the bar to seem invisible
when over white content. Similarly for the "dark" blur over black content.
2018-08-10 16:52:55 -06:00
Matthew Chen 48975eaac8 Respond to CR. 2018-07-20 15:37:47 -04:00
Michael Kirk 8da47b64d9 clarify different methods
These method names were too similar to existing methods in PureLayout, which
have slightly different behavior.

ows_autoPinToSuperviewEdges uses left/right, whereas PureLayouts uses
leading/trailing

ows_autoPinToSuperviewMargins uses our own constraint adding logic, which
behaves differently in some cases.
2018-07-16 10:20:05 -06:00
Michael Kirk a2c67bb96b Enhance navbar blur, match input toolbar blur
// FREEBIE
2018-07-13 11:59:47 -06:00
Michael Kirk 0533eb46e3 tweak attachment icon
// FREEBIE
2018-07-05 17:15:40 -06:00
Michael Kirk 83d3f17d44 remove unused code, add comment 2018-07-03 10:18:21 -06:00
Michael Kirk 94a23e63b6 resize bar after send 2018-07-03 10:18:21 -06:00
Michael Kirk 1d0a25dba9 cleanup 2018-07-03 10:18:21 -06:00
Michael Kirk 17f0400bb5 vertically align input toolbar items 2018-07-03 10:18:21 -06:00
Michael Kirk 1a00690b17 Compose to stack view
TODO:

resize after sending
restore actions
add padding
vcenter icons
add new assets
2018-07-03 10:18:21 -06:00
Michael Kirk 7ef693f1b5 pure white blur 2018-07-03 10:18:21 -06:00
Michael Kirk 84d60f5dc4 input toolbar layout tweaks 2018-07-03 10:18:21 -06:00
Michael Kirk ce0c706f71 icon tint 2018-07-03 10:18:21 -06:00
Matthew Chen 05b1b37eab Respond to CR. 2018-07-02 16:35:30 -04:00
Matthew Chen bc527273f2 Fix quoted reply margin. 2018-07-02 16:25:58 -04:00
Matthew Chen 9dd18c46ea Revert "Fix quoted reply margin."
This reverts commit c76c571d87.
2018-07-02 16:11:49 -04:00
Matthew Chen c76c571d87 Fix quoted reply margin. 2018-07-02 16:11:27 -04:00
Matthew Chen 1412998b4a Rework isRTL. 2018-07-02 15:27:24 -04:00
Michael Kirk 33ab3a663c opaque conversation input toolbar 2018-06-29 17:15:35 -06:00
Michael Kirk fd22c6cf20 fix warnings in conversation input toolbar 2018-06-29 16:49:35 -06:00
Michael Kirk 16df4f589e conversation colors
// FREEBIE
2018-06-29 11:52:41 -06:00
Matthew Chen 759b2a332f Respond to CR. 2018-04-11 14:18:09 -04:00
Michael Kirk a9459757f0 Lingering var renames QuotedReplyDraft -> QuotedReplyModel
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk cb5d3d4f85 Use QuotedReplyModel to access attachment data
This view model loads the attachment when it's build.

// FREEBIE
2018-04-09 12:47:56 -04:00