-
Notifications
You must be signed in to change notification settings - Fork 83
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
fix(aggrid): Improve styling for indeterminate checkbox to be displayed in AG Grid header #1755
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: c62a90f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
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 can spend here a visual regression test to test the indeterminate
state
//TODO: Replace base64 encoded image with svg and css variables | ||
//Encoded image: <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="7" width="12" height="2" fill="#000028"/></svg> |
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.
I think we should remove the comments here. If you want to still have the todo create a jira ticket for that otherwise we will forget to remove this.
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 should add some VRT - maybe we can incorporate the header checkboxes into the existing ones?
'@siemens/ix-aggrid': patch | ||
--- | ||
|
||
improve styling of aggrid for indeterminate checkbox to be displayed in grid header |
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.
improve styling of aggrid for indeterminate checkbox to be displayed in grid header | |
__AG Grid__: Improve styling of indeterminate checkbox to be displayed in grid header. |
💡 What is the current behavior?
🆕 What is the new behavior?
Important note: The solution contains a workaround using base64 encoded SVG images (background + icon). This needs to be replaced by a human readable solution with SVG images that also include the correct CSS variables for the icon color.
🏁 Checklist
A pull request can only be merged if all of these conditions are met (where applicable):
pnpm run docs
)pnpm test
)pnpm lint
)pnpm build
, changes pushed)👨💻 Help & support