Commit Graph

6532 Commits

Author SHA1 Message Date
Nora Trapp
a1e091c649 Add badge thank you sheet 2021-11-16 11:40:40 -08:00
Michelle Linington
9c89e8c374 Fix dark mode transition bug 2021-11-16 09:55:58 -08:00
Michelle Linington
317bb40771 Lint 2021-11-16 09:55:58 -08:00
Michelle Linington
c87ec0e5d8 Minor cleanup 2021-11-16 09:55:58 -08:00
Michelle Linington
94c05bad09 Actually persist badge settings
- Augment profile settings to actually record the user's badge
  preferences
- Save these changes to the profile endpoint
2021-11-16 09:55:58 -08:00
Eugene Bistolas
8765108a1e [Badging] Durable redemption job pending/failure UI 2021-11-16 09:50:35 -08:00
Matthew Chen
6d692e264a Do not bold timestamp for unread state. 2021-11-16 09:48:14 -08:00
Matthew Chen
9384bc8200 Chat list changes for badges. 2021-11-16 09:48:14 -08:00
Matthew Chen
443f5a3921 Chat list changes for badges. 2021-11-16 09:48:14 -08:00
Eugene Bistolas
73dec1860e [Badging] Cancel subscription setup / upgrade process if user cancels ApplePay 2021-11-15 12:49:39 -10:00
Eugene Bistolas
78cb9352c3 [Badging] Durable receiptCredential fetch and redemption 2021-11-15 12:47:35 -10:00
Nora Trapp
38c4cd70b0 Add boost sheet flow 2021-11-15 13:24:58 -08:00
Nora Trapp
095b54d13d Add boost view controller 2021-11-15 13:24:58 -08:00
Nora Trapp
e14b19e3db Hookup rudimentary plumbing for boost 2021-11-15 13:24:58 -08:00
Michelle Linington
46b688dd35 Further updates to avatar badges:
- Design speced out explicit offsets for 24pt and 112pt avatars
- We won't show badges in call views

Also fixes a couple bugs:
- Incorrect interpolation of interstitial badge sizes
- We should badge conversation headers and typing indicators
2021-11-15 12:39:41 -08:00
Matthew Chen
48677fb78f Improved logging around dropped profile avatars. 2021-11-12 09:41:27 -03:00
Michelle Linington
588d42a7a8 Lint 2021-11-11 20:18:30 -08:00
Michelle Linington
93b6105683 PR Feedback: Drop avatar fetch from badge snapshot request 2021-11-11 20:18:30 -08:00
Michelle Linington
f723cedb89 Badges avatars with custom diameters
- We now lerp the badge sprite to the closest design spec available
- Also enables badges on internal builds
2021-11-11 20:18:30 -08:00
Nora Trapp
7ecb98e935 PR Feedback 2021-11-10 11:16:52 -08:00
Nora Trapp
160e42cab2 Don't allow image selection while scrolling 2021-11-10 11:10:18 -08:00
Nora Trapp
b913d76e8b Fix theme changes on search results 2021-11-10 11:10:18 -08:00
Nora Trapp
988ea77e42 Fix double tap zoom in/out animation 2021-11-10 11:10:18 -08:00
Eugene Bistolas
b3d1bdefd1 [Donor Badges] Current subscriber UI 2021-11-09 18:29:55 -10:00
Michelle Linington
dad4897436 Localize some strings, add some comments 2021-11-09 17:04:27 -08:00
Michelle Linington
c5a87af907 Make a note to revisit collection view layout 2021-11-09 17:04:27 -08:00
Michelle Linington
b65b750024 Add badge selection 2021-11-09 17:04:27 -08:00
Michelle Linington
5f6bab5461 Featured badge selection UI 2021-11-09 17:04:27 -08:00
Michelle Linington
6deedc67b6 Update profile settings to add badge configuration 2021-11-09 17:04:25 -08:00
Eugene Bistolas
256da52087 [Badging] Merge conflict resolution 2021-11-09 14:26:14 -08:00
Eugene Bistolas
64f126ae3f [Badging] Badge receipt credential fetch and redemption 2021-11-09 14:26:05 -08:00
Eugene Bistolas
2012d6aee4 [Badging] Review feedback 2021-11-09 14:25:55 -08:00
Eugene Bistolas
858e3ef1c6 [Badging] Set up new subscription on server / stripe 2021-11-09 14:25:55 -08:00
Eugene Bistolas
57e3e2fb56 Badging: Sustainer subscription level UI 2021-11-09 14:25:55 -08:00
Michelle Linington
cc4f5fe9d4 PR Feedback:
- Consistent use of ConversationStyle
- LocalUserDisplayMode is now a required initializer argument

Also a small bug fix around avatar file path URLs
2021-11-09 14:25:55 -08:00
Michelle Linington
74f66257c1 Fix post-rebase compilation failure 2021-11-09 14:25:55 -08:00
Michelle Linington
1cbf844880 Don't fetch ProfileSettings data from profile 2021-11-09 14:25:55 -08:00
Michelle Linington
905b7f6507 PR Feedback
- Rename the conversation avatar size class enum cases
- Add explanatory comment for explicit type declaration
2021-11-09 14:25:55 -08:00
Michelle Linington
e62bee59b5 Re-add badge to reactor cell
Also re-lints with swiftlint 0.45.0
2021-11-09 14:25:55 -08:00
Michelle Linington
d48d60c8e5 Minor cleanup 2021-11-09 14:25:55 -08:00
Michelle Linington
59645cd456 Simplify reconfigure API 2021-11-09 14:25:55 -08:00
Michelle Linington
6105ee5a20 Better naming of size classes
Also fixes bug with EmojiReactorCell layout
2021-11-09 14:25:55 -08:00
Michelle Linington
f14f0ed90c Badged group avatars in ConversationView 2021-11-09 14:25:55 -08:00
Michelle Linington
dea35199b2 Clean up ConversationAvatarView data sources
Creates a special data source enum for ConversationAvatarView data
providers. Before, ContactCell and ConversationAvatarView used the data
source, neither applying to each perfectly
2021-11-09 14:25:55 -08:00
Michelle Linington
f459857799 ConversationAvatarView2 -> ConversationAvatarView 2021-11-09 14:25:55 -08:00
Michelle Linington
9f53832e14 Remove usage of ConversationAvatarView 2021-11-09 14:25:55 -08:00
Michelle Linington
bd51ca690a Replace AvatarImageView2 with ConversationAvatarView2
Adoption of ConversationAvatarView2 in many key locations. This isn't
exhaustive, but it's mostly there.

Some work left to be done around ConversationAvatarView2 data source
tweaks.
2021-11-09 14:25:55 -08:00
Michelle Linington
9123bbd0b4 Partial progress on badged avatars 2021-11-09 14:25:55 -08:00
Nora Trapp
97261878bc Fix media view zoom behavior 2021-11-08 17:16:53 -08:00
Fumiaki Yoshimatsu
16e1fcb87d Start camera only when PhotoCaptureViewController is visible to the user.
Fixes #4751. Fixes #4817
2021-11-08 13:39:48 -08:00