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] Add link to product in variant breadcrumb #10509

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

Tomanhez
Copy link
Contributor

@Tomanhez Tomanhez commented Jul 8, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
License MIT

New link:
Screenshot 2019-07-08 at 10 38 28

After clicking:
to url:
Screenshot 2019-07-08 at 13 59 57

Product edit page:
Screenshot 2019-07-08 at 14 00 05

@Tomanhez Tomanhez requested a review from a team as a code owner July 8, 2019 08:45
@GSadee
Copy link
Member

GSadee commented Jul 8, 2019

The base of this pull-request was changed, you need fetch and reset your local branch
if you want to add new commits to this pull request. Reset before you pull, else commits
may become messed-up.

Unless you added new commits (to this branch) locally that you did not push yet,
execute git fetch origin && git reset "variant-breadcrumb-link-product" to update your local branch.

Feel free to ask for assistance when you get stuck 👍

@GSadee GSadee changed the base branch from master to 1.4 July 8, 2019 09:14
@GSadee GSadee force-pushed the variant-breadcrumb-link-product branch from 567b588 to b729901 Compare July 8, 2019 09:14
@Tomanhez Tomanhez force-pushed the variant-breadcrumb-link-product branch from b729901 to eb96557 Compare July 8, 2019 11:30
@Tomanhez Tomanhez force-pushed the variant-breadcrumb-link-product branch from eb96557 to c3eb989 Compare July 8, 2019 12:02
@CoderMaggie CoderMaggie added the Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). label Jul 8, 2019
@GSadee GSadee merged commit 7f838b4 into Sylius:1.4 Jul 9, 2019
@GSadee
Copy link
Member

GSadee commented Jul 9, 2019

Thank you, Tomasz! 🥇

GSadee added a commit that referenced this pull request Aug 5, 2019
…nts and PromotionCoupons) (CoderMaggie)

This PR was merged into the 1.4 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.4
| Bug fix?        | no
| New feature?    | rather an improvement
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | triggered by #10509 😄 
| License         | MIT

The clue is to use entities **names** instead of **codes**, wherever it is possible. especially in entities that are _under_ other entities like coupons or variants.


Product variant edit:
Before:
![image](https://user-images.githubusercontent.com/13198869/61623526-14b4f500-ac77-11e9-88a4-ec177f812be9.png)

After:
![image](https://user-images.githubusercontent.com/13198869/61623469-fb13ad80-ac76-11e9-8df2-be7bd89532f1.png)

Without the variant name:
![image](https://user-images.githubusercontent.com/13198869/61623756-9147d380-ac77-11e9-83d0-b8c3144f45b0.png)

Channels edit:
Before:
![image](https://user-images.githubusercontent.com/13198869/61623602-3c0bc200-ac77-11e9-853b-a8611e789927.png)

After:
![image](https://user-images.githubusercontent.com/13198869/61623651-5b0a5400-ac77-11e9-893b-bc9fe32b724a.png)

 And while trying to unsuccessfully remove the name:
![image](https://user-images.githubusercontent.com/13198869/61623693-71181480-ac77-11e9-9f0d-e27b6582d685.png)

After (translation of names to Admin locale)
![image](https://user-images.githubusercontent.com/13198869/61624020-159a5680-ac78-11e9-9425-60b159f5f556.png)
![image](https://user-images.githubusercontent.com/13198869/61624038-21861880-ac78-11e9-9e5f-9b1be0100220.png)
![image](https://user-images.githubusercontent.com/13198869/61624000-0adfc180-ac78-11e9-8458-2d1788b31a10.png)




Commits
-------

013134d Improve all breadcrumbs
5a1935f Improve ProductVariant breadcrumbs
14dab4b Improve PromotionCoupon breadcrumbs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants