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

Tapping the "nearest place" card view on the main screen in 2.9 should bring user to Nearby map with that particular pin selected #2034

Closed
misaochan opened this issue Nov 26, 2018 · 11 comments

Comments

@misaochan
Copy link
Member

We did not have the time to implement this in #725 , but this would be a pretty useful enhancement. Currently, when the user taps the "nearest place" card view on the main screen, they are just brought to Nearby in general. They should instead be brought to Nearby with that particular pin on the map selected.

You would need to build on the 2.9-release branch.

@spelka
Copy link
Contributor

spelka commented Nov 27, 2018

@misaochan I can have a look at this, if you like.

@misaochan
Copy link
Member Author

@spelka Please feel free, thanks!

@spelka
Copy link
Contributor

spelka commented Dec 3, 2018

@misaochan I wanted to give you an update since it's been a week. I have committed a solution to my own fork, but while testing this weekend, I have discovered a bug which causes the following effect to occur on the GUI:

image

This duplication effect occurs when I get report of a memory leak in the application:

image

It looks like these message are the result of a race condition between garbage collection and the heap dump. This results in a false positive report:

square/leakcanary#808

I'm trying to figure out the best solution to this issue right now.

@spelka
Copy link
Contributor

spelka commented Dec 4, 2018

I made a pull request, but I had a thought afterwards: currently when the nearest marker is loaded, only the info window corresponding to the marker is displayed. In contrast, when you select the item by tapping on it, an information panel slides up from the bottom in addition to the info window being displayed. So they are displaying differently.

Was the intent of this enhancement to highlight the nearest marker for the user? Or was it bring up the bottom panel as well?

Let me know you thoughts.

@maskaravivek
Copy link
Member

IMO, it would be great if we could bring up the bottom panel too. What do others think?

@misaochan
Copy link
Member Author

I agree, best to bring up the bottom panel as well. Thanks for working on this @spelka ! :)

@spelka
Copy link
Contributor

spelka commented Dec 11, 2018

@misaochan @maskaravivek I have added logic to bring up the bottom bar as requested. Let me know what you think.

@misaochan
Copy link
Member Author

Thanks @spelka ! It looks good to me on first glance. We will have to test it first before we merge it, and we are really busy currently, but we'll try to do it ASAP. :)

@misaochan
Copy link
Member Author

@spelka contacted me and said he wasn't able to work on this anymore, so I have removed the assignment at his request. Anyone else, please feel free to take it up. :)

@ShashwatKedia
Copy link
Contributor

@nicolas-raoul, this seems to be a similar to #5445 which is solved by #5453. Could we close this?

@nicolas-raoul
Copy link
Member

Yes, actually yesterday I noticed that this works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants