CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 20:11:00 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/WordPress/gutenberg.git
etag: W/"e34a746750fec0f2fb13c659520c2be7"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=h8JcdtgwWJaeonpeO8jN5oYKo3Z6bthrp0mT8PFOB%2FlWdReDtEniPddurnN6xyu18CabhWq5ekkm64c8%2FAJ0EnIP97UcGta8ZA0cM6VJpksImZS7Sd3EQHaM0b13T6HCFfWkkE6U0gQ2%2BZat5wOTAxbvJOd%2BlNWzjcDHXniHR5tt8AVAzg0GFBH7pQMoJtWwVUtSnkyYfCL0WXF09vDPhTGsFnPXTHVq%2FSprlkGF4oueCuZMs6Bg8qKfBII%2F46atFKecEqFlJYwaBNLE0ID9OA%3D%3D--zUg0dNWhVjTXCsT%2F--dQHztIJ64UoiUQ%2Bb6x7vcg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.241388102.1760213460; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 20:11:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 20:11:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CCD2:1321A5:40B1AC:52B539:68EAB9D4
Post Publish Panel: Open view post links in a new tab (#70127) · WordPress/gutenberg@381b623 · GitHub




authored
Copy file name to clipboardExpand all lines: packages/e2e-test-utils-playwright/src/editor/publish-post.ts
Copy file name to clipboardExpand all lines: packages/editor/src/components/post-publish-panel/postpublish.js
Copy file name to clipboardExpand all lines: packages/editor/src/components/post-publish-panel/style.scss
Copy file name to clipboardExpand all lines: packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/blocks/comments.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/compatibility-classic-editor.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/pattern-overrides.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/publish-panel.spec.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit 381b623

Post Publish Panel: Open view post links in a new tab (#70127)
* Post Publish Panel: Open view post in new tab
* chore: fix import order
* chore: update unit test snapshots
* chore: update e2e tests
* chore: update e2e test
* fix: let the button stack up if the text is large
* chore: update `publishPost` to use a11y locators
* fix: simplify visiting published post logic
* fix: remove rel attribute
* chore: update snapshots
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: HILAYTRIVEDI <hilayt24@git.wordpress.org>1 parent d7e0c5d commit 381b623Copy full SHA for 381b623
File tree
Expand file treeCollapse file tree
8 files changed
+119
-49
lines changedFilter options
- packages
- e2e-test-utils-playwright/src/editor
- editor/src/components/post-publish-panel
- test/__snapshots__
- test/e2e/specs/editor
- blocks
- various
Expand file treeCollapse file tree
8 files changed
+119
-49
lines changedCollapse file: packages/e2e-test-utils-playwright/src/editor/publish-post.ts
packages/e2e-test-utils-playwright/src/editor/publish-post.ts
Copy file name to clipboardExpand all lines: packages/e2e-test-utils-playwright/src/editor/publish-post.ts+6-3Lines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 |
| |
41 | 44 |
| |
42 | 45 |
| |
|
Collapse file: packages/editor/src/components/post-publish-panel/postpublish.js
packages/editor/src/components/post-publish-panel/postpublish.js
Copy file name to clipboardExpand all lines: packages/editor/src/components/post-publish-panel/postpublish.js+19-3Lines changed: 19 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 |
| |
6 | 12 |
| |
7 | 13 |
| |
8 | 14 |
| |
9 | 15 |
| |
10 | 16 |
| |
11 | 17 |
| |
| 18 | + | |
12 | 19 |
| |
13 | 20 |
| |
14 | 21 |
| |
| |||
118 | 125 |
| |
119 | 126 |
| |
120 | 127 |
| |
121 |
| - | |
| 128 | + | |
122 | 129 |
| |
123 |
| - | |
| 130 | + | |
124 | 131 |
| |
125 | 132 |
| |
126 | 133 |
| |
| |||
153 | 160 |
| |
154 | 161 |
| |
155 | 162 |
| |
| 163 | + | |
| 164 | + | |
| 165 | + | |
156 | 166 |
| |
157 | 167 |
| |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
158 | 174 |
| |
159 | 175 |
| |
160 | 176 |
| |
|
Collapse file: packages/editor/src/components/post-publish-panel/style.scss
packages/editor/src/components/post-publish-panel/style.scss
Copy file name to clipboardExpand all lines: packages/editor/src/components/post-publish-panel/style.scss+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
141 |
| - | |
| 141 | + | |
| 142 | + | |
142 | 143 |
| |
143 | 144 |
| |
| 145 | + | |
144 | 146 |
| |
145 | 147 |
| |
146 | 148 |
| |
|
Collapse file: packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap
packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap
Copy file name to clipboardExpand all lines: packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap+82-12Lines changed: 82 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
| 50 | + | |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
90 | 91 |
| |
| 92 | + | |
| 93 | + | |
91 | 94 |
| |
92 |
| - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
93 | 106 |
| |
94 | 107 |
| |
95 | 108 |
| |
| |||
143 | 156 |
| |
144 | 157 |
| |
145 | 158 |
| |
146 |
| - | |
| 159 | + | |
147 | 160 |
| |
148 |
| - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
149 | 184 |
| |
150 | 185 |
| |
151 | 186 |
| |
| |||
164 | 199 |
| |
165 | 200 |
| |
166 | 201 |
| |
167 |
| - | |
| 202 | + | |
168 | 203 |
| |
169 | 204 |
| |
170 | 205 |
| |
| |||
219 | 254 |
| |
220 | 255 |
| |
221 | 256 |
| |
222 |
| - | |
| 257 | + | |
223 | 258 |
| |
224 | 259 |
| |
225 | 260 |
| |
| |||
239 | 274 |
| |
240 | 275 |
| |
241 | 276 |
| |
242 |
| - | |
| 277 | + | |
243 | 278 |
| |
244 | 279 |
| |
245 | 280 |
| |
| |||
279 | 314 |
| |
280 | 315 |
| |
281 | 316 |
| |
| 317 | + | |
282 | 318 |
| |
| 319 | + | |
| 320 | + | |
283 | 321 |
| |
284 |
| - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
285 | 333 |
| |
286 | 334 |
| |
287 | 335 |
| |
| |||
335 | 383 |
| |
336 | 384 |
| |
337 | 385 |
| |
338 |
| - | |
| 386 | + | |
339 | 387 |
| |
340 |
| - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
341 | 411 |
| |
342 | 412 |
| |
343 | 413 |
| |
| |||
356 | 426 |
| |
357 | 427 |
| |
358 | 428 |
| |
359 |
| - | |
| 429 | + | |
360 | 430 |
| |
361 | 431 |
| |
362 | 432 |
| |
|
Collapse file: test/e2e/specs/editor/blocks/comments.spec.js
test/e2e/specs/editor/blocks/comments.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/blocks/comments.spec.js+4-12Lines changed: 4 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
80 |
| - | |
81 |
| - | |
| 79 | + | |
82 | 80 |
| |
83 | 81 |
| |
84 | 82 |
| |
| |||
130 | 128 |
| |
131 | 129 |
| |
132 | 130 |
| |
133 |
| - | |
134 |
| - | |
135 |
| - | |
| 131 | + | |
136 | 132 |
| |
137 | 133 |
| |
138 | 134 |
| |
| |||
195 | 191 |
| |
196 | 192 |
| |
197 | 193 |
| |
198 |
| - | |
199 |
| - | |
200 |
| - | |
| 194 | + | |
201 | 195 |
| |
202 | 196 |
| |
203 | 197 |
| |
| |||
226 | 220 |
| |
227 | 221 |
| |
228 | 222 |
| |
229 |
| - | |
230 |
| - | |
231 |
| - | |
| 223 | + | |
232 | 224 |
| |
233 | 225 |
| |
234 | 226 |
| |
|
Collapse file: test/e2e/specs/editor/various/compatibility-classic-editor.spec.js
test/e2e/specs/editor/various/compatibility-classic-editor.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/compatibility-classic-editor.spec.js+2-4Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 |
| - | |
28 |
| - | |
29 |
| - | |
| 27 | + | |
30 | 28 |
| |
31 | 29 |
| |
32 | 30 |
| |
|
Collapse file: test/e2e/specs/editor/various/pattern-overrides.spec.js
test/e2e/specs/editor/various/pattern-overrides.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/pattern-overrides.spec.js+2-13Lines changed: 2 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 |
| - | |
220 |
| - | |
221 |
| - | |
222 |
| - | |
| 210 | + | |
| 211 | + | |
223 | 212 |
| |
224 | 213 |
| |
225 | 214 |
| |
|
Collapse file: test/e2e/specs/editor/various/publish-panel.spec.js
test/e2e/specs/editor/various/publish-panel.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/publish-panel.spec.js+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
| 93 | + | |
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
|
You can’t perform that action at this time.
0 commit comments