Commit Graph

1575 Commits

Author SHA1 Message Date
Marcus Kida 855f626c42
fix: Make translatedContent a transient CoreData property 2022-12-14 09:35:45 +01:00
Jed Fox 47024bfb4d
Differentiate between “My followers” and other accounts followers in i18n 2022-12-13 10:07:37 -05:00
Marcus Kida 110a89f499
fix: AppContext is missing for some StatusView.ViewModels 2022-12-13 07:07:08 +01:00
Marcus Kida 85f4c454a3
chore: Refactor code and apply PR improvements 2022-12-13 06:56:07 +01:00
Marcus Kida 2d9e980215
feat: Implement /api/v2/instance to conditionally show Translation option 2022-12-12 16:41:13 +01:00
Marcus Kida 58dcadf642
feat: Implement error-handling for translation 2022-12-09 16:12:13 +01:00
Chase Carroll d2d981ab0e Fix broken CCPoint conversion 2022-12-09 09:18:56 -05:00
Marcus Kida dc174b4b6d
feat: Implement translation progress indicator on status 2022-12-07 15:52:38 +01: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
Chase Carroll 12791ddf28 Use UIWindow subclass in DEBUG builds 2022-12-05 10:22:14 -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
Jed Fox ebf3835403
extract out StatusActivityItem class 2022-12-03 13:09:04 -05:00
Jed Fox 3212e54bf5
Fix generating relay delegate methods with return values 2022-12-03 13:07:55 -05:00
Marcus Kida ac76e7f435
feat: Implement translation of reposts 2022-12-02 23:15:07 +01:00
Marcus Kida d5be87992d
feat: Implement /translate endpoint 2022-12-02 23:15:07 +01: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
Jordan Kay 8db551837c Remove unused file 2022-11-30 17:22:17 -05: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 bb30aae322
feat: Update block/mutes on block/mute action 2022-11-26 08:02:30 +01:00
Marcus Kida 65ed6650e8
feat: Implement deletion of records for blocked users 2022-11-26 08:02:29 +01:00
Marcus Kida ac5e68b74b
feat: Delete Users / Statuses on Mute 2022-11-26 08:02:28 +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
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 586c1669f9
Merge pull request #619 from mastodon/fix_tabbar_selection_delay
fix: TabBar has noticeable delay when selecting next tab
2022-11-17 15:39:46 +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