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

[Admin] Initial support for static content #5409

Merged
merged 7 commits into from
Jul 4, 2016

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Jul 1, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? no
Related tickets based on #5417
License MIT

@pamil pamil changed the title [Admin] Initial support for static content [WIP] [Admin] Initial support for static content Jul 1, 2016
@pamil pamil force-pushed the admin/cmf-phpcr/static-content branch 3 times, most recently from 1c5555e to 4323a15 Compare July 1, 2016 14:42
@pjedrzejewski pjedrzejewski added the Admin AdminBundle related issues and PRs. label Jul 1, 2016
@pamil pamil force-pushed the admin/cmf-phpcr/static-content branch 7 times, most recently from 0178d80 to eb6d8d7 Compare July 4, 2016 13:34
@pamil pamil changed the title [WIP] [Admin] Initial support for static content [Admin] Initial support for static content Jul 4, 2016
/**
* @Then the static content :title should not be added
*/
public function theCurrencyShouldNotBeAdded($title)
Copy link
Member

Choose a reason for hiding this comment

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

Currency? :)

@pamil pamil force-pushed the admin/cmf-phpcr/static-content branch from eb6d8d7 to eb4395e Compare July 4, 2016 15:07
@pjedrzejewski pjedrzejewski merged commit 2223a14 into Sylius:master Jul 4, 2016
@pjedrzejewski
Copy link
Member

Thanks Kamil!

use Webmozart\Assert\Assert;

/**
* @author Łukasz Chruściel <lukasz.chrusciel@lakion.com>
Copy link
Member

Choose a reason for hiding this comment

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

nice :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing to be afraid of, that's a piece of really good code! :D

@lchrusciel
Copy link
Member

Won't it be worthy to split this implementation somehow from a default admin? I can imagine many cases, where somebody would like to take our admin, but manage a static content different way.

@pamil
Copy link
Contributor Author

pamil commented Jul 5, 2016

I guess we can port the features from the old admin panel to the new one first and then think about making it an optional feature, there's much more to do in order to achieve that.

@pamil pamil deleted the admin/cmf-phpcr/static-content branch July 8, 2016 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants