kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

FE: Unnecessary full page re-rendering

Open Haarolean opened this issue 1 year ago • 8 comments

After a page refresh (cold loading) clicking on brokers triggers a full page re-render including the menu bar which has already been rendered https://github.com/kafbat/kafka-ui/assets/1494347/c7f90540-854b-4fd3-9da9-9eb836f4fefb

Haarolean avatar Apr 24 '24 05:04 Haarolean

@StefanG1102 sure, please!

Haarolean avatar Apr 24 '24 06:04 Haarolean

Thank you. I will give me best to solve this issue!

StefanG1102 avatar Apr 24 '24 06:04 StefanG1102

If i create a Cluster and i click on Brokers i get an endless Loading screen until the whole website ist turning white. Did i do something wrong in the project Setup?

StefanG1102 avatar Apr 24 '24 07:04 StefanG1102

If i create a Cluster and i click on Brokers i get an endless Loading screen until the whole website ist turning white. Did i do something wrong in the project Setup?

check your browser's console to see what's wrong

Haarolean avatar Apr 24 '24 08:04 Haarolean

i get a 500 Error with this message "message": "Error while creating AdminClient for Cluster local", image

StefanG1102 avatar Apr 24 '24 08:04 StefanG1102

@StefanG1102 this is a backend configuration issue. But I can't tell you what's wrong with just Error while creating AdminClient for Cluster local without looking at the backend (container) logs. If you're running one of the compose files (kafka-ui-arm64.yaml or kafka-ui.yaml) this should basically work out of the box. Please check our dev docs: https://ui.docs.kafbat.io/

You can run the command specified here and set vite_dev_proxy in .env to localhost:8080.

I'm also available on discord if you need further help, the link is available in the project README.

Haarolean avatar Apr 24 '24 08:04 Haarolean

I apologize for my inability to resolve the issue despite my best efforts. It appears that the problem requires a level of expertise beyond my current skill set. Nonetheless, I sincerely appreciate the opportunity to try.

StefanG1102 avatar Apr 24 '24 08:04 StefanG1102

@StefanG1102 no worries! Please take a look at the "up for grabs" board, there are simpler issues for sure :) https://github.com/orgs/kafbat/projects/2

Haarolean avatar Apr 24 '24 08:04 Haarolean