Skip to content

Commit

Permalink
board-item block added
Browse files Browse the repository at this point in the history
  • Loading branch information
omprakashgupta1995 committed Oct 9, 2024
1 parent ee5e0a8 commit 9be077a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 49 deletions.
25 changes: 5 additions & 20 deletions component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,16 @@
}
},
{
"title": "Board",
"id": "board",
"title": "Boards",
"id": "boards",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Board",
"filter": "board",
"model": "board"
"name": "Boards",
"filter": "boards",
"model": "boards"
}
}
}
Expand All @@ -182,21 +182,6 @@
}
}
},
{
"title": "Board Item 2",
"id": "board-item-2",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block/item",
"template": {
"name": "Board Item 2",
"model": "board-item-2"
}
}
}
}
},
{
"title": "RTE",
"id": "rte",
Expand Down
6 changes: 3 additions & 3 deletions component-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"cards",
"columns",
"breadcrumb",
"board",
"boards",
"rte",
"city-list",
"imgwithlink",
Expand Down Expand Up @@ -116,8 +116,8 @@
"components": ["card"]
},
{
"id": "board",
"components": ["board-item", "board-item-2"]
"id": "boards",
"components": ["board-item"]
},
{
"id": "carousel",
Expand Down
27 changes: 1 addition & 26 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
]
},
{
"id": "board",
"id": "boards",
"fields": [
{
"component": "multiselect",
Expand Down Expand Up @@ -303,31 +303,6 @@
}
]
},
{
"id": "board-item-2",
"fields": [
{
"component": "text",
"name": "str",
"label": "Board Item",
"valueType": "string"
},
{
"component": "richtext",
"name": "rte",
"label": "Board Item 1",
"valueType": "string",
"raw": true
},
{
"component": "richtext",
"name": "rte2",
"label": "Board Item 2",
"valueType": "string",
"raw": true
}
]
},
{
"id": "rte",
"fields": [
Expand Down

0 comments on commit 9be077a

Please sign in to comment.