Commit Graph

57 Commits

Author SHA1 Message Date
Nathan Mattes f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Jed Fox d553dd4f62
Resize text when Dynamic Type style updates 2022-12-23 14:16:41 -05:00
Jed Fox 752d76c8be
fix sizing if the text view does not need to scroll 2022-12-23 14:08:22 -05:00
Jed Fox b8b59674f3
Fix scroll insets, increase contrast 2022-12-23 11:34:05 -05:00
Jed Fox 0faea45485
Allow AltViewController text to scroll 2022-12-23 10:27:07 -05:00
Nathan Mattes 7ee51d06cc
Merge pull request #699 from j-f1/alt-button
Add a button to show alt text for media
2022-12-22 09:29:00 +01:00
Jed Fox dc6a86f846
Extract out TouchTransparentStackView 2022-12-21 19:38:29 -05:00
Jed Fox ff502a4868
Remove some os_logs 2022-12-21 19:25:39 -05:00
Nathan Mattes fba444d82f
Merge pull request #681 from j-f1/there-is-no-escape
Allow pressing escape to close the media viewer
2022-12-21 21:17:27 +01:00
Jed Fox dbf95f726c
fix preferredContentSize 2022-12-20 09:37:13 -05:00
Jed Fox 7ab6ea0d23
Make alt text selectable 2022-12-20 09:37:13 -05:00
Jed Fox 754b0a7eb0
Move HUDButton to MastodonUI 2022-12-20 09:37:13 -05:00
Jed Fox 501e17bf18
Hide the ALT button when alt text is unavailable 2022-12-20 09:37:13 -05:00
Jed Fox ed580541f0
Merge top buttons into a single parent view
(also fix tapping just outside a HUDButton)
2022-12-20 09:37:12 -05:00
Jed Fox 582d1cf295
Add an ALT button to the media preview to display alt text 2022-12-20 09:37:12 -05:00
Jed Fox e8e15f3a0e
Remove support for previewing local images
(it was unused)
2022-12-20 09:37:12 -05:00
Jed Fox dd95724d14
Factor out code for the close button 2022-12-20 09:37:12 -05:00
Nathan Mattes 0953b3d4ff
Merge branch 'develop' into issue607 2022-11-22 21:56:00 +01:00
Jed Fox 75b0f1bfb8
Allow pressing escape to close the media viewer 2022-11-22 13:06:17 -05:00
Jed Fox 45c35ab146
Merge remote-tracking branch 'upstream/develop' into live-text 2022-11-21 08:41:05 -05:00
CMK 2064a318c3 Merge branch 'main' into develop
# Conflicts:
#	Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
Stefan Painhapp ace4537b7d Merge branch 'develop' into issue607 2022-11-18 19:08:06 +09:00
Stefan Painhapp 7ab62394de Handle safe areas for image preview 2022-11-18 19:07:44 +09:00
Nathan Mattes d4eabf95d1
Merge pull request #622 from painhapp/refactorPinToParent
[Refactor] Use UIView extension to create constraints (to parent view)
2022-11-17 23:19:03 +01:00
Nathan Mattes 96c3e17531 Fix some warnings 2022-11-17 23:16:21 +01:00
Stefan Painhapp e2e93bdaf0 #607 Use safe areas for image preview 2022-11-18 03:53:52 +09:00
Stefan Painhapp 60235c3989 Add missing view 2022-11-18 01:47:55 +09:00
Stefan Painhapp abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
Stefan Painhapp d8164c2bc9 Fix Video Player Constraints issue 2022-11-17 14:26:40 +09:00
Jed Fox 0687ef4f8e
Add support for tapping an image to hide all the chrome 2022-11-14 21:52:16 -05:00
Jed Fox 5277ec191b
Drop attempt to fade in the supplementary interface
sometimes it just stayed hidden?
2022-11-14 21:50:38 -05:00
Jed Fox ac28c2ee4f
Add Live Text support to MediaPreviewImageView 2022-11-14 20:44:47 -05:00
CMK fa27a28a60 chore: move core logic into package 2022-10-08 13:43:06 +08:00
CMK c4b8f129d7 fix: empty banner could be preview issue 2022-07-15 03:29:04 +08:00
CMK ad63c512df fix: refactor the profile UI to fix internal AutoLayout crash issue. resolve #440 2022-05-26 23:19:47 +08:00
CMK 5d38abd659 feat: dismiss image preview when tap empty area 2022-02-18 19:34:14 +08:00
CMK d1441aee8c fix: text strip wrong color in the Dark Mode issue 2022-02-10 14:21:19 +08:00
CMK 582843f54a feat: add video player for audio/video kind media 2022-02-09 20:35:19 +08:00
CMK b76b3a2750 feat: adapt the app to async & await. Update timeline UI 2022-01-27 21:23:39 +08:00
CMK 95020e6446 fix: rotate media preview raise layout issue 2021-09-29 19:34:54 +08:00
CMK 72a225bbc3 chore: drop Nuke 2021-07-21 19:45:24 +08:00
CMK 4baaf3368b feat: make copy action works in media preview scene 2021-07-06 20:02:30 +08:00
CMK 3582762ace fix: roll back new media preview loader which may cause image flash 2021-07-02 20:12:08 +08:00
CMK 86da7a8ba1 fix: GIF not load in some scene issue 2021-07-02 19:48:56 +08:00
CMK 5567bdd447 fix: add tolerance for media preview dismiss gesture trigger 2021-07-01 19:18:41 +08:00
CMK c44ced7501 feat: add keyboard navigate for timeline 2021-05-21 15:23:02 +08:00
CMK 6ba6598b96 feat: add accessibility supports for timeline 2021-05-12 18:26:53 +08:00
CMK 4901b50d3b feat: ignore smart invert for photos 2021-05-10 16:06:00 +08:00
CMK 51c01066d3 feat: add photo library permission checking 2021-05-06 15:05:24 +08:00
CMK 597fc3fa1a chore: set image url fallback 2021-05-06 14:41:48 +08:00