Commit Graph

1848 Commits

Author SHA1 Message Date
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