Reactions - Design review tweaks (#1417)

* Design review tweaks

- truncate reactions as per spec
- add haptic feedback on reacting
- Remove all collapse/expand animations on reactions
- tweak reaction and summary padding
- Fix alignment of time on reaction summary view
- Made sure reaction summary button in horizontal scroller is on screen on appear
- update screenshots

* Update TimelineReactionsView.swift

* Remove dark add more button and check long rtl reactions

* Set colour of  templated add more button

* Fix padding and only inset from the bubble on the leading side as per designs

- Fix padding
- Only inset from the bubble on the leading side as per designs

* Update screenshots

* Fix line length warning.
This commit is contained in:
David Langley
2023-07-31 12:16:52 +01:00
committed by GitHub
parent d38b6f74b1
commit beaf9a8dbf
18 changed files with 90 additions and 46 deletions
@@ -25,6 +25,8 @@ struct EmojiPickerScreen: View {
@ScaledMetric(relativeTo: .title) var minimumWidth: Double = 64
private let feedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
var body: some View {
NavigationStack {
ScrollView {
@@ -33,6 +35,7 @@ struct EmojiPickerScreen: View {
Section {
ForEach(category.emojis) { emoji in
Button {
feedbackGenerator.impactOccurred()
context.send(viewAction: .emojiTapped(emoji: emoji))
} label: {
Text(emoji.value)