Aktionen
GX-Feature #70576
geschlossenTabs-Widget erstellen / Create a Tabs Widget
Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Alexandre Ataides
Kategorie:
StyleEdit 4
Zielversion:
% erledigt:
0%
Geschätzter Aufwand:
120.00 h
Steps to reproduce:
Betroffene Versionen:
Unbestimmt
Release Notes Langtext:
Tabs-Widget zu StyleEdit4 hinzugefügt, um einfach Tab-Inhalte zum Thema hinzuzufügen.
Beschreibung
After the RepeaterOption is ready, we need to create a TabsWidget using the repeater option.
This would help the shop owners to easily create a tab component for their shop.
Requirements:
- The widget should open in a modal, in order to edit/add/delete its contents
- A new object called
fields, which contains all the options that will be used in the widget:TextboxOptionandTexteditorOption. See example below- The options should be defined as an option (JSON)
-
attributes:min: intmax: intaddMoreLabel: stringdefaultActiveIndex: int
The attributes field must have:
-
min: int: minimum number of rows -
max: int: maximum number of rows -
addMoreLabel: string: label of the add more button -
defaultActiveIndex: int: number of the default active tab
Suggestion of the fields structure:
{
"id" : "tabs",
"title" : "tabsWidget.title",
"icon" : {
"name" : "Image",
"file" : "tabs.svg"
},
"author" : {
"name" : "Gambio GmbH",
"email" : "info@gambio.de",
"url" : "https://www.gambio.de"
},
"helpUrl" : "https://www.gambio.de/help",
"description" : "tabsWidget.description",
"cache" : 0,
"version" : "1.0.0",
"displayConfig" : "modal",
"fieldsets" : [
{
"title" : "tabsWidget.options.content.title",
"options" : [
{
"id" : "repeater",
"type" : "repeater",
"label" : "Tabs",
"attributes" : {
"min" : 1,
"max" : 4,
"addMoreLabel" : "Add Tab",
"defaultActiveIndex" : 0
},
" fields " : [
{
"id" : "title",
"type" : "textbox",
"translatable" : true,
"label" : "Title",
"default" : {
"en" : "",
"de" : ""
}
},
{
"id" : "content",
"default" : {
"en" : {
"value" : ""
},
"de" : {
"value" : ""
}
},
"type" : "texteditor",
"translatable" : true,
"label" : "tabsWidget.options.text.label",
"attributes" : {
"placeholder" : "tabsWidget.options.text.placeholder"
}
}
]
........
Aktionen
#1
Von Alexandre Ataides vor mehr als 2 Jahren aktualisiert
- Status wurde von In Bearbeitung zu Testing geändert
- Zugewiesen an
Alexandre Ataideswurde gelöscht
Aktionen
#2
Von Lennard Kläfker vor mehr als 2 Jahren aktualisiert
- Tags wurde auf 4.9.1.0_beta1 gesetzt
Aktionen
#3
Von Josua Michalak vor etwa 2 Jahren aktualisiert
- Zugewiesen an wurde auf Josua Michalak gesetzt
Aktionen
#4
Von Anis Mashku vor etwa 2 Jahren aktualisiert
- Zielversion wurde auf 4.9.1.0 beta1 gesetzt
- Release Notes Langtext aktualisiert (Vergleich)
Aktionen
#6
Von Daniel Wu vor etwa 2 Jahren aktualisiert
- Tags wurde von 4.9.1.0_beta1 zu 4.9.1.0_beta1, Features_2023 geändert
Aktionen
#7
Von Daniel Wu vor etwa 2 Jahren aktualisiert
- Geschätzter Aufwand wurde auf 120.00 h gesetzt
Aktionen
#11
Von Alexandre Ataides vor etwa 2 Jahren aktualisiert
- Tags wurde von 4.9.1.0_beta1, Features_2023 zu 4.9.1.0_beta1, Features_2023, review geändert
- Status wurde von Testing zu Erledigt geändert
- Zugewiesen an wurde von Josua Michalak zu Alexandre Ataides geändert
Aktionen
#12
Von Till Tepelmann vor mehr als 1 Jahr aktualisiert
- Tags wurde von 4.9.1.0_beta1, Features_2023, review zu Features_2023, review geändert
Aktionen