guiqui / k8Studio

K8Studio: A Kubernetes IDE
https://k8studio.io
Other
794 stars 25 forks source link

Deployments rendered upside down #43

Closed codekoala closed 7 months ago

codekoala commented 7 months ago

I pointed k8studio at a DigitalOcean cluster, and my Deployment tab rendered upside down.

image

It was also initially zoomed out to the point where I didn't even realize anything had rendered at all. It just looked like a blank grid.

guiqui commented 7 months ago

WoW, I did not expect this one @codekoala. Thank you for reporting this one. Looks like the calculation of the transformation matrix is dealing with negative values. Can you give me the steps to reproduce, also what OS are you running?

codekoala commented 7 months ago

I am running Arch Linux, and I used debtap to convert the .deb package to an Arch package.

Once I got k8studio installed and running, I changed the path to the config file to a custom YAML file. I then exited k8studio and started it back up so it would read the specified configuration file. At that point, the Deployment tab was displayed. As I mentioned in the initial report, it was zoomed out so much that I didn't notice anything at all, so I clicked on the other tabs. I clicked back on the Deployments tab, noticed a tiny oddity in the middle of the grid, and zoomed in until it was large enough to see what's in the screenshot.

guiqui commented 7 months ago

I can reproduce the error, the transformation matrix got inverted by a negative scaling. Doing a fix for the next release.

mo-othman commented 7 months ago

Fixed in release 0.2.3-alpha