Commit Graph

1357 Commits

Author SHA1 Message Date
Jed Fox 3e4a5f35fa
Merge remote-tracking branch 'upstream/develop' into rotate-media-view 2022-12-30 08:15:10 -05:00
Nathan Mattes cab9574fbb
Merge pull request #784 from Bracciata/bugfix/309
fix: updated logo button's alt text to be more accessible
2022-12-26 17:03:45 +01:00
Nathan Mattes b445bb4754
Merge pull request #801 from j-f1/remove-NotificationAvatarButton
Remove unused NotificationAvatarButton and RoundedImageView classes
2022-12-26 15:38:45 +01:00
Nathan Mattes df9154a220
Merge pull request #823 from mastodon/806-alt-scroll
Alt-Scroll-Adjustments
2022-12-26 15:35:27 +01:00
Nathan Mattes f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Peter Minarik fd964c7b3a
fix: set Avatar border color based on theme 2022-12-25 16:57:14 +01:00
Peter Minarik c1f19d1f27
chore: DRY setting up colors from theme 2022-12-25 16:56:46 +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
Tommy Braccia d09339ea20 fix: updated to use vars from strings.swift 2022-12-22 13:26:27 -05:00
Tommy Braccia 8064e9c532 Merge branch 'bugfix/309' of https://github.com/Bracciata/mastodon-ios into bugfix/309 2022-12-22 12:52:31 -05:00
Tommy Braccia c08be1e1dd fix: corrected alt for title button 2022-12-22 12:52:27 -05:00
Nathan Mattes 3e2282cb03
Merge pull request #783 from mastodon/ios_15
Bump Deplyment Target to iOS 15
2022-12-22 18:36:26 +01: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
Jed Fox e4848d21e5
Improve handling of transparent avatars + avatar press state (#802)
* Fix Podfile.lock checksum

* Fix layout of avatarButton inside of border

* Set a background for the avatar button in profile headers
2022-12-21 21:41:18 +01: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
Nathan Mattes 270d42d1d3
Merge pull request #746 from cdoncarroll/cdoncarroll-FixMediaPreviewJump
Fix Issue Media Preview Jumping on Interactive Dismissal
2022-12-21 20:26:54 +01:00
Jed Fox 36b7e50f5b
Delete NotificationAvatarButton.swift 2022-12-20 18:18:21 -05:00
Jed Fox 2d606a52af
Remove unused DateToolsSwift dependency 2022-12-20 14:49:15 -05: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 08b63bda00
Merge pull request #753 from j-f1/following-customization
Differentiate between “My followers” and other accounts followers for i18n
2022-12-20 14:05:07 +01:00
Nathan Mattes da3f631380
Merge pull request #736 from cdoncarroll/cdoncarroll-VisibleWindowTouches
Add Debug Option For Displaying Touches
2022-12-19 15:51:26 +01:00
Tommy Braccia 9f53dbdc0a Revert "fix: updated all other occurrences of Logo Button"
This reverts commit bca33aeecd.
2022-12-18 10:48:25 -05:00
Tommy Braccia d621763a85 Revert "fix: swapped to correct alt for the image."
This reverts commit e4027bbe68.
2022-12-18 10:48:23 -05:00
Tommy Braccia e4027bbe68 fix: swapped to correct alt for the image. 2022-12-18 10:33:13 -05:00
Nathan Mattes 3b77ed7612
Merge pull request #613 from j-f1/joined-at
Add a “Joined” cell to the top of the About tab to match the web version
2022-12-18 14:30:57 +01:00
Tommy Braccia bca33aeecd fix: updated all other occurrences of Logo Button 2022-12-17 21:26:35 -05:00
Nathan Mattes 2cdd8af7c3 Remove workaround for tableviews 2022-12-17 21:57:17 +01:00
Nathan Mattes af2cf75c56 Remove workaround for collection-views 2022-12-17 21:46:11 +01:00
Nathan Mattes 1d7dc2f266 Bump to iOS 15 deployment target and fix build issues 2022-12-17 20:26:20 +01:00
Marcus Kida e52315f0e0
Merge pull request #771 from j-f1/fix-voiceover-trap
Fix VoiceOver trap in thread titles
2022-12-16 21:17:29 +01:00
Jed Fox 0c8c9778b0
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-15 07:46:37 -05:00
Jed Fox 13c54c39f1
Fix VoiceOver trap in thread titles 2022-12-15 07:29:25 -05:00
Jed Fox 47024bfb4d
Differentiate between “My followers” and other accounts followers in i18n 2022-12-13 10:07:37 -05:00
Marcus Kida 2d9e980215
feat: Implement /api/v2/instance to conditionally show Translation option 2022-12-12 16:41:13 +01:00
Chase Carroll d2d981ab0e Fix broken CCPoint conversion 2022-12-09 09:18:56 -05:00
Marcus Kida 1020ca531a
feat: Implement status translation info footer and reversion 2022-12-07 15:41:33 +01:00
Chase Carroll 4689c8e78f Use modern APIs for accessing key window
Shouldn't be relying on deprecated API. Tsk. Tsk.
2022-12-05 16:01:41 -05:00
Chase Carroll 7f58422900 Add debug menu option
Puts an option in the debug menu for toggling on/off visible touches.
2022-12-05 10:32:10 -05:00
Jed Fox 7e74b4beb3
Merge remote-tracking branch 'upstream/develop' into status-cards 2022-12-03 13:49:04 -05:00
Jed Fox 1379cdc448
Disable cards in notifications
both to save space and because I’m too lazy to wire up the delegate methods for the menu
2022-12-03 13:41:51 -05:00
Jed Fox 17b39da316
Add “Copy,” “Share,” and “Share Link in Post” actions to cards 2022-12-03 13:38:32 -05:00
Jed Fox 3661b5ce90
Refactor compose intialization
- split ComposeContentViewModel.Kind into Destination (top level/reply) and an initial content string
- replies get the mentions prepended to the initial content string
2022-12-03 13:25:07 -05:00
Marcus Kida 9affb0f637
feat: Implement `translatedContent` which can be used to replace the StatusView content 2022-12-02 23:15:06 +01:00
David Godfrey c92468a706
fix: Tidy up accessibility labels in bio fields
Enables reading out the label for the checkmark, and avoids describing
the title text as a 'button'.
2022-12-02 08:29:30 +00:00
Nathan Mattes 8ed451e858
Merge pull request #711 from j-f1/search-and-explore
Rename second tab to “Search and Explore”
2022-12-01 21:42:44 +01:00
Nathan Mattes 56efe8a93a
Merge pull request #691 from mastodon/follow_hashtags
[Feature] Follow hashtags
2022-12-01 20:33:06 +01:00
Marcus Kida 6c2fabaa03
chore: Fix hashtag follow button style 2022-12-01 14:52:55 +01:00
Marcus Kida 324e782fd5
chore: Improve Hashtag Header Post Count label alignment 2022-12-01 14:31:56 +01:00
Marcus Kida 270bb6a1ed
fix: Update HashtagTimelineHeaderView if follow state changes 2022-12-01 12:38:23 +01:00
Marcus Kida 75dc530dcf
chore: Implement FollowedTagsViewModel+DiffableDataSource 2022-12-01 11:39:02 +01:00
Marcus Kida 0c571a2df6
fix: Localizable string issues 2022-12-01 10:55:00 +01:00
Marcus Kida 6a9b29e4a6
chore: Add missing L10n 2022-12-01 10:54:59 +01:00
Marcus Kida f112e68e79
chore: Add L10n for Followed Tags 2022-12-01 10:54:59 +01:00
Marcus Kida ba26dd2076
feat: Implement navigating followed tags 2022-12-01 10:54:59 +01:00
Marcus Kida 855d2cbacd
feat: Implement followed tags overview 2022-12-01 10:54:59 +01:00
Marcus Kida b9e4c69576
feat: Implement follow/unfollow tag functionality 2022-12-01 10:54:59 +01:00
Marcus Kida b020f566f4
feat: Implement real numbers of HashtagTimelineHeader 2022-12-01 10:54:59 +01:00
Marcus Kida 9d245d3205
feat: Fix follow hashtags header layout 2022-12-01 10:54:59 +01:00
Marcus Kida 178a6e503a
feat: Implement layout for hashtag timeline header view 2022-12-01 10:54:58 +01:00
Marcus Kida 2987bb29fa
feat: Add FollowedTagsViewController 2022-12-01 10:54:58 +01:00
Marcus Kida b7458dfc7b
feat: Implement hashtag button on Profile 2022-12-01 10:54:58 +01:00
CMK ee9f0538e3 fix: timeline reload blink issue 2022-12-01 15:48:01 +08:00
Jed Fox 2003e4987c
Rename second tab to “Search and Explore” 2022-11-30 09:09:24 -05:00
Marcus Kida 7aed050ded
Merge pull request #600 from woxtu/nil-coalescing
Remove redundant nil coalescing
2022-11-29 14:41:52 +01:00
Marcus Kida a790199ee4
Merge pull request #701 from kylebshr/kb/scroll-to-top
Fix scroll to top when tab is tapped
2022-11-28 16:08:18 +01:00
Kyle Bashour 459564ae6b Update table view 2022-11-26 23:49:51 -08:00
Kyle Bashour 0e5261ef94 Fix scroll to top 2022-11-26 16:08:52 -08:00
Sven Weidauer 5608cad673 Fix after merge. 2022-11-26 16:26:06 +01:00
Sven Weidauer bf741a3f63 Merge remote-tracking branch 'upstream/develop' into fix-warnings 2022-11-26 16:08:26 +01:00
Marcus Kida 65ed6650e8
feat: Implement deletion of records for blocked users 2022-11-26 08:02:29 +01:00
CMK b028380e7b fix: scroll to top animation cannot trigger smooth issue 2022-11-26 05:21:27 +08:00
Kyle Bashour ba7955bdb5 Handle taps 2022-11-24 07:48:07 -08:00
CMK 0d01e2ad23
Merge pull request #674 from mastodon/fix-665-image-downscaling
Fix no downscaling for raw image from camera issue
2022-11-23 12:42:22 +08:00
Jed Fox 0910baab6c
Allow media viewer to be rotated to any orientation 2022-11-22 16:19:18 -05:00
Nathan Mattes 7dd59906b7
Merge branch 'develop' into 191-pickserver 2022-11-22 22:11:37 +01: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
CMK f784df912d fix: no downscaling for raw image from camera issue 2022-11-22 15:59:29 +08:00
Marcus Kida d98306b505
Merge pull request #662 from mastodon/report_post_next
Always allow to continue when reporting a post if at least one is selected
2022-11-22 08:27:06 +01:00
CMK c6b2f730d2
Merge pull request #592 from j-f1/live-text
Add Live Text support to images
2022-11-22 13:14:38 +08:00
Marcus Kida 12bfff8b00
Merge pull request #579 from woxtu/patch
Fix typos
2022-11-21 17:31:05 +01:00
Marcus Kida 3a7c39a485
Merge pull request #572 from jverkoey/191-welcome
[Welcome] Allow buttons to grow with Dynamic Type.
2022-11-21 17:17:19 +01:00
Jed Fox 45c35ab146
Merge remote-tracking branch 'upstream/develop' into live-text 2022-11-21 08:41:05 -05:00
Jed Fox 82da37e1e7
Merge remote-tracking branch 'upstream/develop' into notifications-tab-a11y 2022-11-21 08:39:08 -05:00
Marcus Kida 8f28999a93
chore: Only hide skip button if post has been selected 2022-11-21 11:57:02 +01:00
Marcus Kida 9ffed8f319
Revert "chore: Remove back button title"
This reverts commit 8d9e6ca874.
2022-11-21 11:53:26 +01:00
Marcus Kida 8d9e6ca874
chore: Remove back button title 2022-11-21 11:31:57 +01:00
Marcus Kida 2314646d98
fix: Always allow to continue when reporting a post if at least one is selected 2022-11-21 11:27:14 +01:00
Nathan Mattes df5099dd30
Merge pull request #587 from woxtu/dims-background
Replace a deprecated property
2022-11-21 06:33:23 +01: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
Marcus Kida ad7904e863
fix: Status notification shows "mentioned you" text 2022-11-18 10:54:40 +01:00
Marcus Kida be2583094d
chore: Move UIImage(systemName: "chevron.up.chevron.down") to UIImage Extension 2022-11-18 10:10:54 +01:00
Marcus Kida 3a2c99c75a
chore: Move accountToggleIndicator to Constants 2022-11-18 10:07:15 +01:00
Marcus Kida 3acdbcc2ce
chore: Make accessoryImageView more universal 2022-11-18 10:07:14 +01:00
Marcus Kida 533e626094
chore: Rename accountSwitcherChevron -> accountToggleIndicator 2022-11-18 10:07:14 +01:00
Marcus Kida 8fd37c8362
feat: Implement more obvious account switcher 2022-11-18 10:07:14 +01:00
Marcus Kida 4cc734fac9
chore: Link related GitHub issue to commented-out code 2022-11-18 09:56:02 +01:00
Marcus Kida 3020f28ef4
chore: Disable double-tap-to-switch-account 2022-11-18 09:40:45 +01: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 ebe293216c Pin vibrancyVisualEffectView to blurVisualEffectView 2022-11-18 02:32:26 +09:00
Stefan Painhapp d27d7456c9 Merge branch 'develop' into refactorPinToParent 2022-11-18 02:20:58 +09:00
Stefan Painhapp e56104c756 Revert paddingView.pinToParent 2022-11-18 02:07:33 +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
CMK b5d883865d fix: prefer the original mode to top-two-tier tree mode 2022-11-18 00:16:21 +08:00
CMK 1ca3b66e40 chore: code cleanup 2022-11-18 00:00:17 +08:00
Marcus Kida 0b0252fca2
Merge pull request #617 from mastodon/account_toggle_double_tap_ipad
feat: Implement double-tap account switching on iPad
2022-11-17 16:51:26 +01:00
CMK 095881c5d5
Merge pull request #616 from painhapp/videoLayoutConstraints
Fix Video Player Constraints issue
2022-11-17 23:42:55 +08:00
Marcus Kida e8e8a2a4c9
fix: Don't delay touches ended 2022-11-17 15:45:25 +01:00
Marcus Kida d8cf4606e2
fix: TabBar has noticeable delay when selecting next tab 2022-11-17 15:33:21 +01:00
Jed Fox f4018935f9
Re-add missing debug line 2022-11-17 07:25:16 -05:00
Marcus Kida 60d9d3537d
feat: Implement double-tap account switching on iPad 2022-11-17 10:22:13 +01:00
Stefan Painhapp d8164c2bc9 Fix Video Player Constraints issue 2022-11-17 14:26:40 +09:00
Jed Fox 4af5d3910a
Wire up the header image to be actually displayed 2022-11-16 23:05:48 -05:00
Jed Fox 23a0943b12
Constrain size 2022-11-16 22:52:44 -05:00
Jed Fox 5d91bcf8b5
Basic banner editing support 2022-11-16 22:49:49 -05:00
Jed Fox c34f0b4f11
Color the verified link’s header green as well to match the website 2022-11-16 20:45:11 -05:00
Jed Fox c6826542f9
Add a “Joined” cell to the top of the About tab to match the web version 2022-11-16 20:26:26 -05:00
Marcus Kida 634796e9dc
fix: Only allow double-tap account toggle if more than 1 account exists 2022-11-16 13:43:54 +01:00
Marcus Kida 26576d888e
feat: Implement double-tap on profile Tab to quickly cycle through logged in Accounts 2022-11-16 12:54:51 +01:00
CMK c2bb14eaab
Merge pull request #520 from j-f1/account-switcher-a11y
Improve accessibility of the account switcher
2022-11-16 18:51:17 +08:00
CMK 35544b3066 fix: aspect ratio 2022-11-16 18:45:51 +08:00
Nathan Mattes 1c0dbc8064 Polish tableView (#540) 2022-11-16 08:16:32 +01:00
Nathan Mattes 9b2b42cddb Add a thin separator between tableView and searchTextField (#540) 2022-11-16 07:40:23 +01:00
Nathan Mattes 890ba49f4e Make magnifiying glass in searchTextField look great (#540)
Thank you @MainasuK :thumbs_up:
2022-11-16 07:38:04 +01:00
Nathan Mattes 5240006f07 Improve textfield-UX (#540) 2022-11-16 07:37:13 +01:00
woxtu 675df849e3 Remove redundant nil coalescing 2022-11-16 12:21:08 +09:00
Nathan Mattes d86d613b4a Remove todos (#540)
After discussion they will be taken care of when we rework the onboarding (spoiler)
2022-11-15 23:51:24 +01:00
Nathan Mattes 83e0c0e994 Slash more todos (#540)
- Apply some math for keyboard-dance
- Onboarding will be reworked nevertheless
2022-11-15 23:29:33 +01:00
Nathan Mattes 082e0933d2 Slash some todos (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes cf2f7850b7 Sprinkle in some localization (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes 378e04c9cb Don't show a server when you just tapped on one (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes 7c14d71630 Show main-screen after login (#540) 2022-11-15 23:29:33 +01:00
Nathan Mattes e7b8870329 Do the keyboard-dance (#540) 2022-11-15 23:29:32 +01:00