Commit graph

344 commits

Author SHA1 Message Date
Thomas Ricouard
2828550531 Support medium display mode for card view 2023-02-22 18:49:00 +01:00
Chanhwi Joo
40386d6312
Make boost swipe buttons consistent with ones from inline & context menu (#999)
* Show different label and icon for boosting my followers-only post

* Disable boost swipe actions on posts that can't be boosted

* Remove unnecessary function calls
2023-02-22 12:49:36 +01:00
Pascal Batty
50b8c93787
Add flair to status action buttons (#1005)
* Add flair to status action buttons

- makes tintColor viewModel independent in Action
- adds isOn function to Action
- moves actionButton to its own function for clarity (and help compilo)
- moves the counter outside the button
- creates StatusActionButtonStyle that defines how an action button behaves when tapped and toggled
- adds nested SparklesView that animates sparkles when the action button is tapped

Sidenote : couldn't get the "bouncy" scale effect I wanted. It wouldn't work on an iOS device, but did on the simulator.

* Fix private boost action icon regression

---------

Co-authored-by: Pascal Batty <pascal@zen.ly>
2023-02-22 12:48:51 +01:00
Thomas Ricouard
5ca0180c4c Show full username for leading avatar position 2023-02-22 07:31:14 +01:00
Thomas Ricouard
4576507225 Added a new Medium media style 2023-02-22 07:26:32 +01:00
Alex Grebenyuk
37a69650ef
Remove capture mode for images (#996)
* Remove capture mode for images

* Simplify how processor is created in StatusRowMediaPreviewView

* Optimize StatusViewId further
2023-02-22 07:09:56 +01:00
Thomas Durand
2c174ab72e
Fixed compact layout for video tip when video autoplay is disabled (#989) 2023-02-22 07:06:01 +01:00
Julian Kahnert
0011b25a1c
fixes 965 (#991) 2023-02-22 07:04:02 +01:00
Thomas Ricouard
ed9b2a37a7 Fixes for composer and DM 2023-02-21 19:38:35 +01:00
Louis Lac
bf49a4558c
Singularize enum type names (#978) 2023-02-21 18:52:30 +01:00
Thomas Ricouard
255af8c482 Composer: Better ALT editing UI 2023-02-21 18:50:56 +01:00
Thomas Ricouard
263ecbb715 Composer: Fix swipe to dismiss 2023-02-21 18:50:45 +01:00
Thomas Ricouard
e758df04a8 Bigger secondary column width 2023-02-21 18:46:28 +01:00
Thomas Ricouard
7a997ebd8a Make secondary column available on any size + add a toggle + faster macOS window resize 2023-02-21 13:37:31 +01:00
Thomas Ricouard
533558eb81 Fix a localization + make the ... menu zone bigger 2023-02-21 08:09:27 +01:00
Thomas Ricouard
b259b6739e Swiftformat 2023-02-21 07:23:42 +01:00
Peter-Josef Meisch
6aeb25885c
Fix display of multiple vote polls (#967)
Closes #952
2023-02-21 07:05:21 +01:00
Chanhwi Joo
f04c15b8fe
Fix status actions on boosting posts (#974)
* Fix context menus for boosts

* Allow my boost of my followers-only post

* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post

* Localizations

* CR

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-21 06:59:47 +01:00
Thomas Ricouard
88173adc9e Add indicator for bots accounts 2023-02-20 18:15:45 +01:00
Thomas Ricouard
e7fffa07d4 Fix theme not being applied live on status row close #961 2023-02-20 13:00:50 +01:00
Thomas Ricouard
aa63dd5ab7 Fix threading UI 2023-02-19 20:56:56 +01:00
Thomas Ricouard
052586022d Fix post header 2023-02-19 20:56:50 +01:00
Thomas Ricouard
a74f292696 Show post header thread icon more consistently 2023-02-19 20:12:31 +01:00
Thomas Ricouard
b64b21be20 Further improvement to the post header 2023-02-19 19:57:17 +01:00
Thomas Ricouard
ed583a937d Better header spacing 2023-02-19 19:51:37 +01:00
Thomas Ricouard
0d6eff391b Reworked post header view + add option to hide server name from username 2023-02-19 19:16:39 +01:00
Thomas Ricouard
e48260f309 More tweak to capture mode 2023-02-19 16:03:27 +01:00
Thomas Ricouard
a965386a1e Fix threading UI 2023-02-19 15:44:09 +01:00
Thomas Ricouard
ccc504fc6f Share post as image close #885 2023-02-19 15:29:07 +01:00
Thomas Durand
dd2ebe5506
Added a tip that it's a video, and not an image when autoplay is off (#939)
* Added a tip that it's a video, and not an image when autoplay is off

* Centered - bigger version of the video tip
2023-02-19 11:44:18 +01:00
Alex Grebenyuk
03d60d2236
Update Nuke (#940) 2023-02-19 07:25:57 +01:00
Alex Grebenyuk
a8459638e9
Add image prefetch to the timeline + resize close #931 (#930)
* Add image prefectch to the timeline

* Use preview url for post with multiple attachements

* Add image resize

* Prefetch link cards

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-18 18:44:43 +01:00
Thomas Ricouard
b1424aadd0 Fix two crashes 2023-02-18 17:08:32 +01:00
Thomas Ricouard
9281e72e8c Fix status context menu mention for boost 2023-02-18 08:02:50 +01:00
Thomas Ricouard
ca4e80101f Swiftformat 2023-02-18 07:26:48 +01:00
Alex Grebenyuk
425a4eef4f
Update to Nuke 12 (Beta 1) (#924)
* Install Nuke from nuke-12 branch

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-18 07:25:10 +01:00
Thomas Ricouard
88fdeec100 Fix link preview image size 2023-02-17 19:11:09 +01:00
Thomas Ricouard
c02cbde72e Fix translate button on boost 2023-02-17 19:11:01 +01:00
Thomas Ricouard
f09781582f Various optimizations to views & images rendering 2023-02-17 18:17:51 +01:00
Thomas Ricouard
881816730c Composer: Disable in app account switching 2023-02-17 14:02:05 +01:00
Thomas Ricouard
a3744525df StatusRow: Split into proper view struct 2023-02-17 13:30:56 +01:00
Thomas Ricouard
b7e7ee0736 Composer: Fix account switcher in share sheet 2023-02-17 13:30:45 +01:00
Thomas Ricouard
59d8346bc8 Composer: Fix sharing an UIImage directly 2023-02-17 08:33:56 +01:00
Thomas Ricouard
ea702e1101 Composer: Fix to account switcher + display full acct name close #906 2023-02-17 08:09:26 +01:00
Thomas Ricouard
c3ae101df2 More fix to detail screen 2023-02-16 21:06:45 +01:00
Thomas Ricouard
4304977924 Fix status detail 2023-02-16 18:46:25 +01:00
Thomas Ricouard
ac32410200 Proper threading UI 2023-02-16 17:07:52 +01:00
Thomas Ricouard
ef7d75d3d5 Fix requestReview crash on macOS 2023-02-16 13:22:04 +01:00
Thomas Ricouard
f1919305ab Show threading / reply to UI in post detail 2023-02-16 12:15:13 +01:00
Thomas Ricouard
ab0b207596 Request store rating when publishing a post 2023-02-16 12:14:57 +01:00