-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into fix/spacing-visualizer
- Loading branch information
Showing
1,284 changed files
with
76,089 additions
and
46,383 deletions.
There are no files selected for viewing
This file contains 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
Validating CODEOWNERS rules …
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Bug report | ||
description: Report a bug with the WordPress block editor or Gutenberg plugin | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! If this is a security issue, please report it in HackerOne instead: https://hackerone.com/wordpress | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: Please write a brief description of the bug, including what you expect to happen and what is currently happening. | ||
placeholder: | | ||
Feature '...' is not working properly. I expect '...' to happen, but '...' happens instead | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Step-by-step reproduction instructions | ||
description: Please write the steps needed to reproduce the bug. | ||
placeholder: | | ||
1. Go to '...' | ||
2. Click on '...' | ||
3. Scroll down to '...' | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Screenshots, screen recording, code snippet | ||
description: | | ||
If possible, please upload a screenshot or screen recording which demonstrates the bug. You can use LIEcap to create a GIF screen recording: https://www.cockos.com/licecap/ | ||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
If this bug is to related to a developer API, please share a code snippet that demonstrates the issue. For small snippets paste it directly here, or you can use GitHub Gist to share multiple code files: https://gist.github.com | ||
Please ensure the shared code can be used by a developer to reproduce the issue—ideally it can be copied into a local development environment or executed in a browser console to help debug the issue | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Environment info | ||
description: | | ||
Please list what Gutenberg version you are using. If you aren't using Gutenberg, please note that it's not installed. | ||
placeholder: | | ||
- WordPress version, Gutenberg version, and active Theme you are using. | ||
- Browser(s) are you seeing the problem on. | ||
- Device you are using and operating system (e.g. "Desktop with Windows 10", "iPhone with iOS 14", etc.). | ||
validations: | ||
required: false | ||
|
||
- type: dropdown | ||
id: existing | ||
attributes: | ||
label: Please confirm that you have searched existing issues in the repo. | ||
description: You can do this by searching https://github.com/WordPress/gutenberg/issues and making sure the bug is not related to another plugin. | ||
multiple: true | ||
options: | ||
- 'Yes' | ||
- 'No' | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: plugins | ||
attributes: | ||
label: Please confirm that you have tested with all plugins deactivated except Gutenberg. | ||
multiple: true | ||
options: | ||
- 'Yes' | ||
- 'No' | ||
validations: | ||
required: true |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/usr/bin/env node | ||
|
||
/** | ||
* External dependencies | ||
*/ | ||
const fs = require( 'fs' ); | ||
const path = require( 'path' ); | ||
const https = require( 'https' ); | ||
const [ token, branch, hash, baseHash, timestamp ] = process.argv.slice( 2 ); | ||
|
||
const performanceResults = JSON.parse( | ||
fs.readFileSync( | ||
path.join( __dirname, '../post-editor-performance-results.json' ), | ||
'utf8' | ||
) | ||
); | ||
|
||
const data = new TextEncoder().encode( | ||
JSON.stringify( { | ||
branch, | ||
hash, | ||
baseHash, | ||
timestamp: parseInt( timestamp, 10 ), | ||
metrics: performanceResults[ hash ], | ||
baseMetrics: performanceResults[ baseHash ], | ||
} ) | ||
); | ||
|
||
const options = { | ||
hostname: 'codehealth.vercel.app', | ||
port: 443, | ||
path: '/api/log?token=' + token, | ||
method: 'POST', | ||
headers: { | ||
'Content-Type': 'application/json', | ||
'Content-Length': data.length, | ||
}, | ||
}; | ||
|
||
const req = https.request( options, ( res ) => { | ||
console.log( `statusCode: ${ res.statusCode }` ); | ||
|
||
res.on( 'data', ( d ) => { | ||
process.stdout.write( d ); | ||
} ); | ||
} ); | ||
|
||
req.on( 'error', ( error ) => { | ||
console.error( error ); | ||
} ); | ||
|
||
req.write( data ); | ||
req.end(); |
This file contains 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
This file contains 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
Oops, something went wrong.