vtex-apps / menu Goto Github PK
View Code? Open in Web Editor NEWVTEX Menu app
VTEX Menu app
Is your feature request related to a problem? Please describe.
I'd like to add multiple images on submenu.col
block
Describe the solution you'd like
Allow the interface carousel
from vtex.carousel
app, similar to how it already allows info-card
Describe alternatives you've considered
I got nothing, so here's a cool emoji to fill the void 👾
Describe the bug
when building a store's menu, you just need to style it, with old versions you can just open your developer tools and select items to inspect but with the latest release v2.35.1 you can't anymore, i know this was a "bug" to solve but now it's harder to debug styles on the menus
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Don't know, maybe a development flag via JSON file to disable the "Deactivate item when is not open or hovered
" behavior to make it easy to style menus
Screenshots
You can replicate on any environment
Desktop environment:
System:
OS: macOS 13.2.1
CPU: (8) arm64 Apple M1
Memory: 120.77 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
Yarn: 1.22.15 - ~/.nvm/versions/node/v16.15.0/bin/yarn
npm: 9.2.0 - ~/.nvm/versions/node/v16.15.0/bin/npm
Browsers:
Chrome: 112.0.5615.49
Firefox: 105.0.2
Safari: 16.3
Additional context
You can test on any vtex store where menu app is used, some examples below:
https://www.klyns.mx/
https://www.almacenhercules.mx/
What are you trying to accomplish? Please describe.
Hi. I search solutions for to fix some bugs on the page. I do not fully understand but another person from the team says that I must change linkID in the category. But is impossible to make because API does not support this field to change. The question is the same as in the title. Exist some function or solution to transform URL in the menu item to lowercase?
What have you tried so far?
I tried changing linkID in the category but is impossible.
The only interface documented on the latest version of the README is menu-link
.
All interfaces should be documented, the ones missing are menu
, submenu
, submenu.col
, submenu.accordion
and menu-item
.
Hello,
Version 3.x seens to be not working properly when sequence is changed -> vtex.menu -> vtex.disposition -> children
I setted order, show: true and a __editorItemTitle for 10 child elements but could not get it to work properly.
Regards,
Michel.
Hello,
It would be useful if we could have a prop like "hideIfEmpty" that hides the item if it does not contain products in that category. Do not load all categories even if they do not have products.
Describe the solution you'd like
"menu-item#someItem": {
"props": {
"type": "category",
"categoryId": 1,
"hideIfEmpty": true,
...
},
"blocks": [
"[email protected]:submenu#submenu-someSubmenu"
]
},
Check for products based on categoryId and if there are no products just return null
Other apps are using the blockClass
and CSS modules to pay nicely with style builder. The only interface here that has this is menu-link
, but the other interfaces like menu
, submenu
, menu-item
have no semantic classes and no blockClass
prop.
I need to style one of the menu-item
differently from other ones (bigger font, bolder text, etc), but I can't because there is no blockClass.
Describe the bug
A clear and concise description of what the bug is.
Quando clicamos em algum item menu do filter, primeiro ele dá um reload na página em que está, para depois ir para a página certa.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Ir diretamente para a página.
Screenshots
If applicable, add screenshots to help explain your problem.
https://monosnap.com/file/ltvbP4OvB1aml1rQkbxot9gpWMk9ml
Desktop environment:
Smartphone environment:
Additional context
Add any other context about the problem here.
When configuring the menu links, the internal or external route urls should be used according to the configuration. What happens instead is a "#" is generated for every menu "Link".
Configured external or Internal route is used
A generic "#" is rendered for the href of every link item.
Use internalPage or externalPage in place of the "page" string
Cannot just configure the dreamstore menu without customizing component for such small change
Menu container can't be access with css because it don't have a vtex app class in absolute container like category-menu
Access to menu app absolute container.
Can't access to container to modify the background color or width.
Add vtex class like category-menu app (image below).
Here a couple of images to show differences between category-menu app absolute and the category app.
category-menu app absolute (accessible)
subcategorymenu (can't acces)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.