2436 Commits

Author SHA1 Message Date
shannon
52b955f5da Additional info for beta feature testing 2025-01-28 11:36:19 -05:00
shannon
233e8d4027 Some tweaks to the pick from photo library process.
Contributes to IOS-364
2025-01-28 11:02:03 -05:00
shannon
a0978d3a0a More effectively check for scrolling to end of loaded user timeline
Fixes  #1399 [BUG] Profile view does not load older content in the feed
2025-01-27 16:36:36 -05:00
shannon
999e74be47 Correctly track follow and reblog status in the notification view.
This is a temporary fix, the datamodel will be changing with grouped notifications.
2025-01-27 16:36:36 -05:00
shannon
bc918ffdfc Restore ability to load additional notifications beyond the first fetched batch 2025-01-24 16:09:12 -05:00
shannon
f552c3af91 Correct and simplify handling of user view button action
Also delete a bunch of unused code.

Fixes IOS-359
2025-01-24 10:30:55 -05:00
shannon
6031af6a0d Open mastodon-schemed urls that match findable results the same way we do with universal links
Fixes #968 Support opening any Mastodon URL directly in the app
2025-01-24 10:15:08 -05:00
shannon
e9b58d3047 More careful handling of AVAudioSession
(May contribute to…)
Contributes to #1074  [BUG] When run on Mac, iOS app prevents sleep
2025-01-23 10:43:39 -05:00
shannon
eac3222e65 Remove import AVKit from files that do not need it 2025-01-23 10:07:00 -05:00
shannon
537f6cc5fd Alert user to any error in poll vote processing; always resolve activity indicator.
Contributes to  #1123 [BUG] App crashes when voting on a poll
2025-01-22 15:45:12 -05:00
shannon
e91d6e3bc5 Update notification view after approving or rejecting a follow request
Fixes #1342 [BUG] Follow requests no longer working
2025-01-22 15:14:58 -05:00
whattherestimefor
7f0c9897d1 Update NotificationTimelineViewModel.loadMore() for recent changes 2025-01-22 11:09:36 -05:00
whattherestimefor
2603b01144 Add TODO comment 2025-01-22 11:09:36 -05:00
shannon
7814812b5a first stages of a swiftui list for notifications
changes to keep building that will quickly become moot

Starting to implement SwiftUI version of notifications

project update forgotten

Switch out whole view controller when testing grouped notifications.

make old view work again

Bump deployment target to iOS 17

better view model. follow button loads correctly, showing followers list or account works.

mostly kind of working

rename

