Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ web/wp-content/plugins/image-box/node_modules
web/wp-content/plugins/track-grid/node_modules
!web/wp-content/plugins/custom-iframe
web/wp-content/plugins/custom-iframe/node_modules
!web/wp-content/plugins/sessionize-blocks
web/wp-content/plugins/sessionize-blocks/node_modules
!web/wp-content/plugins/live-stream-gate-block
web/wp-content/plugins/live-stream-gate-block/node_modules
!web/wp-content/plugins/core-block-customisations
Expand Down
21 changes: 21 additions & 0 deletions web/wp-content/plugins/sessionize-blocks/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
27 changes: 27 additions & 0 deletions web/wp-content/plugins/sessionize-blocks/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Coverage directory used by tools like istanbul
coverage

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "custom/sessionize-schedule",
"version": "0.1.0",
"title": "Sessionize Schedule",
"category": "widgets",
"icon": "calendar-alt",
"description": "An interactive, dynamic schedule block powered by Sessionize.",
"textdomain": "sessionize-blocks",
"attributes": {
"apiCode": {
"type": "string",
"default": "pc6leesj"
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default apiCode is set to pc6leesj, which will trigger external Sessionize fetches by default and may surface unrelated content if someone inserts the block without configuring it. Consider defaulting apiCode to an empty string and requiring explicit configuration to avoid unintended external dependencies/requests.

Suggested change
"default": "pc6leesj"
"default": ""

Copilot uses AI. Check for mistakes.
},
"publicSlug": {
"type": "string",
"default": ""
},
"primaryFilterTitle": {
"type": "string",
"default": "Track"
},
"timeFormat": {
"type": "string",
"default": "12h"
},
"dateFormat": {
"type": "string",
"default": "dmy"
},
"enableGridView": {
"type": "boolean",
"default": true
},
"enablePersonalAgenda": {
"type": "boolean",
"default": true
},
"defaultShowAllDays": {
"type": "boolean",
"default": true
},
"hideTopControls": {
"type": "boolean",
"default": false
},
"speakerTitleQuestionId": {
"type": "string",
"default": "60108"
},
"speakerCompanyQuestionId": {
"type": "string",
"default": "60107"
},
"speakerCompanyOverrideQuestionId": {
"type": "string",
"default": ""
},
"cardSpeakerOverrideQuestionId": {
"type": "string",
"default": "128763"
},
"presentationSlidesQuestionId": {
"type": "string",
"default": "124661"
},
"customLinkField1QuestionId": {
"type": "string",
"default": "126625"
},
"customLinkField2QuestionId": {
"type": "string",
"default": "126626"
},
"customLinkField3QuestionId": {
"type": "string",
"default": "126627"
},
"customLinkField4QuestionId": {
"type": "string",
"default": "126628"
},
"customLinkField5QuestionId": {
"type": "string",
"default": ""
},
"hiddenFilterCategories": {
"type": "string",
"default": "Session Format"
},
"hideSessionChipsForCategories": {
"type": "string",
"default": ""
},
"hideAllChipsForPrimaryValues": {
"type": "string",
"default": ""
},
"includeSpeakerTitleForPrimaryValues": {
"type": "string",
"default": "Keynote Sessions"
},
"companyRollupNames": {
"type": "string",
"default": "Red Hat"
},
"primaryColorOverrides": {
"type": "string",
"default": "{\"Cloud Native Experience\":\"#236C39\",\"Cloud Native Novice\":\"#CC47E1\",\"Emerging + Advanced\":\"#94E147\",\"Keynote Sessions\":\"#CC0000\",\"ML/AI + Data Processing + Storage\":\"#D27A32\",\"Networking + Edge + Telco\":\"#FFF824\",\"Observability\":\"#D676DB\",\"Operations + Performance\":\"#BAB7D2\",\"Platform Engineering\":\"#4756E1\",\"Registration\":\"#69BA26\",\"SDLC\":\"#624A87\",\"Security\":\"#47E1C2\",\"Service Mesh\":\"#3BE5F1\"}"
}
},
"editorScript": "file:./build/index.js",
"viewScript": "file:./build/view.js",
"style": "file:./build/style-index.css",
"render": "file:./render.php"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element'), 'version' => 'd039618a33c2adea90b0');

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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '8f3fac79787ec4987a3e');

Large diffs are not rendered by default.

Loading
Loading