Commit graph

152 commits

Author SHA1 Message Date
Michael Kirk
4765ed9a06 Color picker
TODO

-[x] tap to select/deselect
-[x] initially selected
-[x] integrate into conversation settings
-[x] colorPickerDelegate
-[x] translate strings
-[] reorder colors
-[x] SheetView: add top handle

Nice to have:

-[] SheetView: interactively swipe/unswipe to dismiss?
-[] preview color in bubbles
2018-09-27 13:34:23 -06:00
Matthew Chen
2b75c4034d Pull out OWSConversationColor to its own file. 2018-09-27 12:24:14 -04:00
Matthew Chen
5a99cd347f Pull out OWSConversationColor to its own file. 2018-09-27 12:24:14 -04:00
Matthew Chen
857cdf4368 Map the legacy conversation color names. 2018-09-27 11:26:21 -04:00
Matthew Chen
6d14a1b472 Local profile default avatars should use steel background. 2018-09-27 11:24:20 -04:00
Matthew Chen
6715e3d1ad Respond to CR. 2018-09-27 09:28:16 -04:00
Matthew Chen
b20cd57383 Rename OWSConversationColor. 2018-09-27 09:15:15 -04:00
Matthew Chen
b3ad6e27dc Rework conversation message bubble colors; add "conversation colors" class. 2018-09-27 09:07:47 -04:00
Matthew Chen
26a2d568de Add "conversation color mode" enum. 2018-09-27 09:07:47 -04:00
Matthew Chen
e5150267c2 Rework the conversation color constants. 2018-09-27 09:07:47 -04:00
Matthew Chen
25d56b30c1 Rework group avatars to reflect conversation colors. 2018-09-27 08:55:20 -04:00
Matthew Chen
ae84528dc3 Update avatar colors; add shaded conversation color constants, modify color picker to be color-name-based, not color-based, use shaded conversation colors, remove JSQ. 2018-09-25 16:11:37 -04:00
Matthew Chen
6a712366ae Tweak gray 95. 2018-09-20 10:15:09 -04:00
Matthew Chen
922c505559 Respond to CR. 2018-09-20 10:14:20 -04:00
Matthew Chen
ef6689410b Design feedback from Myles. 2018-09-20 10:14:20 -04:00
Matthew Chen
8cf5f3e58f New grayscale palette. 2018-09-20 10:14:20 -04:00
Michael Kirk
21e67e9a1d New resolutions for call banner, rename to accommodate multiple X devices.
Only apply work-around to legacy versions where required.
2018-09-19 11:17:40 -06:00
Michael Kirk
920a82564f Merge tag '2.29.3.3' 2018-09-15 09:17:08 -05:00
Michael Kirk
e7f9598e68 disable dark theme switch for production 2018-09-14 17:45:32 -05:00
Matthew Chen
9b94580dae Update assertions.
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
2018-09-14 14:30:06 -04:00
Michael Kirk
c0991fce74 enable dark theme for beta 2018-09-12 19:21:14 -05:00
Michael Kirk
5bafc7b6d6 Don't allow enabling dark theme in production yet 2018-09-07 16:36:24 -06:00
Matthew Chen
f9eab5cd24 Merge remote-tracking branch 'origin/release/2.29.2' 2018-09-07 15:27:50 -04: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
d6f856a626 fixup: Leave theme enabled if ever enabled 2018-08-31 16:58:28 -06:00
Michael Kirk
4e19a79436 Leave theme enabled if ever enabled 2018-08-31 16:55:23 -06:00
Michael Kirk
64dd7c79ed enable dark theme for beta 2018-08-31 16:54:12 -06:00
Matthew Chen
f473f60111 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen
cc5a480baa Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen
3a50377902 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen
713606271c Rename fail macros in Obj-C. 2018-08-27 10:29:51 -04:00
Matthew Chen
5b50e81b4f Rename fail macros in Swift. 2018-08-27 10:27:48 -04:00
Matthew Chen
cf6f3841a8 Apply new Swift logging. 2018-08-27 10:02:28 -04:00
Michael Kirk
1a92f414eb Revert "Disable dark theme in production."
This reverts commit 472a92a1a3.
2018-08-24 16:22:28 -06:00
Michael Kirk
1d2590fa12 Merge tag '2.29.0.17' 2018-08-24 16:22:07 -06:00
Matthew Chen
cb827169fb Respond to CR. 2018-08-22 16:30:12 -04:00
Matthew Chen
472a92a1a3 Disable dark theme in production. 2018-08-22 16:07:09 -04:00
Michael Kirk
75bb9b60db Alternative dark theme search bar
Rather than our custom class, we can get pretty far using existing UISearchBar
styling, and then apply the final tweak, the search bar text field background
color by traversing the view.

This fixes a couple issues:

1. There was a small wavering in height of the custom search bar
2. When your table header view is a UISearchBar you get nice scroll "snapping"
   when showing/hiding the search bar.
2018-08-22 12:00:44 -06:00
Michael Kirk
e435358bfd Revert "Add custom themed search bar."
This reverts commit 8daaef22da.
2018-08-22 12:00:44 -06:00
Michael Kirk
b80d88c824 theme attachment approval keyboard
// FREEBIE
2018-08-20 12:26:48 -06:00
Matthew Chen
8daaef22da Add custom themed search bar. 2018-08-17 12:43:35 -04:00
Matthew Chen
d62e07d6f1 Theme review. 2018-08-16 17:30:08 -04:00
Matthew Chen
4ea5d9b849 Theme review. 2018-08-16 17:30:07 -04:00
Matthew Chen
a76d488e8b Fix QA issues in theme. 2018-08-15 17:09:59 -04:00
Michael Kirk
71cb90b575 Avoid incremental theme-redraws
IMO this feels more impressive
2018-08-10 17:00:35 -06:00
Michael Kirk
8829cdfb4b Toast view when tapped message doesn't exist, mark remotely sourced. 2018-08-10 16:55:54 -06: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
Michael Kirk
ebd2e6d5ac Tweak theme 2018-08-09 16:43:25 -06:00
Michael Kirk
c05700fd98 Log in OWSFail
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
2018-08-09 15:30:19 -06:00
Matthew Chen
3fc3425605 Theme search bars. 2018-08-09 14:02:29 -04:00