-
Notifications
You must be signed in to change notification settings - Fork 92
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
Rewrite Application.init() async #1978
Conversation
This fixes the avalanche of > Th: Table headers must have an accessible name. If the Th is intended to be visually empty, pass in screenReaderText. If the Th contains only non-text, interactive content such as a checkbox or expand toggle, pass in an aria-label. console messages, which completely drown any actually useful messages for debugging.
During terminal initialization, the `_renderService` or its `.dimensions` attribute may not yet be defined. Exit the resizing function in this case instead of crashing with a `TypeError`. Add a reference to the upstream issue about this internal API hackery.
We will soon add another piece of initialization at the top, and this already has too many indentation levels.
@@ -80,11 +80,14 @@ class ContainerLogs extends React.Component { | |||
} | |||
|
|||
resize(width) { | |||
if (!this.term?._core?._renderService?.dimensions) |
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.
This added line is not executed by any test.
.catch(e => console.warn("initContainers", system ? "system" : "user", | ||
"getContainers failed:", e.toString())); |
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.
These 2 added lines are not executed by any test.
Green -- that's good information, I mostly just wanted to test this in isolation as the topmost commit in #1976 breaks the podman service in a weird way. |
We will soon add another piece of initialization at the top, and this already has too many indentation levels.