Skip to content

Commit f06200b

Browse files
authored
Remove 0.83 "What's new" highlight from welcome panel (#233)
1 parent d65c7f7 commit f06200b

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

config/gni/devtools_grd_files.gni

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ grd_files_release_sources = [
237237
"front_end/Images/psychiatry.svg",
238238
"front_end/Images/react_native/learn-debugging-basics.jpg",
239239
"front_end/Images/react_native/learn-native-debugging.jpg",
240-
"front_end/Images/react_native/whats-new-083.jpg",
241240
"front_end/Images/react_native/learn-react-native-devtools.jpg",
242241
"front_end/Images/react_native/welcomeIcon.png",
243242
"front_end/Images/record-start.svg",

config/gni/devtools_image_files.gni

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ devtools_image_files = [
1818
"popoverArrows.png",
1919
"react_native/learn-debugging-basics.jpg",
2020
"react_native/learn-native-debugging.jpg",
21-
"react_native/whats-new-083.jpg",
2221
"react_native/learn-react-native-devtools.jpg",
2322
"react_native/welcomeIcon.png",
2423
"toolbarResizerVertical.png",
-87.1 KB
Binary file not shown.

front_end/panels/rn_welcome/RNWelcome.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ const UIStrings = {
4040
docsNativeDebugging: 'Native Debugging',
4141
/** @description "Native Debugging" item detail */
4242
docsNativeDebuggingDetail: 'Find out more about native debugging tools',
43-
/** @description Title for the "What's New" highlighted item */
44-
whatsNewHighlightTitle: 'React Native 0.83 - Performance & Network debugging, improved desktop experience',
45-
/** @description Detail for the "What's New" highlighted item */
46-
whatsNewHighlightDetail: 'Learn about the latest debugging features in 0.83',
4743
} as const;
4844

4945
const str_ = i18n.i18n.registerUIStrings('panels/rn_welcome/RNWelcome.ts', UIStrings);
@@ -131,10 +127,6 @@ export class RNWelcomeImpl extends UI.Widget.VBox implements
131127
'../../Images/react_native/welcomeIcon.png',
132128
import.meta.url,
133129
).toString();
134-
const whatsNewImageUrl = new URL(
135-
'../../Images/react_native/whats-new-083.jpg',
136-
import.meta.url,
137-
).toString();
138130
const docsImage1Url = new URL(
139131
'../../Images/react_native/learn-debugging-basics.jpg',
140132
import.meta.url,
@@ -196,16 +188,6 @@ export class RNWelcomeImpl extends UI.Widget.VBox implements
196188
</header>
197189
${showDocs ? html`
198190
<section class="rn-welcome-docsfeed">
199-
<div class="rn-welcome-docsfeed-highlight">
200-
<h2 class="rn-welcome-h2">What's new</h2>
201-
<button class="rn-welcome-docsfeed-item" type="button" role="link" @click=${this.#handleLinkPress.bind(this, 'https:\/\/reactnative.dev/blog')} title=${i18nString(UIStrings.docsDebuggingBasics)}>
202-
<div class="rn-welcome-image" style="background-image: url('${whatsNewImageUrl}')"></div>
203-
<div>
204-
<p class="devtools-link">${i18nString(UIStrings.whatsNewHighlightTitle)}</p>
205-
<p>${i18nString(UIStrings.whatsNewHighlightDetail)}</p>
206-
</div>
207-
</button>
208-
</div>
209191
<h2 class="rn-welcome-h2">Learn</h2>
210192
<button class="rn-welcome-docsfeed-item" type="button" role="link" @click=${this.#handleLinkPress.bind(this, 'https:\/\/reactnative.dev/docs/debugging')} title=${i18nString(UIStrings.docsDebuggingBasics)}>
211193
<div class="rn-welcome-image" style="background-image: url('${docsImage1Url}')"></div>

0 commit comments

Comments
 (0)