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

Fix: issue-637 #646

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Fix: issue-637 #646

merged 1 commit into from
Jul 19, 2024

Conversation

tblivet
Copy link
Contributor

@tblivet tblivet commented Jul 16, 2024

Questions Answers
Description? Allow the main menu to display on multiple rows instead of using the full row width when containing many items. Also, change the submenu top position to handle the case when multiple rows contain submenus.
Type? improvement
BC breaks? no
Deprecations?
Fixed ticket? Fix #637
Sponsor company @PrestaShopCorp
How to test? You can refer to the issue #637

Copy link
Contributor

@nicosomb nicosomb left a comment

Choose a reason for hiding this comment

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

OK for the css / tpl part.

@florine2623 florine2623 self-assigned this Jul 17, 2024
Copy link

@florine2623 florine2623 left a comment

Choose a reason for hiding this comment

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

Hello @tblivet ,

Thanks for the PR !

Not all elements are displayed, but I guess that i'ts the wanted behavior, as 50 elements can't be displayed all in one line. ✅

I can't click on any submenu. ❌

Screen.Recording.2024-07-17.at.11.08.40.mov

Could you check ?
Thanks!

@tblivet
Copy link
Contributor Author

tblivet commented Jul 18, 2024

Hello @florine2623, I think you have the old version. Maybe the assets have not been recompiled because the menu should not be displayed in full row, it should fit between the logo and the search bar 🤔

Copy link

@florine2623 florine2623 left a comment

Choose a reason for hiding this comment

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

Hello @tblivet ,

LGTM on the shape of the menu ✅

Screen.Recording.2024-07-19.at.09.37.14.mov

When there are more than 3 sub-categories, the last one is not well displayed. But that's an issue for another PR :)
Screenshot 2024-07-19 at 09 38 08

It is QA ✅

@boherm boherm merged commit 59cf998 into PrestaShop:develop Jul 19, 2024
6 checks passed
@ps-jarvis
Copy link

PR merged, well done!

Message to @PrestaShop/committers: do not forget to milestone it before the merge.

@boherm boherm added this to the v0.2.1 milestone Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

ps_mainmenu issue when too many items for one row
5 participants