@@ -27,7 +27,7 @@ const UIStrings = {
2727 /** @description "What's new" link */
2828 whatsNewLabel : 'What\'s new' ,
2929 /** @description Description for sharing the session ID of the current session with the user */
30- sessionIdMessage : '[FB-only] The ID for this React Native DevTools session is :' ,
30+ sessionIdMessage : '[FB-only] React Native DevTools session ID :' ,
3131 /** @description "Debugging Basics" title (docs item 1) */
3232 docsDebuggingBasics : 'Debugging Basics' ,
3333 /** @description "Debugging Basics" item detail */
@@ -40,6 +40,10 @@ 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' ,
4347} as const ;
4448
4549const str_ = i18n . i18n . registerUIStrings ( 'panels/rn_welcome/RNWelcome.ts' , UIStrings ) ;
@@ -127,6 +131,10 @@ export class RNWelcomeImpl extends UI.Widget.VBox implements
127131 '../../Images/react_native/welcomeIcon.png' ,
128132 import . meta. url ,
129133 ) . toString ( ) ;
134+ const whatsNewImageUrl = new URL (
135+ '../../Images/react_native/whats-new-083.jpg' ,
136+ import . meta. url ,
137+ ) . toString ( ) ;
130138 const docsImage1Url = new URL (
131139 '../../Images/react_native/learn-debugging-basics.jpg' ,
132140 import . meta. url ,
@@ -188,6 +196,16 @@ export class RNWelcomeImpl extends UI.Widget.VBox implements
188196 </ header >
189197 ${ showDocs ? html `
190198 < 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 >
191209 < h2 class ="rn-welcome-h2 "> Learn</ h2 >
192210 < button class ="rn-welcome-docsfeed-item " type ="button " role ="link " @click =${ this . #handleLinkPress. bind ( this , 'https:\/\/reactnative.dev/docs/debugging' ) } title =${ i18nString ( UIStrings . docsDebuggingBasics ) } >
193211 < div class ="rn-welcome-image " style ="background-image: url('${ docsImage1Url } ') "> </ div >
0 commit comments