-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better Search Workflow (IOS-141) #1115
Conversation
Also: Move stuff around. It doesn't make sense for search-diffable-stuff to live in an enitrely different folder than the rest.
Shame on me for such a big commit. I'm new to iOS-development, sorry :nerd:
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really great @zeitschlag just one tiny thing which, when using "Posts matching XYZ" (or People matching XYZ) there is a certain delay between showing the view and when the activity indicator appears. In the first place to me this looked like there were no results and I just saw an empty screen. Maybe we can show the activity indicator immediate once the screen is show but has no results yet?
Mastodon/Protocol/Provider/DataSourceFacade+SearchHistory.swift
Outdated
Show resolved
Hide resolved
aaaaand simplify things as we don't need a super-dynamic search-result-screen anymore.
Well, okay, `ViewControllerWithDependencies` not super creative.
We improved the Search Flow and were inspired by the amazing Ivory.
Search History looks like this now:
It features a condensed version of the
UserView
.When you search for things, there are two groups now. The upper one offers some handy shortcuts, while the lower group suggests up to three hashtags and up to three users:
If you paste a link into the hashtag, another elements becomes visible:
When this links leads to a status or user, you can see them directly inside the app. Oh, and we added some error-handling, too. Let's say, the user you're looking for doesn't exist, then alert tells you so:
But wait, that's not all! You can search for users on other servers, too. Just enter their handle...
... and the "Go to..."-option shows the way to them right away :)