Commit Graph

5739 Commits

Author SHA1 Message Date
Nathan Mattes a1315b9006 Re-introduce viewModel for each cell and set button-state (IOS-157)
We need this viewModel for the button--state of the follow-button.
There's still a runtime-issue that resets the button-state to follow.
2023-05-25 14:42:00 +02:00
Nathan Mattes 1cd7bc9105 Make follow work (IOS-157)
The secret is to set the delegate before getting the account. This doesn't feel right.
2023-05-25 14:42:00 +02:00
Nathan Mattes e4578686e3 Follow all suggested user accounts (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes f1777376f4 Update title for suggestion-screen (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 9b0e503603 Minor UI-fixes (IOS-157)
- NavigationBar
- ContentInset for TableView
2023-05-25 14:42:00 +02:00
Nathan Mattes cfc60e6721 Add footer-view to follow all suggested accounts (IOS-157)
- Also: Rename folder as this contains not only the cell anymore
- This is just UI, follow-function is still missing
2023-05-25 14:42:00 +02:00
Nathan Mattes 58e5686460 Extract follow-button into its own file (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes a30c77c783 Use UserView etc. to present suggested people to follow (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 44f6fc9a5c Add request-follow/pending-states to follow-button (IOS-157, IOS-140) 2023-05-25 14:42:00 +02:00
Nathan Mattes b3309b4bd0 Show only five accounts (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 66ce4802ef Cleanup/Style TableView (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes c0532d7b56 Remove collection view from suggestion-screen (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes a2729b17c5 Minor UI-improvements in UserView (IOS-157)
Make avatar-image bigger, fix position of follow-button
2023-05-25 14:42:00 +02:00
Eugen Rochko a7364c77ba
New Crowdin updates (#1041) 2023-05-25 14:41:12 +02:00
J c3c94f15a9
Call apiService in viewDidAppear (#825) 2023-05-25 14:18:51 +02:00
Nathan Mattes b3ff75b7f9
Add Greek Localization (#1050) 2023-05-20 13:57:09 +02:00
woxtu d24fe00420
Fix the alt text view initialization (#1047) 2023-05-15 14:21:43 +02:00
Marcus Kida 3a05799df8
Remember notifications tab after app restart (#1048) 2023-05-15 14:12:41 +02:00
Nathan Mattes c7347e7f1f Bump version 2023-05-15 10:05:43 +02:00
Jed Fox 88d54b6151
Fix crash when a server has an emoji category named after its domain (#1045) 2023-05-15 09:35:08 +02:00
Nathan Mattes 774b7830d5 Update localizations before release 2023-05-10 16:26:23 +02:00
Nathan Mattes 10f8584f75 Set version to match with App Store 2023-05-10 16:25:30 +02:00
Eugen Rochko 1737ebea00
New Crowdin updates (#1022) 2023-05-10 16:22:22 +02:00
Nathan Mattes b9502d4423
Use correct color when switch between darkmode/lightmode (#1034) (#1039) 2023-05-10 11:10:17 +02:00
Nathan Mattes 4be4c046e8
Merge pull request #1032 from mastodon/IOS-140_Verified_Links
IOS-140: Implement Verified Links on UserView
2023-05-09 22:16:13 +02:00
Marcus Kida e7fe60f7d0
Fix broken code 2023-05-09 16:16:31 +02:00
Marcus Kida 141d3561dd
Only update current active user in-memory state 2023-05-09 16:07:08 +02:00
Marcus Kida 5dde21c2ae
Fix typo 2023-05-09 16:05:32 +02:00
Marcus Kida 3e6d75e1b5
Update in-memory following/blocking states upon (un)follow/block action (IOS-140) 2023-05-09 16:03:37 +02:00
Marcus Kida b8744c24fc
Fix UserView follower count label not supporting dynamic type (IOS-140) 2023-05-09 15:47:03 +02:00
Marcus Kida 496be0c4df
Merge branch 'IOS-140_Verified_Links' of github.com:mastodon/mastodon-ios into IOS-140_Verified_Links 2023-05-09 15:44:45 +02:00
Marcus Kida dbf6e6b467
Remove duplicate code (IOS-140) 2023-05-09 15:44:39 +02:00
Marcus Kida a7485eba29
Update Mastodon/Diffable/User/UserSection.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-09 15:31:54 +02:00
Marcus Kida 93533654f8
Remove dead code 2023-05-09 11:36:19 +02:00
Marcus Kida 5efdb3c209
Revert FollowedBlockedUserIdProviding (IOS-140) 2023-05-09 11:33:31 +02:00
Marcus Kida c7c635d32a
Implement MastodonAccountInMemoryCache (I)OS-140) 2023-05-09 11:15:28 +02:00
Marcus Kida 9d2e8eca16
Improve UserView button behavior (IOS-140) 2023-05-08 17:24:41 +02:00
Marcus Kida 096b1200b0
Improve follow/unbutton behavior (IOS-140) 2023-05-08 16:41:29 +02:00
Marcus Kida d253143969
Fix typo 2023-05-08 15:25:11 +02:00
Marcus Kida 92704dc7f7
Implement fetching of following / blocking for user list buttons (IOS-140) 2023-05-08 15:24:01 +02:00
Marcus Kida 4de184c85f
Merge branch 'develop' into IOS-140_Verified_Links 2023-05-05 15:40:46 +02:00
Nathan Mattes 96e9d8e5ad
Merge pull request #993 from mastodon/ios-37-hashtag-widget
Hashtag-Widget (IOS-152)
2023-05-05 15:35:57 +02:00
Nathan Mattes 413a29208f Update hashtag every 15 minutes (IOS-152) 2023-05-05 15:35:20 +02:00
Nathan Mattes f3becbec3f
Show raw html in case of something went wrong (IOS-152)
Co-authored-by: Jed Fox <git@jedfox.com>
2023-05-05 15:19:46 +02:00
Nathan Mattes 0fbe54d368 Use colors from assets (IOS-152) 2023-05-05 15:15:37 +02:00
Marcus Kida f63b56bbf2
Make NSAttributedString extension allow multiple palceholder string replacements (IOS-140) 2023-05-05 14:48:02 +02:00
Marcus Kida 2f4ce19983
Fix verified link priority (IOS-140) 2023-05-05 14:47:38 +02:00
Marcus Kida 622953c649
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView+ViewModel.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:28:12 +02:00
Marcus Kida de336e9341
Update MastodonSDK/Sources/MastodonUI/View/Content/UserView.swift
Co-authored-by: Nathan Mattes <hallo@bullenscheisse.de>
2023-05-05 14:26:36 +02:00
Nathan Mattes d406dcd553 Use better strings in strings-files, too (IOS-152) 2023-05-05 12:29:46 +02:00