vtex-apps / store-discussion

VTEX IO store builders' community
80 stars 5 forks source link

store-components - Feature/Infocard props on site editor #673

Open DilipKumar-n opened 2 years ago

DilipKumar-n commented 2 years ago

What problem are you trying to solve?. Users/Clients not able to manage the component by their own from the site editor since 'isFullModeStyle, textMode, textPosition, textAlignment, blockClass' props are not available to edit from the site editor which needs code level change whenever user wants to add new Infocard layout.

Describe the solution you'd like Making 'isFullModeStyle, textMode, textPosition, textAlignment, blockClass' props available in the site Editor for Infocard component.

Why do you think this feature should be available to all stores? The reason why I am displaying the above props is that Users/Clients can manage the component by their own from the site editor and there will be minimal/no code level changes required. User can switch between fullModeStyle and normal mode without code level changes.

Describe alternatives you've considered We tried to create a new app for this feature but this will be helpful for other stores as well if we update in the Infocard component(Vtex store-components app) itself.

Created PR on Store Component Repo https://github.com/vtex-apps/store-components/pull/1006

image image

``