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

44 Commits

Author SHA1 Message Date
shannon
d2b4d7b6b4 Refactor: Filter and Content Warning display and management
A large amount of change primarily to the view model layer, to make reasoning about the content reveal/hide state easier.

To prevent terrible scrolling jags while allowing the cells to be shorter when hiding content, the layout changes for content display state now happen before the cell is returned by the datasource provider and the tableview is reloaded when a status’s display mode changes.
2024-11-28 13:08:01 -05:00
Nathan Mattes
8d535be84a Fix bottom margins as requested (IOS-241) 2024-07-24 16:20:23 +02:00
Marcus Kida
49f773e1a4
Improve CW Overlay / size (IOS-278) 2024-05-22 13:00:41 +02:00
Nathan Mattes
b120d32efa
Post cell cleanup (IOS-232) and other fixes (#1272)
* Replace icons with SF Symbols (IOS-232)

* Remove visibility-icon from Status (IOS-232)

* Use relative time formatter and switch position of timestamp/user (IOS-232)

* Set TimelineSelector-Button-Position (IOS-232)

Shouldn't switch now any longer. Also: Refactoring.

* Fix position of the Home-icon in TabBar (IOS-232)

TIL: Don't set an empty string, otherwise the position of the TabBarItem-icon breaks
2024-04-16 13:19:49 +02:00
Nathan Mattes
62cc9105a9
Fix Profile Editing (#1245)
* Fix image-editing (#1244)

Probably introduced in 76304e5 and we just missed that :)

* Removed unused property (#1244)

* Don't allow tapping on followers/followees when editing my profile

* Remove obsolete code

relationship-update on viewDidAppear is not needed anylonger as we use update user/relationship using notifications like in the good ol days

* Make relationship optional and use switch-pattern-matching for button-configuration

* Don't change relationship when relationship is updating

* [WIP] don't toggle, but just set booleans.
2024-03-18 16:27:12 +01:00
Nathan Mattes
c523f97d0c Merge branch 'develop' into ios-192-profile-about
# Conflicts:
#	MastodonSDK/Sources/MastodonUI/View/Control/ProfileRelationshipActionButton.swift
2024-02-09 12:43:56 +01:00
Nathan Mattes
a90d5ea084
Fix Follow-Button in App-Dark Mode (#1218) (#1222)
* Don't set colors (#1218

* Use UIButton.configuration for ... configuration (#1218)

* Fix activity indicator (#1218)
2024-02-09 11:12:15 +01:00
Nathan Mattes
d1b5b9fc98 Localize button-title for blocked domains (IOS-192) 2024-01-02 15:36:26 +01:00
Nathan Mattes
8e7e16870c Fix some warnings (IOS-192)
As relationship-information isn't optional anymore, there' no need for ?? everywhere (I just missed some)
2023-12-31 12:59:39 +01:00
Nathan Mattes
47986262bc Use relationships in Report-process (IOS-192) 2023-12-31 12:59:39 +01:00
Nathan Mattes
6225c50008 Add some actions to Relationship-action-button (IOS-192)
Well, it's basically just unblock, unmute or follow/unfollow
2023-12-31 12:57:56 +01:00
Nathan Mattes
dda0ae2d7c Show text on relationship-button based on relationship (IOS-192) 2023-12-31 12:57:56 +01:00
Nathan Mattes
76304e59e5 Configure Profile-button based on relationship and accounts (IOS-192)
Also `me` is not optional anymore as we need it
2023-12-31 12:57:56 +01:00
Nathan Mattes
94c51eaed6 Migrate FollowButton to use UIButton.Configuration
also: Refactor Button-Background-Stuff
2023-10-19 13:10:14 +02:00
Nathan Mattes
fbde2a5833 More cleanup 2023-09-22 15:27:46 +02:00
Nathan Mattes
8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +02:00
Nathan Mattes
245543ea60 Fix broken localization
- (Re)-Add missing strings
- Fix keys
2023-03-27 21:29:38 +02:00
Jed Fox
414df3154a
IOS-92: Enlarge post action buttons at larger text sizes (#927) 2023-03-20 08:39:11 +01:00
Marcus Kida
c1dab782b1
IOS-69: Label this “re-blog” otherwise it sounds like “reh-blog” (#975) 2023-03-15 14:58:25 +01:00
Marcus Kida
6c260f942f
feat: Implement abbreviated status counts 2022-12-28 11:59:24 +01:00
Jed Fox
47024bfb4d
Differentiate between “My followers” and other accounts followers in i18n 2022-12-13 10:07:37 -05:00
Kyle Bashour
03918301fb Space buttons instead of stretching 2022-11-26 19:26:10 -08:00
Stefan Painhapp
abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
Jed Fox
d7739340f2
Merge remote-tracking branch 'upstream/develop' into post-author-a11y 2022-11-01 09:40:01 -04:00
CMK
0b0d7fcd48 chore: cherry pick 00eddc2aae79591ba0c1fae12b68d0b5010f29b9 from feature-post-edit branch 2022-11-01 14:34:00 +08:00
Jed Fox
211ff344fb
Update reply button labelling to match the others 2022-10-31 15:07:27 -04:00
Jed Fox
4da11c9dfb
Mark the spoiler overlay view as a button 2022-10-31 13:15:29 -04:00
Jed Fox
8f3caba089
Remove the status metric view from the accessibility hierarchy 2022-10-31 12:40:18 -04:00
nyaxix
213ef94ec5 Add bookmarking and bookmarks view
Based heavily on the work for favorites.

Adds bookmarking functionality to the application. The status view has been updated to include a bookmark button that can bookmark/unbookmark a status. The profile page has been updated to include a button in the header to navigate to a page that lists your bookmarks.
2022-08-14 17:51:36 -05:00
CMK
0c8e7d2cea feat: update to new purple tint color 2022-06-02 17:48:18 +08:00
CMK
70a6e11d30 chore: use i18n strings for report flow 2022-05-11 21:10:10 +08:00
CMK
41e1b75c62 feat: add sensitive hint label for status media 2022-04-18 16:15:24 +08:00
CMK
c4ab4f68c6 fix: status sensitive toggle logic issue 2022-04-18 15:33:29 +08:00
CMK
c57c3b4304 feat: make adaptive profile card layout on iPad when search tab display as compact column 2022-04-18 10:47:55 +08:00
CMK
b0fca49413 feat: add For You tab for Discovery scene 2022-04-14 21:15:21 +08:00
CMK
080f20d253 feat: add hashtag and news list for Discovery scene 2022-04-13 20:43:16 +08:00
CMK
a1b9ac8394 chore: update status timeline margin 2022-02-18 17:49:20 +08:00
CMK
74334126f0 chore: update i18n strings 2022-02-15 14:45:34 +08:00
CMK
ce80409ead feat: make status detail accessible 2022-02-14 19:34:22 +08:00
CMK
d3e8f85cb3 feat: add notification timeline fetcher 2022-02-11 19:27:14 +08:00
CMK
56ce39cb46 chore: update action toolbar icons 2022-02-11 15:27:29 +08:00
CMK
bdf7114fef feat: update status content warning UI 2022-02-08 19:50:18 +08:00
CMK
caaf66286f feat: add content warning for post spoiler 2022-01-29 17:02:30 +08:00
CMK
b76b3a2750 feat: adapt the app to async & await. Update timeline UI 2022-01-27 21:23:39 +08:00