-
Notifications
You must be signed in to change notification settings - Fork 112
Fix Dashboard Browser Console Errors #2952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
aglinxinyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to do another forum connection check on the backend. It's possible that after frontend connection error, we simply catch it, such that the error doesn't show on console. Basically we do the same check at frontend.
aglinxinyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
**Propose:** Currently, opening the dashboard triggers some browser errors. Although they do not affect normal functionality, they could potentially lead to other unknown risks. This PR fixes these issues in the dashboard. **Changes:** 1. Using `ChangeDetectorRef` to trigger view updates ensures that the UI stays synchronized with asynchronous data changes. 2. Removed `nz-tooltip` due to conflicts with `nz-icon` causing the `nz0100` error. Additionally, the usage of `nz-icon` overlaps with the `title` attribute. **Demo:** Before:  After: 
Propose:
Currently, opening the dashboard triggers some browser errors. Although they do not affect normal functionality, they could potentially lead to other unknown risks. This PR fixes these issues in the dashboard.
Changes:
ChangeDetectorRefto trigger view updates ensures that the UI stays synchronized with asynchronous data changes.nz-tooltipdue to conflicts withnz-iconcausing thenz0100error. Additionally, the usage ofnz-iconoverlaps with thetitleattribute.Demo:

Before:
After:
