proophboard / cody-engine

Event Modeling meets prototyping
https://wiki.prooph-board.com/cody_engine/introduction.html
MIT License
10 stars 6 forks source link

feat(Tabs): Introduce page tabs #55

Closed codeliner closed 9 months ago

codeliner commented 9 months ago

Pages can now be organized into tabs. For this you have to configure a tab group by adding a tab configuration to each UI card that is part of the group:

{  
  "route": "/brands/:brandId",
  "routeParams": [
    "brandId"
  ],
  "breadcrumb": {
    "data": "/Car/Brand",
    "label": "data.name"
  },
  "tab": {
    "group": "brand",
    "label": "Brand Details"
  }
}

Tabs can have an icon, be disabled (jexl expr) or hidden (jexl expr) and be style d (SxProps) or with jexl expr: styleExpr