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

Clear previous selection on select features once a new selection drawing is initiated #113

Closed
elil opened this issue Jun 6, 2017 · 12 comments

Comments

@elil
Copy link
Member

elil commented Jun 6, 2017

From #107,

Right now the way select features works, once a selection is made, it remains selected until the Go button is hit again. This can lead to some screen views that look inconsistent.

untitled

This is an enhancement request to clear the previous selection once a new drawing is initiated.

From, #107 (comment), I'm not sure that we have the same understanding @theduckylittle. By "clear the previous selection", I mean the selection input geometry (unless it was a drawing and markup), any buffer geometry, and the selected and highlighted features.

@klassenjs
Copy link
Member

Why would the selected/highlighted features clear before clicking Go? What if the user changes their mind and cancels? Do we want to destroy the select/highlight then?.

@theduckylittle
Copy link
Member

I'm sorta with @klassenjs here, I know you can create this incongruous situation but these are all understandable steps that the user would've done.

@elil
Copy link
Member Author

elil commented Jun 7, 2017 via email

@elil
Copy link
Member Author

elil commented Jun 7, 2017 via email

@klassenjs
Copy link
Member

How do you know when it is the end of the selection geometry? In general a user might want to revise their input, but particularly with multipoint.

@theduckylittle
Copy link
Member

One of the usability complexes here is that we now allow for more "post processing." We have the ability to slice-and-dice the results in ways that are not preserved. As those slices-and-dices are done against the results and not against the query itself.

I get not wanting to hit "Go" at all but there are some issues there:

  1. The multi-point selection mentioned above.
  2. Adjusting buffer radius.

I think "Go" is still a necessary evil but I think if the user begins drawing on the map we could, ostensibly, clear the last query results.

@elil
Copy link
Member Author

elil commented Jun 7, 2017 via email

@elil
Copy link
Member Author

elil commented Jun 7, 2017 via email

@klassenjs
Copy link
Member

My general thought process is to draw what I want and then set the buffer I want. Without a Go the buffer would have to happen first.

Also, in the past I have traced over a previous select while drawing my new one (to slightly adjust a previous result I wasn't quite happy with).

@elil
Copy link
Member Author

elil commented Jun 7, 2017

You could still set the buffer second (that is what I do too); the select (with the buffer) would happen again.

I do that too, it is also why I prefer to keep everything until the geometry is completed not just started. But started sounded like it fit better for implementation.

@theduckylittle
Copy link
Member

i'm wondering if #273 offers a reasonable compromise for everyone?

@theduckylittle theduckylittle added this to the 3.1.0 milestone Nov 10, 2017
@elil
Copy link
Member Author

elil commented Nov 10, 2017

#273 seems to give fine grained control to users who want it. There doesn't seem to be any way to change defaults so that only users who want it need to learn it. But this seems to offer all options to users willing to user those options. So yes, this should work. I'll look at it more once it is in the demo.

@klassenjs klassenjs modified the milestones: 3.1.0, 3.3.1 Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants