Commit Graph

4 Commits

Author SHA1 Message Date
Michelle Linington
a2d169c878 A whole bunch of bug fixes, design changes and PR feedback:
Bug fixes:
- Use a localized variant of the subject in localizedEmailSubject
- Debug switch should default on
- Fixed a constraint's incorrect RTL behavior
- Add chevrons to the HelpViewController table view cells
- VoiceOver action on SupportRequestTextView was totally broken, this
  fixes it.

Design changes:
- Remove navigation bar styling and adopt default translucent behavior

Other PR feedback:
- Move support constants out of TSConstants
- Mark OWSTableViewController subclasses as final, remove -contents
  override and just access the superclass' property like normal.
- Subviews of ContactSupportViewController should observe Theme changes
  themselves
- Perform early layout on the EmojiMoodPickerView's stack view to get
  correct corner radius
- EmojiMoodPickerView's Mood enum is now leveraging the Emoji enum
- A bunch of changes to SupportRequestTextView's placeholder handling.
  Now, the placeholder stays visible until the user enters text
2020-07-30 13:02:00 -07:00
Michelle Linington
70b44587c5 Some final changes to prepare for pull request
- Update some missing localizations. To be updated later.
- Updates to TSConstants to add Signal support email
- Move views into the views directory
- Minor renames and reorganizations of code
- Remove dynamic font changes, to be re-added in a different commit
2020-07-30 13:02:00 -07:00
Michelle Linington
7720130b28 A whole bunch of UI enhancements:
- Tuned colors to more closely match design spec
- Made changes to support dynamic theme updates
- Made some changes to support dynamic text sizing
- Attached some button actions that hadn't been hooked up yet
- Better handling of cases where we can't send emails (e.g. user doesn't
  have a mail account configured)
- Better handling of cancellation during log upload. Before, we'd
  continue to open the mail URL anyway
- Adopt ActionSheetController over UIAlertController

Also, our clamped fonts now support dynamic size adjustments. Before,
we'd return non-dynamic fonts clamped to a given size. Now, we use
UIFontMetrics to give us automatic adjustments on size category changes.
2020-07-30 13:02:00 -07:00
Michelle Linington
872ad2de76 IOS-362: new support flow
Most of the UI work for the new support flow. This still needs some
tuning, but I wanted to checkpoint some of this work. This adds a couple
new views and view controllers to facilitate the new support flow.

What's left to be done:
- Putting together the send-message infrastructure
- Attach actions to all of the buttons
- Make sure the colors all match up with the spec
- Reach out to design for feedback
- Testing with various accessibility settings
2020-07-30 13:02:00 -07:00