Commit Graph

2110 Commits

Author SHA1 Message Date
Nathan Mattes 8a824e80d6 Remove flex 2023-09-22 15:27:05 +02:00
Nathan Mattes 74c324f9cf Get rid of commonglog 2023-09-22 15:27:05 +02:00
Marcus Kida dcfe13ac36
Merge branch 'develop' into performance_experiments 2023-09-22 11:36:57 +02:00
Nathan Mattes 92ca2a006c Fix colors for hashtag-follow-button 2023-09-20 21:04:49 +02:00
Nathan Mattes a2990d54e2 Calculate offset without loader-cell (IOS-141)
Sorry, Stephen Fry! It wasn't anything personal
2023-09-20 20:09:42 +02:00
Nathan Mattes 5c71b7ef45 Search for everything when user taps "search" on keyboard (IOS-141) 2023-09-20 19:59:46 +02:00
Nathan Mattes a7a387dad5 Add a typealias for `NeedsDependency & UIViewController` (IOS-141)
Well, okay, `ViewControllerWithDependencies` not super creative.
2023-09-20 18:56:34 +02:00
Nathan Mattes a0f7454a3d Show loading-indicator (IOS-141)
aaaaand simplify things as we don't need a super-dynamic search-result-screen anymore.
2023-09-20 18:47:35 +02:00
Nathan Mattes e041a7e086 Add Hashtag-Regex (IOS-141) 2023-09-20 16:29:30 +02:00
Nathan Mattes d9243c25ce Only search for accounts when searching for a person (IOS-141) 2023-09-20 16:04:23 +02:00
Nathan Mattes 0c5b3a64cf Adopt search to follow mastodon-logic (IOS-141)
as defined here: https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/features/compose/components/search.jsx#L280-L310
2023-09-20 16:03:46 +02:00
Nathan Mattes 68dc99004c Fix background-color (IOS-141) 2023-09-18 23:10:59 +02:00
Nathan Mattes c1b80a73c2 Refactor navigation-logic into a coordinator (IOS-141) 2023-09-18 21:17:39 +02:00
Nathan Mattes fa6b3fed24 Add https if there's no prefix (IOS-141) 2023-09-18 17:58:17 +02:00
Nathan Mattes 5cb1280088 Fix separator-inset on search-history (IOS-141) 2023-09-18 17:48:26 +02:00
Nathan Mattes ee472c5920 Fix separator-inset (IOS-141) 2023-09-18 17:45:02 +02:00
Nathan Mattes 3ce8e29244 Don't prioritize hashtags or users (IOS-141) 2023-09-18 17:32:01 +02:00
Nathan Mattes dd569fe0ac Put CondensedUserView into their own class (IOS-141) 2023-09-18 17:21:36 +02:00
Nathan Mattes ce37a8eb47 Copy condensed version of user-view to collection-view in search-history (IOS-141) 2023-09-18 17:05:29 +02:00
Nathan Mattes a7bab76f96 Add a cell for profiles in search results (IOS-141) 2023-09-18 16:12:42 +02:00
Nathan Mattes b74f17c6b6 Don't show follow-button for me (IOS-141) 2023-09-17 18:14:42 +02:00
Nathan Mattes 11863b9458 Show magnifying glass next to hashtags (IOS-141) 2023-09-17 17:44:38 +02:00
Nathan Mattes c4b31112a4 Fix build (IOS-141) 2023-09-17 17:27:42 +02:00
Nathan Mattes cb4c5a938d Consider mastodon-domains for other instances and profiles (IOS-141) 2023-09-17 17:21:53 +02:00
Nathan Mattes 4378c1e971 Go to link (IOS-141)
It's either a profile (then show the profile) or a status (than show the status) or a link (then open the link in safari)
2023-09-17 16:57:15 +02:00
Nathan Mattes cde28f576c Seach-key dismisses keyboard (IOS-141) 2023-09-17 15:16:47 +02:00
Nathan Mattes ed5a0f3abc Show max. 10 items in history (IOS-141) 2023-09-17 15:16:25 +02:00
Nathan Mattes 7abc536d01 Add localization to "No such user"-alert (IOS-141) 2023-09-17 14:40:23 +02:00
Nathan Mattes 15436738d5 Go to user (IOS-141) 2023-09-17 14:34:10 +02:00
Nathan Mattes c0f2dc5649 Add recent searches to recent searches (IOS-141) 2023-09-17 13:52:35 +02:00
Nathan Mattes 558f88e77a Sprinkle in some localization (IOS-141) 2023-09-17 13:34:08 +02:00
Nathan Mattes ed56e7aebe Show posts with a certain keyword instead of Hashtag (IOS-141) 2023-09-17 13:18:29 +02:00
Nathan Mattes 1ad591fd82 Search for people (IOS-141) 2023-09-17 13:01:46 +02:00
Nathan Mattes a304fb2108 Show profile-page for suggested accounts in search (IOS-141) 2023-09-17 12:48:58 +02:00
Nathan Mattes 1afecc85ea Show hashtag-page (IOS-141) 2023-09-16 18:39:33 +02:00
Nathan Mattes ed11d01267 Show up to three hashtags and up to three users (IOS-141) 2023-09-16 17:57:29 +02:00
Nathan Mattes 2e384f3cb5 WIP: Add some search-implementation and clean stuff (IOS-141)
Shame on me for such a big commit. I'm new to iOS-development, sorry :nerd:
2023-09-15 17:45:22 +02:00
Nathan Mattes e8509a063d Show title instead of "x" for clear-all-button (IOS-141)
Also: Move stuff around. It doesn't make sense for search-diffable-stuff to live in an enitrely different folder than the rest.
2023-09-15 11:38:12 +02:00
Nathan Mattes c892034093 More cleanup (IOS-141) 2023-09-15 10:49:32 +02:00
Nathan Mattes 0fa75fc1d3 Remove some logs while figuring out how search works (IOS-141) 2023-09-14 16:56:20 +02:00
Nathan Mattes 97418db0b5 Update localizations 2023-08-28 13:01:01 +02:00
Nathan Mattes bbda8c41b6 Add post-visibility to notifications (#594) 2023-08-28 12:58:46 +02:00
Nathan Mattes a18872340f Don't try to reload every three seconds in case of 401 (#1104) 2023-08-21 13:20:13 +02:00
Nathan Mattes 075b8a739a Fix some warnings 2023-08-21 11:32:00 +02:00
Nathan Mattes a20f9a57c2 Add authentication to trends (#1104)
And clean up here and there.
2023-08-21 11:29:48 +02:00
Nathan Mattes 49c273e056 Increment number of errors by one (#898) 2023-07-20 11:49:47 +02:00
Nathan Mattes 9699e93169
Merge pull request #1089 from j-f1/fix-double-tap-image-text
Restore zoom behavior when double-tapping on text in an image
2023-07-04 16:36:59 +02:00
Nathan Mattes cc2f7f0b8c
Hide activity indicator in case of no emojis (#1088) 2023-07-04 16:08:11 +02:00
Jed Fox 967b7e5b53
Prioritize the double-tap-to-zoom gesture over other double-tap gestures 2023-07-04 08:49:55 -04:00
Jed Fox e16185fa71
Remove unused long press gesture recognizer 2023-07-04 08:49:26 -04:00
Nathan Mattes e50b9e13a6
Add belarusian localization (#1083) 2023-07-04 10:26:30 +02:00
Nathan Mattes 06e9e3c990 Fix build 🤦 (IOS-171) 2023-07-02 14:52:34 +02:00
Nathan Mattes 4b5151bb39 Get servers and choose one randomly for signup (IOS-171)
Server list from backend has a weight which plays a role in which server gets selected.
mastodon.social is the fallback in case something goes wrong
2023-07-02 14:43:49 +02:00
Jed Fox bd1339e9f2
Hide the entire top toolbar for videos & audio (#1070) 2023-06-29 08:54:10 +02:00
Nathan Mattes 7b08403035 Add menu-action to untranslate a translated status (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes d455da85d2 Add follow/unfollow-option to user-section (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 846fa44369 Refactor action-menu to better support sections (IOS-103) 2023-06-13 15:30:30 +02:00
Nathan Mattes 081727865f Show correct checkmark 2023-06-13 14:47:43 +02:00
Nathan Mattes aa9a6ee701 Make account switching work again 2023-06-13 14:47:43 +02:00
Marcus Kida 1bb8e64574 Fix TabBar avatar loading 2023-06-13 14:47:43 +02:00
Nathan Mattes 58ddb2bd06 Fix build (#1053) 2023-06-13 14:47:43 +02:00
Nathan Mattes 8df4729cdd Load profile 2023-06-13 14:47:43 +02:00
Nathan Mattes 5513174696 Apply differences on main-queue
This fixes a lot of warnings in Console when searching for a server
2023-06-13 14:47:43 +02:00
Marcus Kida 06c72a022a Persist Authentication in Keychain 2023-06-13 14:47:43 +02:00
Marcus Kida d570d3ef09 Replace MastodonAuthentication to not be backed by CoreData 2023-06-13 14:47:43 +02:00
Jed Fox c45e40b21e
IOS-159: Fix tap location check for dismissing media preview (#1059) 2023-06-07 11:35:05 +02:00
Nathan Mattes 8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +02:00
Jed Fox 4aff4c65c5
Fix loading of follower/following count on profile pages (#1053) 2023-05-30 08:32:10 +02:00
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 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 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 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 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
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
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 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 05c35e9bd4 Set timezone for joined-dates to UTC (#1015)
Fixes #1015
2023-05-04 10:48:12 +02:00
Nathan Mattes d3680618da Add relevant base-classes for Hashtag-Widget (IOS-37) 2023-05-02 21:35:40 +02:00
Marcus Kida 1816c7ce1a
Implement UserView follow button on SearchResultsViewController (IOS-140) 2023-04-25 14:00:57 +02:00
Marcus Kida e2a05cd747
Implement follow/unfollow/block in UserView (IOS-140) 2023-04-25 12:48:53 +02:00
Marcus Kida 52fb1eff1f
Begin implementing follow button on UserView (IOS-140) 2023-04-25 10:54:10 +02:00
Marcus Kida 645542c581
Begin implementing verified link in UserView (IOS-140) 2023-04-20 16:29:12 +02:00
woxtu 2214bb7342
Remove a duplicate condition (#1021) 2023-04-19 22:40:09 +02:00
Jed Fox 124638a0cb
IOS-148 Updates to the media badging look & feel (#1019) 2023-04-19 22:38:58 +02:00
Marcus Kida 75bde8258f
IOS-95: Mark filter buttons as a11y buttons (#1011) 2023-04-17 21:51:15 +02:00
Nathan Mattes 0b9277db37
Center image (IOS-145) (#1010) 2023-04-12 14:04:19 +02:00
Nathan Mattes 21f57d3623
Enable missing parallax-effect (IOS-134) (#1008) 2023-04-12 14:04:06 +02:00
Nathan Mattes 5e1e22a723
Updated Welcome-Screen (IOS-134) (#1005) 2023-04-08 23:10:34 +02:00
Marcus Kida 560003f78b
Improve style of "Check your Inbox" screen IOS-139 (#1000) 2023-04-04 16:22:02 +02:00
Marcus Kida 7bdc37ac05
Improve Create Account VQA IOS-138 (#999) 2023-04-04 16:21:47 +02:00
Nathan Mattes 1672121675
Set padding by hand (#413) (#1001) 2023-04-01 22:11:41 +02:00
Marcus Kida 087a02c8da
Improve server rules in onboarding according to VQA (#996) 2023-03-28 21:44:51 +02:00
Nathan Mattes eb826fb310
Remove wizard (IOS-135) (#995) 2023-03-28 21:36:32 +02:00
Marcus Kida b7508f8fb6
IOS-132: Server picker VQA improvements (#994) 2023-03-28 11:13:13 +02:00
Nathan Mattes 245543ea60 Fix broken localization
- (Re)-Add missing strings
- Fix keys
2023-03-27 21:29:38 +02:00
Marcus Kida 41d3d8a7c6
IOS-131: Remove blurry background, make pageControl background promintent, remove inset (#991) 2023-03-27 15:41:33 +02:00
Marcus Kida 0c239a7882
IOS-129: Redesign onboarding buttons and add loading indicator on Next-Button (#989) 2023-03-23 07:51:23 +01:00
Marcus Kida 8f327d4c05
IOS-113 fix general vqa issues (#986) 2023-03-21 08:01:40 +01:00
Nathan Mattes 8060017880
IOS-113, bullet 4: Replace icons (#980)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-20 08:45:28 +01:00
Jed Fox 414df3154a
IOS-92: Enlarge post action buttons at larger text sizes (#927) 2023-03-20 08:39:11 +01:00
Bedir Ekim 0dd8a9178e
Unnecessary Space Deleted (#984) 2023-03-20 08:27:15 +01:00
Jed Fox f0753e9d0d
IOS-80 Add AXCustomContent to ProfileCardView (#979) 2023-03-20 08:02:41 +01:00
Marcus Kida 85ad331a5e
IOS-94: Improve accessibility of the onboarding intro (#972) 2023-03-17 11:16:58 +01:00
Nathan Mattes 245582961b
IOS-123: Open profiles and statuses in app (#981) 2023-03-17 10:47:19 +01:00
Marcus Kida bb15e16959
IOS-82: Increase Contrast (#973) 2023-03-16 09:05:41 +01:00
Marcus Kida 73ce92216a
IOS-110: Fix Cannot switch accounts when large content viewer is enabled (#976) 2023-03-16 00:18:22 +01:00
Marcus Kida d85b151757
IOS-96: Label Privacy Policy links as links/buttons in the onboarding (#971) 2023-03-15 14:53:06 +01:00
Marcus Kida 71a72d2581
IOS-97: Improve labelling of username field on Create Account screen (#970) 2023-03-15 14:52:49 +01:00
Nathan Mattes cd4cd66f61
Switch tabs in notification-screen (#969) 2023-03-13 20:37:55 +01:00
Jed Fox 2987149ba5
IOS-87: Add “Search” and “Explore” input labels for Search & Explore (#935)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-13 12:54:52 +01:00
Jed Fox e6b8908ca5
IOS-75: Make StatusCardControl an accessibility element (#934)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-03-13 12:54:40 +01:00
Jed Fox 4dbf8d35ec
Don’t assertionFailure() when tapping on non-status cells (#963) 2023-03-13 11:34:40 +01:00
Nathan Mattes 0c224f47df
Implement post editing / edit history (#875)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
Co-authored-by: Jed Fox <git@jedfox.com>
2023-03-02 11:06:13 +01:00
Marcus Kida 2b805872cc
Fixes #942 - Tapping home button or Pull to Refresh does not reload (#960) 2023-03-01 16:41:20 +01:00
Jed Fox 44f366083c
Improve the UX around post translation (#933) 2023-03-01 15:05:22 +01:00
Nathan Mattes 75e1dc3abd
Update server-list-sorting during onboarding (IOS-116) (#956) 2023-02-25 12:35:29 +01:00
Jed Fox b70bab901a
IOS-88: Use post content as the primary user input label for posts in feeds/threads (#937) 2023-02-23 12:58:14 +01:00
Jed Fox d3bcaa3f01
IOS-86: Edit L10n.Scene.Favorite.title from "Your Favorites" to "Favorites" (#936) 2023-02-14 22:29:53 +01:00
Marcus Kida fe12019370
Change random server picking logic to require "general" category, prefer no approval and own language code (#929) 2023-02-08 23:41:49 +01:00
Marcus Kida d7c9b1ded7
Merge pull request #923 from j-f1/profile-about-a11y
IOS-76: Improve accessibility of the About fields on profiles
2023-02-08 11:05:38 +01:00
Jed Fox eef98ea70b
Fix large content viewer for DoubleTitleLabelNavigationBarTitleView 2023-02-07 21:20:39 -05:00
Jed Fox 952ae0f621
Expose metas in fields as accessibility actions 2023-02-07 15:36:27 -05:00
Jed Fox 5a3afef978
Make ProfileFieldCollectionViewCell an accessibility element 2023-02-07 13:27:45 -05:00
Jed Fox f1099326d9
Fix typo in method name 2023-02-07 13:12:49 -05:00
Marcus Kida a6dc97b22b
Merge pull request #915 from mastodon/IOS-37_Widgets
Feature: Followers, Multiple Followers, Latest Followers Widget
2023-02-07 13:54:47 +01:00
Marcus Kida 9a3ba02683
feat(App): Implement Haptic Feedback for Tab switches and Timeline reload 2023-02-07 11:38:07 +01:00
Marcus Kida e88dea0034
Merge branch 'develop' into IOS-37_Widgets 2023-02-07 09:53:01 +01:00
Marcus Kida 9f40f4ae0f
Merge pull request #919 from j-f1/recent-searches-heading
IOS-78: Mark “Recent searches” as a heading
2023-02-07 09:49:48 +01:00
Marcus Kida 5fc04dfc07
Merge pull request #918 from j-f1/user-search-a11y
IOS-77: Improve accessibility of account rows in search results/recent searches
2023-02-07 09:49:14 +01:00
Marcus Kida f4b3f7550a
Merge pull request #917 from j-f1/translated-info-view-a11y
IOS-81: Make “Translated From” UI accessible
2023-02-07 09:48:16 +01:00
Marcus Kida 0647cae24a
Merge branch 'develop' into IOS-37_Widgets 2023-02-07 08:18:35 +01:00
Jed Fox e6a9a14361
Update label for X button next to Recent searches from “close” to “clear” 2023-02-06 22:35:03 -05:00
Jed Fox 3b4d782325
Mark “Recent searches” as a heading (IOS-78) 2023-02-06 22:32:30 -05:00
Jed Fox 21e4a81ca7
Make UserView accessible 2023-02-06 22:22:22 -05:00
Jed Fox d933f2d0cb
Fix sizing of userView in search history 2023-02-06 22:08:38 -05:00
Jed Fox 9c30ecd9c0
Make the translation info view accessible at the root of a thread 2023-02-06 21:39:41 -05:00
Jed Fox 5118649dd4
IOS-67: Add the “Header” and “Button” traits to the logo button 2023-02-06 21:15:13 -05:00
Marcus Kida 3b87916d9a
chore(Feed): Improve Feed performance by fetching statuses in batches (#914) 2023-02-07 00:46:35 +01:00
Marcus Kida d685b9e365
Add LatestFollowersWidget 2023-02-06 11:39:40 +01:00
Marcus Kida 8438bbc032
chore(Widget): Rename MultiFollowersCountSmallIntent -> MultiFollowersCountIntent 2023-01-31 14:55:59 +01:00
Marcus Kida 9eb26d4ed8
feat(Widget): Implement MultiFollowersCountWidget for single Column 2023-01-31 14:37:49 +01:00
Marcus Kida 5a3636cb22
feat(Widget): Implement FollowersCountIntent 2023-01-24 11:15:21 +01:00
Marcus Kida c0cd51c0d4
fix(Mention): Fixes an issue where user Profiles are not found because matching is not done via href (#895) 2023-01-19 13:47:16 +01:00
Marcus Kida 37678caed5
Merge pull request #878 from mastodon/IOS-31_ActionExtension
Feature: Action Extension
2023-01-12 10:24:20 +01:00
Marcus Kida 412d9b6fc8
Merge pull request #877 from j-f1/username-align
Left-align the username in the profile header
2023-01-12 10:24:03 +01:00
Marcus Kida 83f4eb1d8e
Merge pull request #862 from mastodon/fix-urlscheme-profile-resolve
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail
2023-01-11 15:31:22 +01:00
Marcus Kida 68fe3cb8f2
feat(ActionExtension): Implement Open in Search as Fallback 2023-01-11 13:09:23 +01:00
Jed Fox df25feb7fd
Left-align the username in the profile header 2023-01-10 17:57:09 -05:00
Marcus Kida 7582fb5ab5
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail 2023-01-10 16:40:55 +01:00
Marcus Kida 35dfd13c96
fix(share-menu): Fixes URL for shared status when using suare.and.arrow.up share menu on status 2023-01-09 15:48:56 +01:00
Nathan Mattes 35d9caabbe Minor cleanup here and there (#690) 2023-01-08 15:34:16 +01:00
Nathan Mattes d220949514 Remove obsolete dependency (#690) 2023-01-08 15:25:52 +01:00
Nathan Mattes f9661db0df Remove duplicated code (#690) 2023-01-08 15:15:31 +01:00
Nathan Mattes 485ecc8e57 Fix title for login-screen (#690)
Was a norma label, is the _real_ title now
2023-01-08 14:53:15 +01:00
Nathan Mattes 023e70ebcb Add page control (#690) 2023-01-08 14:25:22 +01:00
Nathan Mattes 04f19b6b9d Fix content-page-size (#690) 2023-01-08 13:35:08 +01:00
Nathan Mattes 44d85e0263 Replace the pagecontrol with a collection view (#690)
Scrolling wasn't smooth with pageviews, as they do some black magic with scrollviews (like resetting contentOffset). If you depend on contentOffset, this breaks things and makes them hard.
2023-01-07 16:02:46 +01:00
Nathan Mattes 8ff47a72d0 Make blurry-view lighter (#690) 2023-01-07 13:15:25 +01:00
Nathan Mattes 1aa3a20997 Add a blurry background (#690) 2023-01-07 13:03:21 +01:00
Nathan Mattes 77beff55d5 Fix text-color for education-screens (#690)
In dark mode, the text was white and so unreadable
2023-01-07 13:03:21 +01:00
Nathan Mattes bd3c5ef58a UX-improvements for server-picker (#690)
Sprinkle in some haptic feedback and show menu immediately
2023-01-07 13:03:21 +01:00
Nathan Mattes eda79e6beb Fix language-based random server-selection (#690)
During testing on device I noticed, that "next" didn't work. The reason was that I used the wrong language code. In case there's no server in my language, the server gets totally randomly selected.
2023-01-07 13:03:21 +01:00
Nathan Mattes 0cfe0041df Show menu right away (#690)
This was a nice bug: The menu for signup-speed/language was attached too late. The entire button-delegate-stuff was obsolete in the end
2023-01-07 13:03:21 +01:00
Nathan Mattes c8e0419dec Revert "Some polish here and there in regards (#690)"
This reverts commit a84910f2aba114a6600337dd9d50d3d5e5c749c6.
2023-01-07 13:03:21 +01:00
Nathan Mattes 93d3472ba3 Fix warning 2023-01-07 13:02:59 +01:00
Nathan Mattes 77826956e8 Fetch all servers for login-auto-complete (#690)
so far, only those with an open registration were available. Server needs to be adjusted as well.
2023-01-07 13:02:59 +01:00
Nathan Mattes cfb7061d4c Some polish here and there in regards (#690)
Mostly navigationbar-related.
2023-01-07 13:02:59 +01:00
Nathan Mattes a73b7bb348 Fix scrolling-issue (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes 600e91eb4d Randomly select a server for user (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes efafefac48 Add missing localization (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes ade95302ca Localize and style resend-button (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes de87424f53 Add button to resend email (#690)
Make it work (<- we're here)
Make it right
Make it fast
2023-01-07 13:02:59 +01:00
Nathan Mattes 2be1cabca7 Remove navigation-view on email-confirmation (#690) 2023-01-07 13:02:59 +01:00
Marcus Kida a935cd83bb chore(onboarding): Decrease spacing between title and top of WelcomeViewController 2023-01-07 13:02:59 +01:00
Nathan Mattes 9e1dbe1dff Fix email-confirmation-screen-title (#690)
what a word.
2023-01-07 13:02:59 +01:00
Nathan Mattes 18e25aea30 Localize username-suggestion (#690)
Please be aware of the username-requirements, when changing the localized versions.
2023-01-07 13:02:59 +01:00
Nathan Mattes 3e76f43637 Add username-suggestion (#690) 2023-01-07 13:02:58 +01:00
Marcus Kida 98421802eb chore(onboarding): Update hill images and animation 2023-01-07 13:02:58 +01:00
Nathan Mattes f510cede33 Remove all from ServerPicker (#690) 2023-01-07 13:02:58 +01:00
Marcus Kida 0675bdb7db chore(onboarding): Improve airplane movement add clouds movement 2023-01-07 13:02:58 +01:00
Nathan Mattes 6d241495a2 Fix build 🙈
this is a bit embarrasing, I guess :D
2023-01-07 13:02:58 +01:00
Nathan Mattes beb95918da Make sign-up-speed-filter work (#690)
It took me a while to figure out that indexedServers were already filtered. To some degree it’s just fighting people’s inability to read…
2023-01-07 13:02:58 +01:00
Nathan Mattes 7f60eb1608 Fix search-bar-placeholder for server-picker (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 4ebd2bded7 Fix button-title (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 9806c2aa84 Show menu for signup-speed-selection (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes f974fc9f05 Move "all"-categories behind filters (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes b8bb0dc805 Add button for signup-speed-filter (#690)
Filtering should work, too, but: no menu yet, so: it's a bit useless 😅
2023-01-07 13:02:58 +01:00
Nathan Mattes f211baf9e1 Remove obsolete comment (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 5237ae93c7 Use real languages for language-selection (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 899a9ef5c1 Make chevron smaller (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 515b3d4767 [WIP] Add language-selection to onboarding (#690)
Consider this WIP, for now, languages are hard-coded
2023-01-07 13:02:58 +01:00
Nathan Mattes 7c8c5fe214 Add language-selector (#690)
For now, it searches for German servers only because.
2023-01-07 13:02:58 +01:00
Nathan Mattes 6b0547d3d4 Add chevron (#690)
spoiler: for selecting a language and registration-status
2023-01-07 13:02:58 +01:00
Nathan Mattes a107b4d9e2 Consider password-confirmation on signup (#690)
This is now the logic-part. The passwords must be the same to register.
2023-01-07 13:02:58 +01:00
Nathan Mattes f3c8c3c2a3 Fix typo/build (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes baa520e03d Fix localization (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes ec9bc0c69a Show spinner when registering (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes e074ee63b7 Adjust registration-screen to match updated design (#690)
Please note: this doesn't contain any logic, yet. It's solely UI.
2023-01-07 13:02:58 +01:00
Nathan Mattes de0b5776c3 Remove avatar-selection (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 18e313fbe4 Set color for privacy-cells (#690)
Also: Make light blurple the dark-mode-version of blurple
2023-01-07 13:02:58 +01:00
Nathan Mattes bb4706d826 Re-enable loading-indicator for server-picker (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 62fe8d5881 Fix some colors (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 669716208e Set new title for account-creation (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes fe53fc409e Show large titles in onboarding (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes e6d6fd63fb Add explanatory text to privacy screen (#690)
This also includes a refactor on the ServerRules-screen. It's built the same way
2023-01-07 13:02:58 +01:00
Nathan Mattes 2e4ff59bc2 Add some localization here and there (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 7d63eeccaf Show privacy-policies, connect screens (#690) 2023-01-07 13:02:58 +01:00
Marcus Kida c595929c54 Remove comment 2023-01-07 13:02:58 +01:00
Nathan Mattes 4c6c8b48af Add basic classes for privacy-screen during onboarding (#690) 2023-01-07 13:02:58 +01:00
Marcus Kida 96f51f039d Implement mastodon wordmark on WelcomeContentPage 2023-01-07 13:02:58 +01:00
Marcus Kida ca41cf10d0 Remove sign-in button shadow 2023-01-07 13:02:58 +01:00
Nathan Mattes 63f11fd2a2 Style server-rules-tableview (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 18a9cbe556 Re-enable search (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes 4ce111164d Some styling in pick-server-header (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes 00a05514a9 Minor styling (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes d102e090ea Download thumbnails (#690) 2023-01-07 13:02:57 +01:00
Marcus Kida 29cd795718 Adjust onboarding cloud alpha 2023-01-07 13:02:57 +01:00
Nathan Mattes c93902ff86 Show back-button on server-list (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes 185a3f5aa4 Get rid of highlight-indicator (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes fc25e12e05 Add thumbnail image (#690)
thumbnail-download is still missing, it's just the UI-element
2023-01-07 13:02:57 +01:00
Nathan Mattes 3f3a8c1a5b (Temporarily) Remove search field from header (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes ffe3b10f3c Update checkmark to match the new design (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes f2e419412b Remove meta-information (#690) 2023-01-07 13:02:57 +01:00
Nathan Mattes 4f304f39fc Get rid of title (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes d3ebd51d44 Replace NavigationActionView with a view with a simple button (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes 3a176edb91 Move files (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes dc91ebcd0a Apply new style to server-rules (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes 3a00010d89 Use native navigationItem instead of bottom-view (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes c22f1fc66e [WIP] Fix animations on illustration-view (#690)
It's still broken on iPad.
2023-01-07 13:02:17 +01:00
Nathan Mattes df783b3e53 Make images move (#690)
They're not moving in the right direction yet, and it's entirely based on autolayout and not on layoutSubviews. We'll see, if that's the way to go.
2023-01-07 13:02:17 +01:00
Nathan Mattes 38cafae28b [WIP] Move layoutcode and move plane (#690)
Turns out: Changing the constant of a layoutconstraint does the job, but is' laggy af, so I have to come up with another solution.
2023-01-07 13:02:17 +01:00
Nathan Mattes 32bc94322d Fix scrollview-offset-calculation (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes fa696a6f36 Figure out a way to attach to scrolling in pages (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes c925e48385 Add styling and localization to education (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes 831d5a6774 Add pages and page-controller for better onboarding (#690) 2023-01-07 13:02:16 +01:00
Marcus Kida d0710460ab
fix(deeplinking): Fix profile resolving didn't use WebFinger so resolving non-local profiles might fail 2023-01-06 13:14:18 +01:00
Marcus Kida 6662fcb0d4
chore(dependencies): Run bundle exec pod install 2023-01-06 11:35:22 +01:00
Marcus Kida 5cd9343302
Merge pull request #847 from jinsu35/fix-issue-391
Implement URL scheme
2023-01-06 10:31:06 +01:00
jinsu kim a00cd60076 Remove duplicate function fetchUser(). 2023-01-05 15:57:58 -08:00
Nathan Mattes b2c0871e9f
Merge pull request #682 from j-f1/rotate-media-view
Allow media viewer to be rotated to any orientation
2023-01-05 18:32:52 +01:00
Marcus Kida 74ea67181c
chore(profile): Add image to copy username action 2023-01-05 13:32:32 +01:00
Marcus Kida c56f1abd67
chore(profile): Allow profile header username to grow in height 2023-01-05 11:47:43 +01:00
Marcus Kida 2866721ca3
feat(profile): Implement tap to copy username 2023-01-04 16:38:18 +01:00
Marcus Kida 6beaabbe32
Merge branch 'develop' into fix-warnings 2023-01-04 15:12:51 +01:00
jinsu kim 5c82c04232 Use authenticated domain for API calls. Modify URL scheme 2023-01-01 15:55:54 -08:00
jinsu kim de962a0c09 Implement URL scheme 2023-01-01 01:01:01 -08:00
jinsu kim f71c4964f5 UI update should be invoked on the main thread 2023-01-01 01:00:00 -08:00
Jed Fox fbc4c98e7d
Force view controllers into portrait orientation where needed 2022-12-31 08:37:07 -05:00
Marcus Kida 6d80df1279
fix: Poll percentages were wrong due to wrong count being used (votes vs voters) (#834) 2022-12-31 02:22:00 +01:00
Jed Fox 3e4a5f35fa
Merge remote-tracking branch 'upstream/develop' into rotate-media-view 2022-12-30 08:15:10 -05:00
jinsu kim 425d100989 Fix bug - scrollToTop() should be called when user selects the current tab 2022-12-30 00:43:19 -08:00
Marcus Kida 66b6bcd0ef
chore(onboarding): Replace parseUsersCount 2022-12-29 07:51:12 +01:00
Nathan Mattes cab9574fbb
Merge pull request #784 from Bracciata/bugfix/309
fix: updated logo button's alt text to be more accessible
2022-12-26 17:03:45 +01:00
Nathan Mattes b445bb4754
Merge pull request #801 from j-f1/remove-NotificationAvatarButton
Remove unused NotificationAvatarButton and RoundedImageView classes
2022-12-26 15:38:45 +01:00
Nathan Mattes df9154a220
Merge pull request #823 from mastodon/806-alt-scroll
Alt-Scroll-Adjustments
2022-12-26 15:35:27 +01:00
Nathan Mattes f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Peter Minarik fd964c7b3a
fix: set Avatar border color based on theme 2022-12-25 16:57:14 +01:00
Peter Minarik c1f19d1f27
chore: DRY setting up colors from theme 2022-12-25 16:56:46 +01:00
Jed Fox d553dd4f62
Resize text when Dynamic Type style updates 2022-12-23 14:16:41 -05:00
Jed Fox 752d76c8be
fix sizing if the text view does not need to scroll 2022-12-23 14:08:22 -05:00
Jed Fox b8b59674f3
Fix scroll insets, increase contrast 2022-12-23 11:34:05 -05:00
Jed Fox 0faea45485
Allow AltViewController text to scroll 2022-12-23 10:27:07 -05:00
Tommy Braccia d09339ea20 fix: updated to use vars from strings.swift 2022-12-22 13:26:27 -05:00
Tommy Braccia 8064e9c532 Merge branch 'bugfix/309' of https://github.com/Bracciata/mastodon-ios into bugfix/309 2022-12-22 12:52:31 -05:00
Tommy Braccia c08be1e1dd fix: corrected alt for title button 2022-12-22 12:52:27 -05:00