kafka-ui
kafka-ui copied to clipboard
FE: UX: Do not auto refresh r/o data
Issue submitter TODO list
- [x] I've looked up my issue in FAQ
- [x] I've searched for an already existing issues here
- [x] I've tried running
main-labeled docker image and the issue still persists there - [x] I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
The "Schema registry" page in the frontend randomly starts refreshing the table with results (only the table, not the whole page). This happens every time when switching to another tab and back to kafkaui, but also occasionally happens at random.
Expected behavior
It should not randomly refresh the table
Your installation details
Helm chart deployed in kubernetes cluster, using v1.2.0.
Using firefox on windows as browser.
Steps to reproduce
In the dashboard, click on "Schema registry", wait for results to load. Open another tab. switch to other tab in your browser, then switch back to kafka-ui (can be done repeatedly).
Behavior can also be achieved by switching to another window.
Screenshots
No response
Logs
No response
Additional context
No response
Hi AntoonBeres! 👋
Welcome, and thank you for opening your first issue in the repo!
Please wait for triaging by our maintainers.
As development is carried out in our spare time, you can support us by sponsoring our activities or even funding the development of specific issues. Sponsorship link
If you plan to raise a PR for this issue, please take a look at our contributing guide.
It's never random:
- window focus
- internet connection restored
- background refetch based on a time interval
It should not randomly refresh the table
Please elaborate on 'why'
Further user feedback is requested. Please reply within 7 days or we might close the issue.
@Haarolean I specified in the description, will admit it was a bad title.
It is based on window focus
Thanks for the additional feedback! We'll get back to your issue soon.
The question stands, why should this be changed?
Further user feedback is requested. Please reply within 7 days or we might close the issue.
@Haarolean Because, we have a very large schema registry, imagine copying values back and forth from kafkaUI to somewhere else and every time you switch tabs/windows, you have to wait for 10seconds for the table to load because it is refreshing
I wouldn't call that a great user experience.
Thanks for the additional feedback! We'll get back to your issue soon.
I see, it's a valid point. Perhaps our approach here should be to take a look at #472 and expand the feature set so one can disable/enable auto-refresh manually in the UI.