- PR: silverstripe/silverstripe-framework#8806 (draft)
- State: WIP - Needs tests made green, some regression testing and a PR from someone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { transform } = require("@svgr/core"); | |
const defaultTemplate = (variables, { tpl }) => { | |
return tpl` | |
${variables.imports}; | |
${variables.interfaces}; | |
export const ${variables.componentName} = (${variables.props}) => ( | |
${variables.jsx} | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"consoleLog": { | |
"prefix": "clg", | |
"body": "console.log(${1:first});", | |
"description": "Displays a message in the console", | |
"scope": "typescript,typescriptreact,javascript,javascriptreact" | |
}, | |
"consoleLogObject": { | |
"prefix": "clo", | |
"body": "console.log('${1:first}', ${1:first});", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Log requests, any route to a url aside from / and /view will be logged | |
* View a list of logged requests by going to / | |
* View a specific request by going to /view?key=timestamp | |
* Logs are stored in a log.json file that's relative to the file | |
* Run via `php -S localhost:8080` | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Forms/ElementalAreaField.php b/src/Forms/ElementalAreaField.php | |
index e767d73..4b71d8e 100644 | |
--- a/src/Forms/ElementalAreaField.php | |
+++ b/src/Forms/ElementalAreaField.php | |
@@ -215,6 +215,11 @@ class ElementalAreaField extends GridField | |
public function setSubmittedValue($value, $data = null) | |
{ | |
+ // Nested elemental areas will have an array passed to them | |
+ if (is_array($value)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default] | |
host = put | |
client_token = your | |
client_secret = settings | |
access_token = here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"?b": 1, | |
"a": 4, | |
"abc": 1, | |
"b": 1, | |
"wow": 3 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set correct date/time stamps for mysql | |
UPDATE files_table | |
SET some_datetime_column = STR_TO_DATE(last_modified, '%Y-%m-%d %T +1200 NZST') | |
WHERE files_table.last_modified LIKE '%+1200 NZST' |
Steps to reproduce:
- Navigate to wow admin
- Create a wow object, title: wow
- Create a wow object, title: wow2
- Navigate to a page
- Navigate to wow tab
- Search for "wow" in the link existing field
- Click link exisiting
Expected outcome:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.15686275064945221</real> |