Commit Graph

5707 Commits

Author SHA1 Message Date
Nathan Mattes ddf0afcc6d
Merge pull request #1044 from mastodon/ios-157-popular-on-mastodon
Better UI/UX for suggestions for new users (IOS-157)
2023-05-25 15:42:11 +02:00
Nathan Mattes 3597e69f3c Use same way to run stuff on main everywhere (IOS-157) 2023-05-25 15:31:03 +02:00
Nathan Mattes 7a9c002fe8 Simplify overly complicated init (IOS-157)
Thank you @kimar!
2023-05-25 15:30:45 +02:00
Nathan Mattes 02d305e482 Update localizations (before release) 2023-05-25 14:50:30 +02:00
Nathan Mattes 8b7e491590 Fix search-button on empty-view (IOS-157)
Wasn't tappable on iPhone
2023-05-25 14:42:00 +02:00
Nathan Mattes 71d8cfb485 Fix name for development (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 63a79b1cfe Fix Suggestion-screen on iPad (IOS-157)
Follow-button wasn't attached to the right side
2023-05-25 14:42:00 +02:00
Nathan Mattes 1a0ab4607c Refresh hometimeline (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 5daf944384 Dismiss after following all (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 9c19bf2985 Fix build (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes ce897a0e05 Fix navigation-bar-style (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 2b59def31e Don't set title for profile-screen when modal (IOS-157)
aka when account-suggestion-screen
2023-05-25 14:42:00 +02:00
Nathan Mattes e20b2e4e11 Present suggestions when user visits onboarding and doesn't follow people (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 11bab5e337 Make button-state work (IOS-157)
Reason for button-state not working/updating feels like to be a weird combination of Combine, UIKit, Snapshots, CoreData and me being stupid and not getting a hang on it.
2023-05-25 14:42:00 +02:00
Nathan Mattes 25e4b732ed Sprinkle in some localization (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes e06d852d78 Add emoji-support (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes c4db4afcdb Kill some log-messages along the way (IOS-157) 2023-05-25 14:42:00 +02:00
Nathan Mattes 1a1b2d44a4 Download (and cache) requested follows (IOS-157)
Thanks to @kimar for pointing this out!
2023-05-25 14:42:00 +02:00
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