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

map: display different hints for the directions feature given the user interaction #960

Open
2 tasks done
wkyoshida opened this issue Sep 2, 2024 · 3 comments
Open
2 tasks done
Labels
design Relates to UX/UI designs hacktoberfest Included as a part of Hacktoberfest help wanted Extra attention is needed

Comments

@wkyoshida
Copy link
Member

Terms

Description

Currently, the following custom control is perpetually displayed on the map's bottom-left corner:

image

This could be confusing on an initial page load when there are no waypoints or directions initially displayed on the map.


One alternative could be to display a different initial message on the custom control and later display the current message once waypoints/directions are added. For instance:

  • When no waypoints:
    Click to add a waypoint for directions

  • Once a waypoint is added:
    Clear directions [x]

Some notes:

  • Additionally, since the proposed initial message is fairly long, a further idea could be to add a button to also hide the custom control - in the same vein as how the attribution control works.
  • It also likely makes sense to not make the initial message clickable like how the current message is, which toggles clearing directions.

Contribution

Happy to support someone on this or get to it myself 😁

@wkyoshida wkyoshida added the design Relates to UX/UI designs label Sep 2, 2024
@andrewtavis andrewtavis added the help wanted Extra attention is needed label Sep 2, 2024
@andrewtavis
Copy link
Member

Hey @wkyoshida 👋 Sounds good! The following makes the most sense to me:

  • When no waypoints: Click for directions
    • So it's a bit more explicit for a person who doesn't understand waypoints
    • We should definitely display something as the purpose of it always being there is to note for the user that directions are possible
  • I think that click for directions could be short enough, and as stated above a directions prompt should always be present
  • Let's not make the initial message clickable – makes total sense :)

@wkyoshida
Copy link
Member Author

So it's a bit more explicit for a person who doesn't understand waypoints

Yea.. I was wondering the same when writing up the issue.. What do you think of the term "starting point" perhaps? Would that be more immediately understandable to folks?
Just thinking here myself though that simply Click for directions might still seem like "click on this message for directions" as opposed to "click on the map to toggle the directions feature", if that makes sense?

Spitballing here some ideas, but I'm not for sure on one yet (suggestions definitely welcome):

  • Click map to start directions
  • Click map to add starting point
  • For directions, click map to add starting point
  • For directions, click map to start
  • For directions, click map
  • ...
  • ?
  • Click the map for a surprise

I think that click for directions could be short enough

I'm also thinking here that we're likely fine with not worrying too much about length. I'm considering now that it's actually probably a good idea for us to implement the button to hide the message regardless. Having the option seems that it'd be nice for smaller screens and mobile users - so more screen space can be reclaimed if needed. What do you think?

@andrewtavis
Copy link
Member

I'd say give your suggestions and another thought that maybe Click map for directions would be good? Explicit and still a bit short.

I'm not sure on the option to hid the directions clear button. If we put another square button on the screen to hide it, isn't it just one more things on the screen? Keeping the directions service controls in the bottom left also makes sense given that it's stylistically meant to match the attribution as well as possible :)

Let me know though! Maybe I'm not understanding your point 😊

@andrewtavis andrewtavis added the hacktoberfest Included as a part of Hacktoberfest label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Relates to UX/UI designs hacktoberfest Included as a part of Hacktoberfest help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants