Skip to content
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

lib: isInline and isLiveRegion are wrongly typed #20772

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

jelly
Copy link
Member

@jelly jelly commented Jul 17, 2024

These properties have a default setting so are not required.


Headsup this current change will affect all cockpit-lib updates tomorrow. See cockpit-project/cockpit-files#659

@martinpitt
Copy link
Member

Unit test failures are exactly the same in #20731 -- we broke main somehow?

Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and the approval will survive a (clean) rebase, so 👍 But we need to sort out the tests on main first.

These properties have a default setting so are not required.
@martinpitt martinpitt force-pushed the typescript-boo-typing branch from 6f9bbed to 0c30940 Compare July 18, 2024 03:27
@martinpitt
Copy link
Member

Rebased after landing the pytest fix.

@@ -50,7 +50,7 @@ export const InlineNotification = ({ text, detail, type = "danger", onDismiss, i
);

return (
<Alert variant={type || 'danger'}
<Alert variant={type}
Copy link
Contributor

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.

@martinpitt martinpitt merged commit 24a1845 into cockpit-project:main Jul 18, 2024
74 of 77 checks passed
@jelly jelly deleted the typescript-boo-typing branch July 18, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants