-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[CatalogPromotions][UI] Removal of catalog promotions #14291
Merged
GSadee
merged 2 commits into
Sylius:1.12
from
Rafikooo:feature/ui/removal-of-catalog-promotions
Sep 16, 2022
Merged
[CatalogPromotions][UI] Removal of catalog promotions #14291
GSadee
merged 2 commits into
Sylius:1.12
from
Rafikooo:feature/ui/removal-of-catalog-promotions
Sep 16, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Rafikooo
commented
Sep 8, 2022
•
edited
Loading
edited
Q | A |
---|---|
Branch? | 1.12 |
Bug fix? | no |
New feature? | yes |
BC breaks? | yes |
Deprecations? | no |
Related tickets | #14270 |
License | MIT |
probot-autolabeler
bot
added
Admin
AdminBundle related issues and PRs.
API
APIs related issues and PRs.
labels
Sep 8, 2022
Rafikooo
changed the title
[WIP][CatalogPromotions][UI] Removal of catalog promotions
[CatalogPromotions][UI] Removal of catalog promotions
Sep 9, 2022
src/Sylius/Bundle/AdminBundle/Resources/config/routing/catalog_promotion.yaml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/PromotionBundle/Resources/translations/flashes.en.yml
Outdated
Show resolved
Hide resolved
diimpp
reviewed
Sep 12, 2022
...dle/CoreBundle/spec/CatalogPromotion/CommandHandler/TerminateCatalogPromotionHandlerSpec.php
Outdated
Show resolved
Hide resolved
GSadee
added a commit
that referenced
this pull request
Sep 15, 2022
…estHelper (Rafikooo) This PR was merged into the 1.11 branch. Discussion ---------- | Q | A | |-----------------|--------------------------------------------------------------| | Branch? | 1.11 <!-- see the comment below --> | | Bug fix? | yes | | New feature? | no | | BC breaks? | no | | Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> | | License | MIT | Fixes: <img width="853" alt="image" src="https://user-images.githubusercontent.com/40125720/190143519-a8030a24-3fa5-4075-8fe2-ab74c0c0409a.png"> Before: <img width="714" alt="image" src="https://user-images.githubusercontent.com/40125720/190143668-e7ebd093-623c-48cc-8cbd-d55d0365bd87.png"> After: <img width="1431" alt="image" src="https://user-images.githubusercontent.com/40125720/190143782-b4e07141-61f7-4e07-95a4-6bfe9fd6c041.png"> Mentioned here: #14291 (comment) Commits ------- 4769726 [Behat][Fix] Check notification expectation in JavaScriptTestHelper
GSadee
reviewed
Sep 15, 2022
src/Sylius/Behat/Resources/config/suites/ui/promotion/removing_catalog_promotions.yml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/AdminBundle/Resources/config/routing/catalog_promotion.yaml
Outdated
Show resolved
Hide resolved
NoResponseMate
approved these changes
Sep 15, 2022
src/Sylius/Bundle/AdminBundle/Controller/RemoveCatalogPromotionController.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/AdminBundle/Controller/RemoveCatalogPromotionController.php
Outdated
Show resolved
Hide resolved
Rafikooo
commented
Sep 15, 2022
try { | ||
$this->catalogPromotionRemovalProcessor->removeCatalogPromotion($request->attributes->get('code')); | ||
|
||
/** @var Session $session */ |
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.
The reason I marked it as Session
instead of SessionInterface
and spit it into two statements is the lack of getFlashBag()
method in the SessionInterface
. Psalm was angry about it
NoResponseMate
approved these changes
Sep 15, 2022
coldic3
approved these changes
Sep 15, 2022
GSadee
approved these changes
Sep 16, 2022
Thanks, Rafał! 🎉 |
GSadee
added a commit
that referenced
this pull request
Sep 16, 2022
…ns documented (Rafikooo) This PR was merged into the 1.12 branch. Discussion ---------- | Q | A | |-----------------|--------------------------------------------------------------| | Branch? | 1.12 <!-- see the comment below --> | | Bug fix? | no | | New feature? | yes | | BC breaks? | no | | Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> | | Related tickets | #14270 #14291 | License | MIT | <img width="791" alt="image" src="https://user-images.githubusercontent.com/40125720/190518685-4b30f80e-8c19-411f-ab15-6669318391a2.png"> <img width="799" alt="image" src="https://user-images.githubusercontent.com/40125720/190518521-82f1814d-6fc6-4d91-9702-b32c52f24c1e.png"> Commits ------- 620a7ba [CatalogPromotions][Docs] Removing of catalog promotions documented
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.