Shopify / theme-check

The Ultimate Shopify Theme Linter
Other
333 stars 96 forks source link

[Intelligent code completion] [UX] Suggest deprecated filters for input type `variable` (so prominently)? #676

Closed Poitrin closed 1 year ago

Poitrin commented 1 year ago

Is your feature request related to a problem? Please describe. Developers might wonder why they get suggested deprecated filters for input type variable for integers and other object types.

Screenshot 2022-12-08 at 12 25 09 PM

Describe the solution you'd like In general, it should be a solution that most of our developers prefer.

Suggestion: We update the docs so that the 4 aforementioned deprecated filters get the input type image instead. That way, they are only suggested when working with images like article.image.

Describe alternatives you've considered

  1. Hide all deprecated filters. (Or at least deprecated variable filters.)
  2. Sort deprecated variable suggestions to the bottom

Additional context