Skip to content
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

Merged
merged 34 commits into from
Sep 20, 2023
Merged

Better Search Workflow (IOS-141) #1115

merged 34 commits into from
Sep 20, 2023

Conversation

zeitschlag
Copy link
Contributor

@zeitschlag zeitschlag commented Sep 15, 2023

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 :)

@zeitschlag zeitschlag changed the title WIP: Better Search Workflow WIP: Better Search Workflow (IOS-141) Sep 15, 2023
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)
@zeitschlag zeitschlag changed the title WIP: Better Search Workflow (IOS-141) Better Search Workflow (IOS-141) Sep 18, 2023
@zeitschlag zeitschlag marked this pull request as ready for review September 18, 2023 16:09
@zeitschlag zeitschlag requested a review from kimar September 18, 2023 16:10
Copy link
Contributor

@kimar kimar left a 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?

aaaaand simplify things as we don't need a super-dynamic search-result-screen anymore.
Well, okay, `ViewControllerWithDependencies` not super creative.
@zeitschlag zeitschlag merged commit 40f2064 into develop Sep 20, 2023
@zeitschlag zeitschlag added this to the 2023.13 milestone Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants