-
Notifications
You must be signed in to change notification settings - Fork 79
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
Bug fixes mobile search #5225
Bug fixes mobile search #5225
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
return ( | ||
<> | ||
<TextBody className={classes.text}> | ||
{t("profile:leave_reference.thank_you_message")} | ||
</TextBody> | ||
{!isAboveMedium && ( | ||
{isMobile && ( |
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.
@@ -103,6 +103,15 @@ export default function SearchPage({ | |||
const [selectedResult, setSelectedResult] = useState< | |||
Pick<User.AsObject, "userId" | "lng" | "lat"> | undefined | |||
>(); | |||
|
|||
const hasSearchFilters = !!( |
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.
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.
@bakeiro Oh good catch! Fixed it now!
Tested and seems to be working! I noticed that clicking "show USERNAME on map" does not always highlight the pin if the pin is in a cluster. It just centers around the cluster rather than zooming into the "pin-level" to highlight the pin in question. I think this issue probably should be addressed in a separate issue since the primary problems are already solved in this ticket and we need to push the fix asap. |
Yeah sounds like a separate issue, maybe with the map. Feel free to throw up a separate ticket with the steps to replicate and how it should work. |
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.
LGTM!
A few issues here:
Closes #5091 , Closes #5219
Web frontend checklist
yarn format
yarn lint --fix