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

2486 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
4972b77049 Some clean up of notifications loading
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
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
d4349b980e Clear unread notification badge when arriving on or leaving the notifications screen
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-26 10:02:13 -05:00
shannon
d656d55b33 Remove visible frame from longer post previews
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-26 10:02:13 -05:00
shannon
78683a2fee Correct left alignment for statuses with short widths
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-26 10:02:13 -05:00
shannon
0e59d03d87 Only label notifications as “reply” if the post they are replying to was authored by the current user
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-26 10:02:13 -05:00
Stanislas
0b5528d1c5
Fix authentication check to use identifier instead of userID (#1414) 2025-02-24 11:19:55 -05:00
Vincent Tourraine
40f909be85
Apply different cell styles for navigations/actions in About screen (#1400) 2025-02-24 08:56:57 -05:00
shannon
619bb2784f Add light purple background to notifications about statuses with private visibility, as on the web
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-18 15:15:57 -05:00
shannon
523ff0a78e Fix typo causing boosts to show up as mentions in notifications
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-18 15:15:55 -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
4847c461a0 Show more lines of the post preview and omit the attribution header when the author avatar is taking the place of the icon
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-18 12:49:34 -05:00
shannon
a9ff00102c Show avatar in place of action icon for status notifications and mentions
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-18 12:18:52 -05:00
shannon
3a412ff714 Add isReply to status view model
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-18 11:05:49 -05:00
shannon
07a289a27e Lighten the style of the follow buttons
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 12:38:15 -05:00
shannon
1efda4e513 Make individual avatars in grouped notifications tappable
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 12:37:58 -05:00
shannon
f749fac51c Resolve layout issue
Seems that having wrapped text in the header line could cause the post preview to show fewer than the allowed 3 lines, but there was still space provided for the lines expected. This caused the layout of the whole row to get messed up, with the avatar row pushed down, out of horizontal alignment with the notification icon.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 11:50:44 -05:00
shannon
08e9af5806 Refactoring for simpler handling of grouped notification authors
Moving towards being able to navigate to the profile page of any notification author from their avatar.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 11:40:43 -05:00
shannon
6a27b50728 Add url actions and begin localizing grouped notification display
With refactoring to make that easier and more readable.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 08:39:53 -05:00
shannon
408caf05a1 A little more space between avatar row and author text, to avoid the buttons feeling crowded
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 08:39:53 -05:00
shannon
d411035930 Use images instead of text for buttons to approve/reject follow requests
Includes refactoring of the RelationshipElement enum to make them less confusing.

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-14 08:39:52 -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
872ac4c5cf Better layout of disclosure chevron and activity indicator on filtered notifications banner
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
2025-02-12 13:40:33 -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
87522825f5 Correct default visibility settings
Contributes to  #1395 [BUG] Implement Quit Public post privacy like the Android app
2025-02-12 10:45:47 -05:00
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