rename
2025-01-21 19:03:57 -05:00
Damir Yackupov
571d73644c
support for focus point in image (#1392)
* support for focus point in image

* small fix

* small refactor
2025-01-15 06:34:09 -05:00
shannon
137cd4015a Update localized strings to add “No recent searches”
Fixes #1389
2025-01-14 14:43:47 -05:00
Gokul
f9ad9a4931
If recent search history is empty show text like No recent searches (#1387)
Displayed no recent searches text if recent search is empty
2025-01-14 14:33:48 -05:00
shannon
6ec1d9a591 Initial display of grouped notifications
Contributes to IOS-253
Contributes to IOS-355
2025-01-14 11:23:42 -05:00
shannon
12d737c4e1 Use grouped notifications beta setting in UserDefaults 2025-01-14 11:13:10 -05:00
shannon
1ec772d8a1 Show ungrouped notifications as before, but using the new MastodonFeedItemIdentifiers
Contributes to IOS-253
Contributes to IOS-355
Contributes to IOS-357
2025-01-10 16:17:51 -05:00
shannon
100937187c Data model changes to enable grouped notifications
Work in progress. This will run but will not show any notifications.

Contributes to IOS-355
Contributes to IOS-253
2025-01-09 08:49:28 -05:00
shannon
4dd856f106 Add full settings menu for beta features
Fixes IOS-354
2025-01-07 15:08:10 -05:00
shannon
1512f6e079 clarify private usage 2025-01-06 14:55:20 -05:00
shannon
b438d3db32 rename for clarity
Not all of these cases involve a MastodonStatus. Their actual use is as identifiers for the tableview datasources.
2025-01-06 14:45:29 -05:00
shannon
1ea485e349 rename for clarity 2025-01-06 14:19:30 -05:00
shannon
68cf3fa409 remove unnecessary import 2025-01-06 14:18:55 -05:00
shannon
e47d54d506 Rename for clarity 2025-01-06 10:24:14 -05:00
shannon
f04699960f Add NotificationGroup struct 2024-12-19 15:21:30 -05:00
shannon
f28751872d Adjust HitTestExpandedButton to MinimumHitTargetButton, which enforces minimum hit target size of 44x44
Contributes to IOS-143
2024-12-17 15:08:13 -05:00
shannon
d84b5474c4 Only adjust scroll offset if new tableview contents does contain the expected anchoring index path. 2024-12-17 12:59:35 -05:00
shannon
99fad6fb23 Renaming for clarity 2024-12-17 12:55:28 -05:00
shannon
eb5433ec2b Do not allow setting FeedController’s records from outside the class.
Because we want to be certain that incoming records are always correctly filtered.

Fixes #1354 [BUG] Mastodon iOS App Ignores "Hide completely" Filter action Setting
2024-12-16 14:29:33 -05:00
shannon
54ee5603b5 Add indication of publishing progress to the publish button.
Contributes to  #846 Toot lost in poor network conditions
2024-12-13 16:41:52 -05:00
shannon
1b4852c9b0 Do not dismiss compose window until post success is confirmed
Contributes to  #846 Toot lost in poor network conditions
Contributes to  #1215 [BUG] New posts fail to publish
2024-12-13 15:36:34 -05:00
shannon
2a7c8154d0 Add explanatory comment 2024-12-13 13:42:07 -05:00
shannon
ffc6e0ebaf Clearer naming (“nanosPerUnit” instead of “second”) 2024-12-13 13:17:59 -05:00
shannon
51591c9524 Refetch account info when returning to profile screen
This is almost certainly a duplication of effort when navigating to the profile screen initially, for now, but it means the account details are up to date after you’ve followed/unfollowed, etc, from pages in the same navigation stack.

Fixes IOS-344
2024-12-11 16:39:40 -05:00
shannon
957c1da6d0 Stop the refresh control when update is complete.
Fixes IOS-348
2024-12-11 16:39:40 -05:00
shannon
386196158b Update the avatar in the profile tab button whenever the active account switches
Fixes IOS-347
2024-12-11 16:39:40 -05:00
shannon
fee51ace09 Fetch all accounts much less often 2024-12-11 16:39:40 -05:00
shannon
f1391cecce Only need to subscribe to updateActiveUserAccountPublisher once, not every time the user is fetched. 2024-12-11 13:35:38 -05:00
shannon
df969abd6a Do not bother fetching relationship to account that is me 2024-12-11 13:34:33 -05:00
shannon
49938d4cbf Add comment 2024-12-11 13:33:40 -05:00
shannon
131e116fc0 Additional clarification about user fetching me vs. not me, and do not cache accounts that are not me 2024-12-11 13:33:27 -05:00
shannon
a2558201be Revert "Switch to profile tab to view your own profile, regardless of where you’re navigating from."
This reverts commit 6035e0e69def1a43207676afebde368a1dfc42e4.

Overriding design principle: Switch tabs only based on user’s direct interaction with the tabs.
2024-12-09 11:04:09 -05:00
shannon
6035e0e69d Switch to profile tab to view your own profile, regardless of where you’re navigating from. 2024-12-06 15:49:49 -05:00
shannon
af6272014a Refactor: Immutable view model for ProfileViewController
Goal: Begin to centralize the locus of view updates for easier bug fixing and future design flexibility.

Remaining: The supplementary views are still heavily using Combine.

Fixes #1372 [BUG] Cannot save new profile fields
Fixes iOS-340
2024-12-06 15:45:38 -05:00
shannon
c927ca278b Fix broken login navigation since removal of NeedsDependency
If a view controller is now buried in a navigation stack, its view will have no window to find the correct SceneDelegate with. So look for a navigation controller if the initial look up fails.
2024-12-05 10:35:38 -05:00
shannon
65bf555d98 Refactor: Remove NeedsDependency
The AppContext is already a singleton. SceneCoordinators are unique to UIWindowScenes, so fetch them that way.

Fixes iOS-324
2024-12-03 13:21:05 -05:00
shannon
f64b1f960a Refactor: Remove unused associated object 2024-12-02 14:45:49 -05:00