Skip to content

Commit

Permalink
Setup demo config
Browse files Browse the repository at this point in the history
  • Loading branch information
Satya Deep Maheshwari committed Jul 5, 2024
1 parent 1150010 commit c0d5ecb
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3 deletions.
49 changes: 47 additions & 2 deletions tools/assets-selector/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
"groupKey": "TopGroup",
"fields": [
{
"defaultValue": ["image/*", "video/*"],
"defaultValue": [
"image/*",
"video/*"
],
"element": "checkbox",
"name": "type",
"options": [
Expand All @@ -28,6 +31,48 @@
}
]
},
{
"header": "Assets Tags",
"groupKey": "AssetTagsGroup",
"fields": [
{
"element": "taggroup",
"name": "property=metadata.application.xcm:keywords.id",
"defaultValue": [
"pfizer:pfe-brands/cibinqo"
],
"options": [
{
"label": "CIBINQO",
"value": "pfizer:pfe-brands/cibinqo"
}
],
"columns": 3
}
]
},
{
"header": "Asset Status",
"groupKey": "AssetStatusGroup",
"fields": [
{
"element": "checkbox",
"name": "status",
"options": [
{
"label": "Active",
"value": "active"
},
{
"label": "Inactive",
"value": "inactive"
}
],
"orientation": "horizontal",
"columns": 2
}
]
},
{
"fields": [
{
Expand Down Expand Up @@ -55,4 +100,4 @@
}
],
"hideFilters": "true"
}
}
4 changes: 4 additions & 0 deletions tools/assets-selector/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[[headers]]
for = "/*" # you can configure the correct paths here
[headers.values]
access-control-allow-origin = "*"
12 changes: 11 additions & 1 deletion tools/sidekick/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,17 @@
"includePaths": ["**.docx**"],
"passConfig": true,
"paletteRect": "top: 50px; bottom: 10px; right: 10px; left: auto; width:400px; height: calc(100vh - 60px)"
},
{
"id": "asset-library-local",
"title": "AEM Assets Library (Local)",
"environments": ["edit"],
"url": "https://localhost.corp.adobe.com/packages/%40assets/selectors/src/renderer/franklin/asset-selector.html?ims-client-id=p66302-franklin",
"isPalette": true,
"includePaths": ["**.docx**"],
"passConfig": true,
"passReferrer": true,
"paletteRect": "top: 50px; bottom: 10px; right: 10px; left: auto; width:400px; height: calc(100vh - 60px)"
}

]
}

0 comments on commit c0d5ecb

Please sign in to comment.