-
Notifications
You must be signed in to change notification settings - Fork 4
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
Introduce a component for a sidebar overlay #1494
Conversation
This can be used to open a filter sidebar on small devices in an overlay. This doesn't use the existing overlay component, as some implementations require this filter overlay on top of an already open overlay of which there can be only one. Fixes: SE-13735
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.
👏
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 not strictly targeted at only containing filters, right?
Maybe if we chose a more generic name (like sidebar overlay or something similar) we could also re-use it for similar features/use-cases like the OX product watchlist (i mean, its re-usable like it is but the chosen name does not really suggest that its as flexible as it really is) 😊
src/main/resources/default/assets/common/scripts/filterOverlay.js.pasta
Outdated
Show resolved
Hide resolved
Fixes: SE-13735
Fixes: SE-13735
Fixes: SE-13735
Fixes: SE-13735
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.
Thx for the changes 👍🏻
src/main/resources/default/assets/common/styles/filterOverlay.scss
Outdated
Show resolved
Hide resolved
src/main/resources/default/assets/common/scripts/sidebar-overlay.js.pasta
Outdated
Show resolved
Hide resolved
The 'namespace' (sirius.sidebarOverlay.*) already contains the important information. Fixes: SE-13735
Also replace some border widths with variables. Fixes: SE-13735
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.
is the .mustache file-ending needed?
It uses Mustache-Syntax and gets proper highlighting and formatting this way. |
This is breaking, as --sci-border-width needs to be replaced by --sci-border-width-1 Fixes: SE-13735
Description
This can be used to open a filter sidebar on small devices in an overlay. This doesn't use the existing overlay component, as some implementations require this filter overlay on top of an already open overlay of which there can be only one.
Breaking
CSS Variable
--sci-border-width
needs to be replaced by--sci-border-width-1
.Additional Notes
Checklist