Commit graph

34028 commits

Author SHA1 Message Date
kulczy
49dd0ec867 Unify catalog promotion sections 2024-07-22 20:02:57 +02:00
kulczy
81f14e7382 Unify cart promotion sections 2024-07-22 20:02:28 +02:00
kulczy
765d9baa15 Unify customer groups sections 2024-07-22 20:00:04 +02:00
kulczy
11e9d8672a Unify association types sections 2024-07-22 20:00:04 +02:00
kulczy
d98a369082 Unify product options sections 2024-07-22 19:59:53 +02:00
kulczy
9d8d3ef253 Unify product attribute edit sections 2024-07-22 19:43:36 +02:00
kulczy
4de84dec34 Unify variants edit sections 2024-07-22 19:43:32 +02:00
kulczy
a658874471 Unify products sections 2024-07-22 19:40:56 +02:00
kulczy
0a556bf576 Unify taxon sections 2024-07-22 19:40:56 +02:00
kulczy
45191b12bf Add option for render borderless accordion 2024-07-22 19:40:56 +02:00
Rafał Jaskulski
4f13212115
[Admin] Overall cleanup of macros (#16610)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | replaces #16340
| License         | MIT
2024-07-22 12:24:17 +02:00
Rafał Jaskulski
1e02bb460c
[CS][DX] Refactor (#16618)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-07-22 10:10:23 +02:00
Sylius Bot
9831243e35 [CS][DX] Refactor 2024-07-21 02:18:59 +00:00
Rafał Jaskulski
0da0e16f27
[UPMERGE] 1.14 -> 2.0 (#16615)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/2.0 -m "Resolve conflicts between 1.14 and 2.0"
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
push the changes to this PR.
2024-07-20 21:27:33 +02:00
Rafał Jaskulski
b7d92a66ca
[CI] Run 1.14 full build instead of unsupported 1.12 (#16612)
| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2024-07-19 14:59:28 +02:00
Grzegorz Sadowski
a7d7acbf51
[CI] Run 1.14 full build instead of unsupported 1.12 2024-07-19 13:19:25 +02:00
Kamil Grygierzec
c567a703a4 Replace id's with test attributes and adjust templates to review suggestions 2024-07-19 07:39:50 +02:00
Kamil Grygierzec
d038ccd0a7 [Admin] Shipping category Create/Update page 2024-07-19 07:39:50 +02:00
Grzegorz Sadowski
157a7ef1f2
Merge branch '1.14' into 2.0
* 1.14:
  Revert "Remove unused argument
"
  Remove unused argument
  fix(locales): use callback wrapper for choices
2024-07-18 13:44:31 +02:00
Grzegorz Sadowski
220680f659
Merge branch '1.13' into 1.14
* 1.13:
  Revert "Remove unused argument
"
  Remove unused argument
  fix(locales): use callback wrapper for choices
2024-07-18 13:44:18 +02:00
Jan Goralski
03d7b4dc98
[Admin] Refactor the icon macro to use blocks 2024-07-18 10:27:25 +02:00
Jan Goralski
ade5e2d9bc
Overall cleanup of macros 2024-07-18 10:27:25 +02:00
Karol
640ef9729c
minor #16574 Use callback wrapper for LocaleChoiceType choices (wimulkeman)
This PR was merged into the 1.13 branch.

Discussion
----------

Using the callback wrapper to resolve the LocaleChoiceType keeping old entity objects during tests where both the form is build and submit through the Symfony PhpUnit WebTestCase.

Also see https://github.com/Sylius/Sylius/issues/16572

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #https://github.com/Sylius/Sylius/issues/16572
| License         | MIT


Commits
-------
  fix(locales): use callback wrapper for choices
  Remove unused argument

  Revert "Remove unused argument
"
2024-07-18 09:52:52 +02:00
Rafikooo
ea3e485271 [Admin] Navigating from product variant index and edit to price history 2024-07-18 09:28:22 +02:00
Rafikooo
9c2e6cc308 [Behat] Rename and correct accessing product variants generation scenarios file 2024-07-18 09:28:22 +02:00
Wim Ulkeman
992064be3e
Revert "Remove unused argument "
This reverts commit d97db7ca28.
2024-07-18 09:14:47 +02:00
Bartłomiej Sęk
82e6b5b6a1 Replace '!' with errors count 2024-07-18 07:20:29 +02:00
Bartłomiej Sęk
be0ad9c1db Add attributes form error indicator 2024-07-18 07:20:29 +02:00
Michał Pysiak
ac6df01655
[Admin] Change the extended pagination template (#16597)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | according to
https://github.com/Sylius/Sylius/pull/15403#discussion_r1347439618
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2024-07-18 06:00:23 +02:00
Grzegorz Sadowski
e2c3957b7e
[Admin] Change the extended pagination template 2024-07-17 21:09:34 +02:00
Rafikooo
dee86a1bc8 [Admin] Add missing test attributes and logic related to variants generation 2024-07-17 20:23:32 +02:00
Rafikooo
f612d09ab0 [Behat] Add another test for accessing variants generation from product edit page 2024-07-17 20:23:32 +02:00
Rafikooo
4838404005 [Behat] Add tests for accessing variants generation from variant index page 2024-07-17 20:23:32 +02:00
Karol
69f143fd75
[Behat] Enable leftover product variant adding tests (#16595)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | continues #16104
| License         | MIT
2024-07-17 16:10:57 +02:00
Jan Goralski
24cef4b4ef
[Behat] Enable leftover product variant adding tests 2024-07-17 15:28:12 +02:00
Wim Ulkeman
d97db7ca28
Remove unused argument
Removing the unused $options argument for the variable is not used in the function.

Co-authored-by: Rafał Jaskulski <40125720+Rafikooo@users.noreply.github.com>
2024-07-17 15:01:20 +02:00
Rafikooo
06bb67a364 [Behat] Create separate ProductTypeEnum class 2024-07-17 13:27:00 +02:00
Rafikooo
aebe41f071 [Behat] Improve product pages methods and constructors annotations" 2024-07-17 13:27:00 +02:00
Rafikooo
20651f5780 [Admin] Adjust priorities of generic title block action hookables 2024-07-17 13:27:00 +02:00
Rafikooo
f3f886bb1a [Admin] Remove redundant configurations of show action 2024-07-17 13:27:00 +02:00
Rafikooo
646ea0c6af [Admin] Handle returning to resource show page from its show action view 2024-07-17 13:27:00 +02:00
Rafikooo
59ae557534 [Admin] Correct product variant edit breadcrumb 2024-07-17 13:27:00 +02:00
Rafikooo
a5e63c3946 [ECS] Apply ecs fixes 2024-07-17 13:27:00 +02:00
Rafikooo
3cf7575ef5 [Admin] Add NavigationTrait and use it in product pages 2024-07-17 13:27:00 +02:00
Rafikooo
3469e2270f [Admin] Use default empty string fallback value for breadcrumb resource field name 2024-07-17 13:27:00 +02:00
Rafikooo
aeac3fc8c2 [Admin] Change hardcoded show route config into usage of twig extension 2024-07-17 13:27:00 +02:00
Rafikooo
ec344032e0 [UiBundle] Add RouteExistsExtension twig extension class 2024-07-17 13:27:00 +02:00
Rafikooo
4a70ae2a3a [Behat] Rename scenarios and associated code from accessing to navigating between product pages 2024-07-17 13:27:00 +02:00
Rafikooo
0aed73c7f5 [Behat] Add scenarios for navigating between viewing and editing product pages 2024-07-17 13:27:00 +02:00
Rafikooo
9c99093815 [Admin] Allow to move from edit page to show page by the navigation button 2024-07-17 13:27:00 +02:00