pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

Search filter options for "Last Updated"

Open jonasfj opened this issue 4 years ago • 3 comments

image

jonasfj avatar Feb 03 '22 10:02 jonasfj

Note: we have released the updated:<duration> search query option, which is more flexible than such UI option. Are we still looking to implement this? /cc @jonasfj

isoos avatar Jun 28 '24 08:06 isoos

It would still make the feature much more discoverable. It could insert the filter into the query, which then could be edited for more fine-grained control...

sigurdm avatar Jun 28 '24 08:06 sigurdm

It would still make the feature much more discoverable. It could insert the filter into the query, which then could be edited for more fine-grained control...

The feature would have several parts:

  • query has no updated: predicate, then any change on the radio button would fill it in, but
  • if the query has a predicate, which is not selectable through radio button, we need to show the section with a custom value option,
  • and if the radio button changes after that, we need to update the query with a new value.

Also, it takes a non-trivial screen estate.

Maybe we want to revisit the typeahead suggestion component that @jonasfj did last year, when you start typing updated: it pops up some options?

isoos avatar Jun 28 '24 09:06 isoos