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

[ThemeBundle] Add support for Twig namespaced paths and "templates/" top-level directory #9804

Merged
merged 2 commits into from
Oct 11, 2018

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Oct 9, 2018

Q A
Branch? 1.3?
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Related tickets fixes #9719, fixes #8929, fixes #9802
License MIT

It's both a new feature (added support) and a bugfix (Symfony 4 directory structure & Twig namespaced paths aren't handled correctly now, which prevents people from using Sylius 1.3). That's why I target 1.3 with this PR.

First commit is containing all the new tests, second one provides the implementation.

@pamil pamil added Potential Bug Potential bugs or bugfixes, that needs to be reproduced. Feature New feature proposals. labels Oct 9, 2018
@pamil pamil requested a review from a team as a code owner October 9, 2018 19:28
@pamil
Copy link
Contributor Author

pamil commented Oct 9, 2018

If someone could test it manually with Sylius-Standard, I'd be very grateful. :)

@Zales0123
Copy link
Member

zrzut ekranu 2018-10-10 o 09 18 10
zrzut ekranu 2018-10-10 o 09 18 21

I've just checked it on a simple case and it seems to work :)

@Zales0123 Zales0123 mentioned this pull request Oct 10, 2018
@Zales0123 Zales0123 merged commit 7fe2fe3 into Sylius:1.3 Oct 11, 2018
@Zales0123
Copy link
Member

Thank you, Kamil! 🥇

@pamil pamil deleted the 1.3-themes-killme branch October 11, 2018 08:20
@pamil pamil restored the 1.3-themes-killme branch October 11, 2018 10:04
@pamil pamil deleted the 1.3-themes-killme branch October 11, 2018 10:20
@emodric
Copy link
Contributor

emodric commented Oct 11, 2018

@pamil Any timeline on when this will be released?

Thanks for the fix! :)

@pamil
Copy link
Contributor Author

pamil commented Oct 11, 2018

Not later than tomorrow's evening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals. Potential Bug Potential bugs or bugfixes, that needs to be reproduced.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants