-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
feat(filters): adding filter type icons in filter config modal. #31330
base: master
Are you sure you want to change the base?
Conversation
@rusackas It looks like the icons are vertically misaligned in the screenshot. |
@justinpark Are you suggesting a horizontal line? If yes, I don't think it would work given the different title lengths. |
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.
Approving as net positive as it addresses the main issue. Can follow up with another PR if/when we get a design improvement
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 is because the (custom) icons themselves are goofy, with different SVG bounding boxes. I can add custom CSS overrides to bump things up or down a pixel, but that seems like the wrong fix. I'd rather go fiddle with the sizing/alignment of the icons themselves in a subsequent PR. |
I would argue that the whole point of this PR is to add icons and that their alignment seems to be essential for what you're doing. In other words, it looks weird that in one PR you add misaligned icons and in another PR you fix the alignment. |
The fix for misaligned icons is exponentially more complex, with cleanup of overrides throughout the product and arguably contingent upon completing the migration to AntD 5. I suppose the options are:
I lean toward option 2 if you're worried about it. |
Just noting that there are no icon currently. You could remove the icons and that would make this PR focussed on the trigger. In terms of design, one option could be to |
I'm ok with option 1 with a TODO to review the CSS after the Ant Design upgrade. From a user's perspective the icons will be aligned. |
Ok, seems I've stepped in it again... Pinging Dr. @kasiazjc for good measure. The options continue to proliferate...
|
SUMMARY
Adds filter/divider icons in the Filter config modal, so that you can finally tell what these darn things are.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION