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
Responsive visual issues new product page #35775
base: 8.1.x
Are you sure you want to change the base?
Responsive visual issues new product page #35775
Conversation
mattgoud
commented
Mar 28, 2024
•
edited by florine2623
edited by florine2623
Questions | Answers |
---|---|
Branch? | 8.1.x |
Description? | see #32218 |
Type? | bug fix |
Category? | BO |
BC breaks? | no |
Deprecations? | no |
How to test? | go to product page and test each tab (fork : https://github.com/mattgoud/PrestaShop/tree/fix/32218-responsive-visual-issues-new-product-page) |
UI Tests | https://github.com/florine2623/testing_pr/actions/runs/8797116451 ✅ |
Fixed issue or discussion? | Fixes #32218 (with the exception of point number 4 : creation of a separate issue see #35765 |
Related PRs | If theme, autoupgrade or other module change is needed to make this change work, provide a link to related PRs here. |
Sponsor company | Your company or customer's name goes here (if applicable). |
…hree dots alignement (product header), switch alignement (product details - show_condition)
…gnment (low stock alert)
… : position right, modal footer : add padding
…ive dropdown menu (carriers available)
…uantities feature
Hello @mattgoud! This is your first pull request on the PrestaShop project. Thank you, and welcome to this Open Source community! |
Hi, thanks for this contribution! I found some issues with the Pull Request description:
Would you mind having a look at it? This will help us understand how interesting your contribution is, thank you very much! About linked issuesPlease consider opening an issue before submitting a Pull Request:
(Note: this is an automated message, but answering it will reach a real human) |
6d35420
to
8f41bd1
Compare
.material-icons { | ||
margin-top: 0; | ||
} |
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.
I really doubt this requires a selector made of 6 components, including 2 IDs 😱
Did you try adding mt-0
class to that element?
I'm guessing it's not that easy since it's probably nested in some twig partial used in many places, but surely it can be shortened to 2-3 components selector to be specific enough.
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.
I would go for utility classes where we can, maybe not the most performant solution, but it's much safer making changes.
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.
hello, ok this is a somewhat specific need (on a single go-to-catalog button). I have reduced the depth of the classes nesting if you prefer.
…ass for the go-to-catalog button icon
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.
Thanks @mattgoud
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.
Hello @mattgoud ,
Tested on multiples devices as well as on desktop.
- Save and publish display problem. ✅
- Three dots icon is not aligned correctly. ✅
- We could use a little more spacing there. ✅
- Features are displayed in a very confusing way. ✅
But on Desktop, the trash icon is not aligned. It should be on the same line as the input ❌ :
- Customizable product. Problems with spacing and alignment. ✅
- It is impossible to edit the stock on a mobile device. ✅
- Alignment problem. ✅
- Incorrectly displayed prices. ✅
- Cost price displayed incorrectly (I'm aware that it's a tricky element to display, maybe a responsive table would be better). ❌ The Currency dropdown is displayed too high.
Screen.Recording.2024-04-23.at.11.28.54.mov
Could you check points 3 and 9 please ?
Thanks :D
Number 3 isn't the native behavior ? @mattgoud |
@MatShir He only fixed the responsivity, no change in behavior, all good. |
12ae5e2
to
5c10baf
Compare
I was talking of the number 9 🙄 |
ok thank you for your feedbacks @MatShir @Hlavtox , yes on mobile it will be a native select. @florine2623 I will only deal with number 3 |
…e line as the features inputs (see feedback 3 - PR PrestaShop#35775)