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

Refactor/extract menus, and cache them properly #389

Merged
merged 10 commits into from Apr 13, 2019
Merged

Conversation

@bobdenotter
Copy link
Member

@bobdenotter bobdenotter commented Apr 5, 2019

Fixes #380. Fixes #388

src/Menu/BackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedBackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedBackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedFrontendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Twig/BackendMenuExtension.php Outdated Show resolved Hide resolved
Loading
src/Menu/BackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Twig/BackendMenuExtension.php Outdated Show resolved Hide resolved
Loading
src/Twig/FrontendMenuExtension.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedFrontendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedFrontendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedFrontendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedBackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedBackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/CachedBackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
src/Menu/BackendMenuBuilder.php Outdated Show resolved Hide resolved
Loading
@bobdenotter
Copy link
Member Author

@bobdenotter bobdenotter commented Apr 10, 2019

Made a few additional changes. Let's get this in. If there's further refactoring that can be done, we will do it in additional PR's. This one is done. :-)

Loading

@bobdenotter bobdenotter added this to the Bolt 4 beta 1 milestone Apr 10, 2019
src/Twig/FrontendMenuExtension.php Outdated Show resolved Hide resolved
Loading
src/Twig/FrontendMenuExtension.php Outdated Show resolved Hide resolved
Loading
@JarJak
Copy link
Member

@JarJak JarJak commented Apr 11, 2019

Let's get this in

No. Not without tests. Please learn to write them.

Test for BackendMenuBuilder is missing.

Loading

Jarek Jakubowski and others added 2 commits Apr 12, 2019
JarJak
JarJak approved these changes Apr 13, 2019
@bobdenotter bobdenotter merged commit 66d816e into master Apr 13, 2019
1 check passed
Loading
@bobdenotter bobdenotter deleted the refactor/extract-menus branch Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants