manifests.io icon indicating copy to clipboard operation
manifests.io copied to clipboard

Idea: Add quick search bar

Open aantn opened this issue 2 years ago • 10 comments

I'd love to jump quickly to any yaml object.

aantn avatar Apr 08 '23 13:04 aantn

@aantn I just merged in https://github.com/Apollorion/manifests.io/pull/101 which allows you to filter, are you looking for this or something different?

TheOutdoorProgrammer avatar Jul 11 '23 00:07 TheOutdoorProgrammer

@Apollorion I spend much of my time on manifests.io pressing Ctrl+F and looking on the homepage at all instances of the word Pod.

It would be cool to have something like Ctrl+P in VSCode.

aantn avatar Jul 12 '23 22:07 aantn

I like the idea of Ctrl+P opening a search, I do think the newest feature I just released will change you needing to Ctrl+F though. Im going to do some work tonight around Ctrl+P and see if I can make something like that happen.

Screenshot 2023-07-13 at 9 02 04 AM

TheOutdoorProgrammer avatar Jul 13 '23 13:07 TheOutdoorProgrammer

Ah, I totally missed the search bar! Kept looking for it in the top right corner.

aantn avatar Jul 13 '23 13:07 aantn

@baadaa Can you help me with your UX skills here? I didnt want to bother you again but I am no UI/UX guy at all. This was my best stab at an implementation. You might make this more user friendly than I can. No big deal if youre too busy, I understand.

TheOutdoorProgrammer avatar Jul 13 '23 13:07 TheOutdoorProgrammer

@Apollorion I'm on a vacation for the time being but let me take a look when back in a couple of days 👍

baadaa avatar Jul 14 '23 02:07 baadaa

@Apollorion I'm very sorry I dropped the ball. I can see how the search feature can be made more recognizable. Let me explore a bit and submit a PR in a couple of weeks.

baadaa avatar Nov 13 '23 18:11 baadaa

@Apollorion I'm very sorry I dropped the ball. I can see how the search feature can be made more recognizable. Let me explore a bit and submit a PR in a couple of weeks.

No problem @baadaa thanks!

TheOutdoorProgrammer avatar Nov 13 '23 19:11 TheOutdoorProgrammer

Revisiting this, I think the main use case that's not satisfied with Ctrl+F today is finding a subresource. E.g. I want to quickly jump to the definition of ContainerStatus (pod.status.containerStatuses) and doing that takes several iterations of Ctrl+F and a click.

I'd love a simple search bar in the top right corner of the page to search for any resource type, including subresource types.

aantn avatar Apr 03 '24 11:04 aantn

If there was a search bar directly to the right of "Choose a Spec" that would make send to me. Even better if you could auto-focus on the search bar by pressing a keyboard shortcut. (Just like you can autofocus the search bar on github by pressing /)

aantn avatar Apr 03 '24 11:04 aantn