-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
add profiles to search history #4169
add profiles to search history #4169
Conversation
dadbde2
to
5568fb1
Compare
A few issues. Currently, pressing the avatar hides the dropdown before pushing the next view. That causes flicker: bug1.movI think we'd want to avoid that. Another problem is that pushing an autocomplete result now seems to navigate twice. bug2.movIt seems like you're adding some navigation logic — maybe existing logic could be reused? Whatever we're doing for the existing autocomplete. I presume it wouldn't have those issues? But I haven't looked closely. |
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.
need to fix flicker and double nav
it looks like removing this fixes the issues: scrollToTopWeb()
setShowAutocomplete(false)
updateSelectedProfiles(profile) additionally, i changed the navigateToProfile function to be asynchronous. |
seems like Back button is broken stuck.mov |
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.
thanks!
This PR satisfies #2513, a duplicate of #1677. The SearchHistory component is enhanced by fully implementing the display of recent profiles. Each recent profile now includes the avatar, display name, and handle. Additionally, the display name and handle are truncated with ellipses if they exceed a specified character limit to ensure they fit within the given space.