Open gcheadle-vmware opened 3 years ago
We've received countless reports of users learning themselves on ytt
largely on the examples. Adding the ability to search the contents of examples means (at least) two things:
==> "carvel accepted"
Questions to initiate elaboration:
Q: What would the UX be? would non-matching examples fade to grey? would they be eliminated? would the display of examples switch from groups to a list of matches?
Q: Should searches be deep-linkable / sharable?
Q: Should this feature be available through the website
command?
Q: What's possible with off-the-shelf embedded text search libraries? How does that compare with a simple home-spun solution?
Describe the problem/challenge you have When using the playground, I have to load an example to see the contents. Since the titles of certain examples can be misleading, searching by hand for the example I want is challenging.
Describe the solution you'd like Add a search bar for the playground. This search bar would filter out examples based on the contents of the example, or the tags that we assign the example. This would allow a user to look for something like
missing_ok=True
and find an example rather quicklyVote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible" 👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.