-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Illustration picker #18565
Illustration picker #18565
Conversation
.tox.tox-tinymce { | ||
border: var(--tblr-border-width) solid var(--tblr-border-color); | ||
.tox.tox-tinymce:not(.content-editable-tinymce .tox.tox-tinymce) { | ||
border: var(--tblr-border-width) solid var(--tblr-border-color) !important; |
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.
Somewhat unrelated, I've noticed that some of tiynmce styles were not applied correctly (since I was trying to display a form field next to a tinymce field, the differences were very noticeable).
Fixed it and made the selector more precise as we don't want to impact the special .content-editable-tinymce
class.
97f2395
to
b9d0946
Compare
@@ -17,7 +17,6 @@ module.exports = { | |||
"color-function-notation": null, // DISABLE: Expected modern color-function notation | |||
"declaration-block-no-redundant-longhand-properties": null, // DISABLE Expected shorthand property "flex-flow" | |||
"media-feature-range-notation": "prefix", | |||
"selector-not-notation": "simple", //DISABLE Expected complex :not() pseudo-class notation |
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 need a complex selector for a case that do not seems possible with simple selectors.
I've removed this rule, but it requires us to remove usages of simple selectors so I've had to fix a few existing css rules using the automated --fix
command.
See https://stylelint.io/user-guide/rules/selector-not-notation/.
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.
Doesn't seem to be an issue. All officially supported browsers support selector lists.
https://caniuse.com/css-not-sel-list
templates/components/illustration/icon_picker_search_results.html.twig
Outdated
Show resolved
Hide resolved
Co-authored-by: Curtis Conard <cconard96@gmail.com>
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.
Stuck to mainly a functional review.
- The illustrations in the picker slightly overflow the bottom of their container on larger screens.
- On smaller screens, the same layout of illustrations in the picker is used but the actual illustrations get smaller. Makes sense to keep the same illustration size and simply show less per row.
Can you please share a screenshot of this issue ? I don't seems to reproduce it on my side. |
I cannot recreate the issue either now. I'm thinking it could have just been a random issue in Chrome. It wouldn't be the first time. |
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.
On the feature itself and the rendering -> nothing to say, it's very good.
While testing, I think we need a default neutral icon.
"Request a service" can't be this default.
I don't have an idea yet about how we should represent the concept
Maybe open a ticket or add a task in project's backlog so it won't be firget |
Done. |
Checklist before requesting a review
Description
Add a new illustration picker field.
Screenshots and videos
Selecting an icon: (open the full sized video in another tab to see more clearly)
Illustration input:
Modal:
Searching for an icon (slowed down):
Using the pagination (slowed down):
Search with no results: