2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

2460 Commits

Author SHA1 Message Date
shannon
bfee18e95c Better layout of grouped notification avatar row
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-11 15:51:17 -05:00
shannon
3396fd10c9 For now, use plain string version of inline post content, so that SwiftUI stylings work as expected
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-11 15:51:17 -05:00
shannon
d07e9891c6 Add indicator of media attachments to the inline status view
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-11 15:51:17 -05:00
shannon
13619fcfe5 Omit domain from author header of inline post preview if author is on same domain as current user
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-11 15:51:17 -05:00
shannon
d50032b8cc Remove link styling from inline post previews
The links are not tappable in this context.
Also, remove default text size so that displaying views can control that.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-11 15:51:17 -05:00
shannon
a24b2a3240 Dark mode update: .secondarySystemBackground for inline post previews 2025-02-11 15:51:17 -05:00
shannon
ef4ee4cd2f Subheadline font for inline post content
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-11 15:51:17 -05:00
shannon
c9bf9c221b Fallback to V1 ungrouped notifications if grouped notifications returns an error
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-10 13:29:13 -05:00
shannon
03b0bd8ac4 Add filter policy button to new grouped notifications view
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-07 15:03:28 -05:00
shannon
7d2e8a1db9 Layout tweaks and temporary dark mode improvements
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-07 14:57:53 -05:00
shannon
bfecb30b11 Update notifications list when the notifications filtering policy changes
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-07 13:19:49 -05:00
shannon
bba72cc6fb Show filtered notifications banner on the new grouped notifications screen
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-07 10:22:19 -05:00
shannon
3acc6ce99d Put some space between navbar and notifications selection control
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-06 11:16:09 -05:00
shannon
893be62465 Code cleanup
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-06 09:55:17 -05:00
shannon
afdecc2d1f Remove unused code
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-06 08:44:19 -05:00
shannon
966cef6541 Add more navigation from grouped notifications
To show appropriate account or your followers list.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-05 16:36:28 -05:00
shannon
d21a859ac5 Add some navigation to grouped notifications
Tapping on header of notification with a single author will open profile screen.
Tapping on inline post preview will open thread view.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-05 14:21:22 -05:00
shannon
d8c4886f51 Add avatar to InlinePostPreview
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-05 12:55:55 -05:00
shannon
6155899a00 Better display of post content in the new grouped notifications view
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-05 12:55:54 -05:00
shannon
6c6dd07036 Grouped notifications now have pull to refresh and scroll to bottom to load older
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-04 12:53:48 -05:00
shannon
7e0c086191 Fix layout problems caused by GeometryReader
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-03 17:14:11 -05:00
shannon
f72f74884c Account for view width and possible + more label when determining number of avatars to show
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-03 17:14:11 -05:00
shannon
8e46f4a976 Add poll summary text for polls run by others
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-03 17:14:10 -05:00
shannon
292b08c401 Finish building out the basics of the new grouped notifications layout
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-03 13:01:04 -05:00
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