Skip to content

Commit

Permalink
[F] Video content block
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoff authored and blnkt committed Feb 5, 2024
1 parent 75544ea commit 3bacda4
Show file tree
Hide file tree
Showing 17 changed files with 93 additions and 22 deletions.
2 changes: 1 addition & 1 deletion api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"craftcms/cms": "4.5.6.1",
"craftcms/redactor": "3.0.4",
"jamesedmonston/graphql-authentication": "2.5.0",
"lsst-epo/canto-dam-assets": "4.0.11",
"lsst-epo/canto-dam-assets": "4.0.12",
"sebastianlenz/linkfield": "^2.1.4",
"spicyweb/craft-neo": "3.9.5",
"verbb/super-table": "^3.0",
Expand Down
14 changes: 7 additions & 7 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
columnSuffix: dktdixss
contentColumnType:
- 'cantoId:string'
- 'cantoAlbumId:string'
- 'cantoAssetData:json'
- 'cantoAlbumData:json'
fieldGroup: 5599d188-862e-4717-b206-6aadd975c937 # Common
handle: video
instructions: null
name: Video
searchable: false
settings:
cantoAssetPickerType: singleImagePicker
translationKeyFormat: null
translationMethod: site
type: lsst\cantodamassets\fields\CantoDamAsset
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alwaysShowDropdown: null
field: a46e7379-7773-4ce4-9c59-434567870f0c # Content Blocks
name: Widgets
sortOrder: 12
sortOrder: 13
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alwaysShowDropdown: null
field: a46e7379-7773-4ce4-9c59-434567870f0c # Content Blocks
name: Containers
sortOrder: 7
sortOrder: 8
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Bar Graph Tool'
sortOrder: 14
sortOrder: 15
topLevel: true
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Camera Filter Tool'
sortOrder: 16
sortOrder: 17
topLevel: true
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Left Column'
sortOrder: 10
sortOrder: 11
topLevel: false
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Right Column'
sortOrder: 11
sortOrder: 12
topLevel: false
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Color Filter Tool Block'
sortOrder: 17
sortOrder: 18
topLevel: true
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Filter Tool'
sortOrder: 13
sortOrder: 14
topLevel: true
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Interaction Group'
sortOrder: 8
sortOrder: 9
topLevel: true
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: ''
enabled: true
field: a46e7379-7773-4ce4-9c59-434567870f0c # Content Blocks
fieldLayouts:
96eaf4d6-1491-4b97-8e8e-1c3d878a0bf8:
cc49b4bd-9177-4095-8408-f93c719e3db7:
tabs:
-
elementCondition: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Scatterplot Tool'
sortOrder: 15
sortOrder: 16
topLevel: true
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: 'Two Column Container'
sortOrder: 9
sortOrder: 10
topLevel: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
childBlocks: null
conditions: null
description: ''
enabled: true
field: a46e7379-7773-4ce4-9c59-434567870f0c # Content Blocks
fieldLayouts:
84881e5b-481f-4739-bc8e-635abbde5d80:
tabs:
-
elementCondition: null
elements:
-
elementCondition: null
fieldUid: 118a3e01-4188-4f83-be5b-f4ce24d7513e # Video
instructions: null
label: null
required: true
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 15384192-7122-41b6-b22f-ede33ad5be64
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: bad8a706-ea60-4282-b1da-3c9ee5f2111a # Caption
instructions: 'Caption that will override any text fields in Canto'
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: c620d1af-c204-470d-bcf3-5164242224fb
userCondition: null
warning: null
width: 100
name: 'Tab 1'
uid: 320531a7-9075-4282-91b3-c245e887568a
userCondition: null
group: null
groupChildBlockTypes: true
handle: video
icon: null
ignorePermissions: true
maxBlocks: 0
maxChildBlocks: 0
maxSiblingBlocks: 0
minBlocks: 0
minChildBlocks: 0
minSiblingBlocks: 0
name: Video
sortOrder: 7
topLevel: true
7 changes: 5 additions & 2 deletions api/config/project/project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dateModified: 1704834070
dateModified: 1705437865
elementSources:
craft\elements\Entry:
-
Expand Down Expand Up @@ -133,6 +133,7 @@ meta:
77f02908-0342-4917-9d14-38f769d15c39: Pages # Pages
87fc48a5-a399-4ce1-a7ca-2dadfd1e1445: 'Camera Filter Tool' # Camera Filter Tool
90aa9610-a9c9-4531-95f8-d0068046ae25: 'Sort Options' # Sort Options
118a3e01-4188-4f83-be5b-f4ce24d7513e: Video # Video
131ceffb-300f-415d-8cd5-a932d7529287: 'Read Only' # Read Only
222de7cf-741d-4d1f-b274-acc85a3c454c: 'Link To' # Link To
356c97b0-54e5-44bb-901e-9d92a314134f: FR # FR
Expand Down Expand Up @@ -211,6 +212,7 @@ meta:
d8be03ce-7aeb-4141-b40e-ec39ec1c796f: Educators # Educators
d8ed7ca8-514f-4a3e-8675-c5a6e8d6c4f5: Min # Min
d9df041c-3556-450e-94e1-f37369daf5f3: 'X-axis Label' # X-axis Label
d27f27b6-dfb4-4c6a-9196-ab3c81785d87: Video # Video
dc1c3484-f028-4653-982b-a84e287d4c61: Equation # Equation
dd3a1151-8de9-46f6-995f-c721fa29a07b: Option # Option
dd4f7c39-ff32-47e4-b4eb-129bbf44b4a7: 'RTE Caption' # RTE Caption
Expand All @@ -237,8 +239,9 @@ plugins:
settings:
appId: $CANTO_APP_ID
authEndpoint: $CANTO_AUTH_ENDPOINT
retrieveAssetMetadataEndpoint: $CANTO_ASSET_ENDPOINT
secretKey: $CANTO_SECRET_KEY
tenantHostName: rubin.canto.com
webhookSecureToken: ''
graphql-authentication:
edition: standard
enabled: true
Expand Down

0 comments on commit 3bacda4

Please sign in to comment.