-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-3456 Collapse all button support #1394
base: 4.6
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,37 @@ | |||
.ibexa-multi-collapse { |
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.
Moved styles from product-catalog. Based on previous review comment let me know if I still should change class name to ibexa-pc-...
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.
if those styles are moved from PC where will be a base twig template for a multi-collapse feature?
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.
Discussed: There is no base twig template due to its too general purpose
c1599eb
to
c43983f
Compare
1228b09
to
c8db495
Compare
? /*@Desc("Collapse all)*/ 'product_type.edit.section.attribute_collapse_all' | ||
: /*@Desc("Expand all)*/ 'product_type.edit.section.attribute_expand_all'; | ||
|
||
btn.innerText = Translator.trans(displayedText, {}, 'ibexa_product_catalog'); |
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 not use any product catalog prefixes and translation domain here. Is there any option to pass translated labels into component? This will be more flexible.
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.
after discussion: created new translation file "ibexa_collapse"
baed467
to
349a81f
Compare
...bundle/Resources/views/themes/admin/ui/component/collapse_all_btn/collapse_all_btn.html.twig
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Related PRs:
Description:
For QA:
Documentation: