AvitalTamir / cyphernetes

A Kubernetes Query Language
https://cyphernet.es
Apache License 2.0
527 stars 11 forks source link

Don't RETURN elements on Web #143

Open hmizael opened 3 weeks ago

hmizael commented 3 weeks ago

Hi, my english is terrible, sorry.

In Web, the queries dont return:

image
AvitalTamir commented 3 weeks ago

Hi @hmizael - thanks for reporting. I initially closed it as not an issue because I looked at your query and answered NAME isn't a property and you're probably looking for .metadata.name - however I now see in your screenshot that your shell did return results (though NAME is null as expected... .metadata.name is returned by default as name).

So I'm not sure what the issue is and why web doesn't work. I also see some artifacts I don't recognize in the web screenshot (YAML/JSON buttons placed incorrectly).

Can you please provide more information? Which OS, Browser are you using?

hmizael commented 3 weeks ago

No problem, new test:

image

I'm using Windows 11 Pro 24H2 26100.2161, Windows Terminal 1.21.2911.0, Powershell 7.4.6 and Google Chrome 130.0.6723.92

hmizael commented 3 weeks ago

In the Microsoft Edge 130.0.2849.68 browser I had the same result, that is, no results.

AvitalTamir commented 3 weeks ago

Thanks, will try to reproduce 👍