Projekt

Allgemein

Profil

Aktionen

GX-Feature #70576

geschlossen

Tabs-Widget erstellen / Create a Tabs Widget

Von Alexandre Ataides vor 11 Monaten hinzugefügt. Vor etwa 1 Monat aktualisiert.

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: TextboxOption and TexteditorOption. See example below
    • The options should be defined as an option (JSON)
  • attributes:
    • min: int
    • max: int
    • addMoreLabel: string
    • defaultActiveIndex: 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 10 Monaten aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an Alexandre Ataides wurde gelöscht
Aktionen #2

Von Lennard Kläfker vor 9 Monaten aktualisiert

  • Tags wurde auf 4.9.1.0_beta1 gesetzt
Aktionen #3

Von Josua Michalak vor 8 Monaten aktualisiert

  • Zugewiesen an wurde auf Josua Michalak gesetzt
Aktionen #4

Von Anis Mashku vor 8 Monaten aktualisiert

  • Zielversion wurde auf 4.9.1.0 beta1 gesetzt
  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #6

Von Daniel Wu vor 8 Monaten 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 8 Monaten aktualisiert

  • Geschätzter Aufwand wurde auf 120.00 h gesetzt
Aktionen #11

Von Alexandre Ataides vor 7 Monaten 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 etwa 1 Monat aktualisiert

  • Tags wurde von 4.9.1.0_beta1, Features_2023, review zu Features_2023, review geändert
Aktionen

Auch abrufbar als: Atom PDF