OLD | NEW |
---|---|
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // NOTE: need to be careful about adding release notes early otherwise it'll | 5 // NOTE: need to be careful about adding release notes early otherwise it'll |
6 // be shown in Canary (e.g. make sure the release notes are accurate). | 6 // be shown in Canary (e.g. make sure the release notes are accurate). |
7 // https://github.com/ChromeDevTools/devtools-frontend/wiki/Release-Notes | 7 // https://github.com/ChromeDevTools/devtools-frontend/wiki/Release-Notes |
8 | 8 |
9 var commandMenuShortcut = Host.isMac() ? 'Command + Shift + P' : 'Control + Shif t + P'; | |
10 | |
9 /** @type {!Array<!Help.ReleaseNote>} */ | 11 /** @type {!Array<!Help.ReleaseNote>} */ |
10 Help.releaseNoteText = [{ | 12 Help.releaseNoteText = [ |
11 version: 1, | 13 { |
12 date: 'March 2017', | 14 version: 2, |
chenwilliam
2017/04/11 19:20:49
Can you append instead of prepending it? It'll mak
| |
13 highlights: [ | 15 date: 'April 2017', |
14 { | 16 highlights: [ |
15 title: 'New Performance and Memory panels', | 17 { |
16 subtitle: 'Head to Performance for JavaScript profiling', | 18 title: 'CSS and JS code coverage', |
17 link: 'https://developers.google.com/web/updates/2017/03/devtools-release- notes#performance-panel', | 19 subtitle: 'Find unused CSS and JS with the new Coverage drawer.', |
18 }, | 20 link: 'https://developers.google.com/web/updates/2017/04/devtools-releas e-notes#coverage', |
19 { | 21 }, |
20 title: 'Editable cookies', | 22 { |
21 subtitle: 'You can edit any existing cookies and create new ones in the Ap plication panel', | 23 title: 'Full-page screenshots', |
22 link: 'https://developers.google.com/web/updates/2017/03/devtools-release- notes#cookies', | 24 subtitle: 'Take a screenshot of the entire page, from the top of the vie wport to the bottom.', |
23 }, | 25 link: 'https://developers.google.com/web/updates/2017/04/devtools-releas e-notes#screenshots', |
24 { | 26 }, |
25 title: 'Console filtering & settings', | 27 { |
26 subtitle: 'Use the text filter or click the Console settings icon to touch up your preferences', | 28 title: 'Block requests', |
27 link: 'https://developers.google.com/web/updates/2017/03/devtools-release- notes#console', | 29 subtitle: 'Manually disable individual requests in the Network panel.', |
28 }, | 30 link: 'https://developers.google.com/web/updates/2017/04/devtools-releas e-notes#block-requests', |
29 { | 31 }, |
30 title: 'Debugger catches out-of-memory errors', | 32 { |
31 subtitle: 'See the stack or grab a heap snapshot to see why the app may cr ash', | 33 title: 'Step over async await', |
32 link: 'https://developers.google.com/web/updates/2017/03/devtools-release- notes#out-of-memory-breakpoints', | 34 subtitle: 'Step through async functions predictably.', |
33 }, | 35 link: 'https://developers.google.com/web/updates/2017/04/devtools-releas e-notes#async', |
34 ], | 36 }, |
35 link: 'https://developers.google.com/web/updates/2017/03/devtools-release-note s', | 37 { |
36 }]; | 38 title: 'Unified Command Menu', |
39 subtitle: 'Execute commands and open files from the newly-unified Comman d Menu (' + commandMenuShortcut + ').', | |
40 link: 'https://developers.google.com/web/updates/2017/04/devtools-releas e-notes#command-menu', | |
41 }, | |
42 { | |
43 title: 'Workspaces 2.0', | |
44 subtitle: 'Check out the new UX for using DevTools as your code editor.' , | |
45 link: 'https://developers.google.com/web/updates/2017/04/devtools-releas e-notes#workspaces', | |
46 }, | |
47 ], | |
48 link: 'https://developers.google.com/web/updates/2017/04/devtools-release-no tes', | |
49 }, | |
50 { | |
51 version: 1, | |
52 date: 'March 2017', | |
53 highlights: [ | |
54 { | |
55 title: 'New Performance and Memory panels', | |
56 subtitle: 'Head to Performance for JavaScript profiling', | |
57 link: 'https://developers.google.com/web/updates/2017/03/devtools-releas e-notes#performance-panel', | |
58 }, | |
59 { | |
60 title: 'Editable cookies', | |
61 subtitle: 'You can edit any existing cookies and create new ones in the Application panel', | |
62 link: 'https://developers.google.com/web/updates/2017/03/devtools-releas e-notes#cookies', | |
63 }, | |
64 { | |
65 title: 'Console filtering & settings', | |
66 subtitle: 'Use the text filter or click the Console settings icon to tou ch up your preferences', | |
67 link: 'https://developers.google.com/web/updates/2017/03/devtools-releas e-notes#console', | |
68 }, | |
69 { | |
70 title: 'Debugger catches out-of-memory errors', | |
71 subtitle: 'See the stack or grab a heap snapshot to see why the app may crash', | |
72 link: 'https://developers.google.com/web/updates/2017/03/devtools-releas e-notes#out-of-memory-breakpoints', | |
73 }, | |
74 ], | |
75 link: 'https://developers.google.com/web/updates/2017/03/devtools-release-no tes', | |
76 } | |
77 ]; | |
OLD | NEW |