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

OEL-461: Add offcanvas pattern to search facets block. #11

Merged
merged 4 commits into from
Sep 15, 2021
Merged

Conversation

GilNovacomm
Copy link
Contributor

No description provided.

@@ -0,0 +1,26 @@
{#
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this, we dont declare twice

@@ -0,0 +1,50 @@
offcanvas:
Copy link
Contributor

Choose a reason for hiding this comment

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

remove


{% block content %}
{{ pattern('offcanvas', {
'title': label,
Copy link
Contributor

Choose a reason for hiding this comment

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

add extra classes and such, see comment in oe_bootstrap PR

'placement': 'start',
'with_body_scroll': false,
'with_backdrop': true,
'extra_classes_body': 'bcl-offcanvas',
Copy link
Contributor

Choose a reason for hiding this comment

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

add pl-g-0

},
'attributes': attributes.addClass('bcl-offcanvas'),
'offcanvas_id': 'bcl-offcanvas',
'body': content,
Copy link
Contributor

Choose a reason for hiding this comment

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

check if we can override content.form.actions.reset and use the link (or button?) pattern, if not we need to preprocess the block, worst case we form alter and theme the reset from there

@timpevi timpevi self-requested a review September 15, 2021 16:56
@drishu drishu merged commit cca261a into EPIC-Search Sep 15, 2021
@drishu drishu deleted the OEL-461 branch September 15, 2021 16:57
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