-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Collapse improvements #127
Conversation
PR Summary
This Pull Request provides significant updates making the code more efficient and organized, simplifying several classes' functioning and integrating improved test scenarios for better development and potential troubleshooting. |
a576976
to
5c20ba0
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #127 +/- ##
============================================
+ Coverage 97.61% 98.46% +0.84%
- Complexity 472 497 +25
============================================
Files 18 21 +3
Lines 1637 1692 +55
============================================
+ Hits 1598 1666 +68
+ Misses 39 26 -13
☔ View full report in Codecov by Sentry. |
885a60c
to
242f817
Compare
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.
New abstract classes more like traits. Suggest refactor to traits. @Gerych1984 what do you think?
I've been thinking about it. There are a few nuances
|
👍 |
Collapse
widgetAbstractToggleWidget
for widgets with togglerAbstractCloseButtonWidget
for widgets with optional close buttonAccordion
andNavBar
now usingCollapse
instead of generate html tagsNavBar::offcanvas(?Offcanvas $offcanvas)
toNavBar::withWidget(Offcanvas|Collapse|null $widget)
Collapse
andNavBar
now extended fromAbstractToggleWidget
Modal
andOffcanvas
now extended fromAbstractCloseButtonWidget