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

1289 Commits

Author SHA1 Message Date
shannon
0eb60db7d5 Add unread indicator for notifications screen
Does not yet send updated last read info to server.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-26 10:02:14 -05:00
shannon
1946a9b884 Be sure to check domain as well as userID for account equivalency
Contributes to #1413 [BUG] handle account switching when accounts have the same id
2025-02-26 10:02:13 -05:00
shannon
7ea113fa7f Add caching to grouped notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-26 10:02:13 -05:00
shannon
c85bbad148 Add label above notification to call attention to public vs. private mentions and replies
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-18 14:02:27 -05:00
shannon
559e9b0175 Turn grouped notifications ON by default for beta testers
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 17:33:25 -05:00
shannon
b933fd602b Update view after boosting or favoriting
Fixes #1409 [REGRESSION] Favoriting and boosting from the home timeline doesn't always stick
2025-02-14 15:02:20 -05:00
shannon
f2311cc0fd Additional localized strings
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 08:39:53 -05:00
shannon
24c17878b8 Clear unused variable warning 2025-02-13 08:29:24 -05:00
shannon
c0f1e60c71 Allow unfollow action from new notifications view
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-12 17:06:00 -05:00
shannon
5cb8d4404f Use default keyboard for the compose window so that Return is easily accessible
Fixes #1405 [Feature]: Do not automatically switch to compact hash-keyboard
2025-02-12 13:21:40 -05:00
shannon
44ac523f33 Implement quiet public as a default post visibility option
Update code to handle the additional .unlisted post visibility option. And make sure to fetch full account info, which includes any custom privacy settings.

Fixes  #1395 [BUG] Implement Quit Public post privacy like the Android app
2025-02-12 10:55:59 -05:00
shannon
d448815c9a Add localizations for attachment types
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-11 15:51:17 -05:00
shannon
5a00f7665d Allow Follow button to grow in width somewhat before wrapping its text. Remove ineffectual font setting. 2025-02-11 15:51:16 -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
b961dcefa9 Never group notifications when viewing notifications from a single source account
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-07 10:48:17 -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
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
40fe4ab29f Restore ability to repeatedly request notifications newer than the latest displayed
Fixes #1402 [REGRESSION] Notifications pull to refresh never updates contents
2025-02-04 13:25:28 -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
4c0ea93d1f Restore poll view to notifications 2025-01-28 15:01:50 -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
82f844d83a Do not default to replying to an unlisted post with a public post
Fixes #242 Replies' privacy scope should not be higher than original post
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
54861dcf6f Quick fix for missing instance configuration
For further work, see IOS-363

Fixes #1394 [BUG] Max. character limit server not honored
Fixes #1396 [REGRESSION] Cannot translate posts
2025-01-27 16:36:35 -05:00
shannon
6e10bca2fe Turn off default for testing new grouped notifications 2025-01-24 16:09:12 -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
a7f82c430b Avoid showing duplicate poll options
This is an invalid state, but currently it is possible to create a valid poll (no identical options) and later edit it so that two or more options contain identical strings. Bug (#33707) has been filed for the mastodon repository.

Fixes #1332 [BUG] Mastodon app crashes when a poll with identical answers reaches the screen
2025-01-23 13:46:34 -05:00
shannon
f45ccacf1f Make sure to pause video play when not in use. 2025-01-23 10:49:24 -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
whattherestimefor
7f0c9897d1 Update NotificationTimelineViewModel.loadMore() for recent changes 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
1e6ae1796e Fix vertical clipping of author name in status card
Remove Mastodon logo and update color and font of author name text, moving towards the planned new layout design.

Fixes IOS-353
2025-01-07 09:34:40 -05:00
shannon
d12108411f Definitely remove duplicates before setting new records
Contributes to IOS-351
2025-01-06 15:36:44 -05:00
shannon
b45f752a10 Try avoiding animations while updating cell heights.
Contributes to IOS-352
2025-01-06 15:35:40 -05:00
shannon
f04699960f Add NotificationGroup struct 2024-12-19 15:21:30 -05:00
shannon
9a7b3215e0 Update localizations 2024-12-18 11:12:21 -05:00
shannon
804a5d0fda Control the height of the compose window a little better.
Avoids the known hang, which was caused by getting stuck in a loop setting the frame back and forth over and over. Looked like it was adding and then removing (and then adding, etc) the height of a single line of text. Possible the username was shifting back and forth between truncating and wrapping, but have not confirmed that.

Fixes #705 IOS client consistently hangs when writing new post at ~= 150 chars
2024-12-18 10:52:39 -05:00
shannon
7961514160 Make taps on the author view either activate the buttons or show the author, never open the post in thread view.
Fixes IOS-143
2024-12-17 15:10:29 -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
a5ca642a7f Correctly update tableview when height of cell changes, to avoid scrolling problems later. 2024-12-17 12:52:20 -05:00
shannon
34cf069c20 Fix crucial typo so that we filter the incoming records, not the existing ones. 2024-12-17 08:44:08 -05:00