Commit Graph

183 Commits

Author SHA1 Message Date
Nathan Mattes 74c324f9cf Get rid of commonglog 2023-09-22 15:27:05 +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 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 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 8804432b60
Fix Brand Color (IOS-160) (#1054) 2023-06-02 09:52:12 +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
Marcus Kida dbf6e6b467
Remove duplicate code (IOS-140) 2023-05-09 15:44:39 +02:00
Marcus Kida 5efdb3c209
Revert FollowedBlockedUserIdProviding (IOS-140) 2023-05-09 11:33:31 +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 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
woxtu 2214bb7342
Remove a duplicate condition (#1021) 2023-04-19 22:40:09 +02: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
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