Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This can then be served from a static web server to test locally:
python3 -m http.server 8000 --directory out/Default/gen/front_end
```

The frontend will be available at `http://localhost:8000/inspector.html` (or `http://localhost:8000/rn_inspector.html` for the RN-specific entry point).
The frontend will be available at `http://localhost:8000/inspector.html` (or `http://localhost:8000/rn_fusebox.html` for the RN-specific entry point).

### Syncing with the upstream repo

Expand Down
3 changes: 0 additions & 3 deletions config/gni/devtools_grd_files.gni
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ grd_files_release_sources = [
"front_end/entrypoints/node_app/node_app.js",
"front_end/entrypoints/rehydrated_devtools_app/rehydrated_devtools_app.js",
"front_end/entrypoints/rn_fusebox/rn_fusebox.js",
"front_end/entrypoints/rn_inspector/rn_inspector.js",
"front_end/entrypoints/shell/shell.js",
"front_end/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js",
"front_end/entrypoints/wasmparser_worker/wasmparser_worker.js",
Expand Down Expand Up @@ -681,7 +680,6 @@ grd_files_release_sources = [
"front_end/panels/recorder/recorder-meta.js",
"front_end/panels/recorder/recorder.js",
"front_end/panels/recorder/util/util.js",
"front_end/panels/rn_welcome/rn_welcome-legacy-meta.js",
"front_end/panels/rn_welcome/rn_welcome-meta.js",
"front_end/panels/rn_welcome/rn_welcome.js",
"front_end/panels/screencast/screencast-meta.js",
Expand Down Expand Up @@ -721,7 +719,6 @@ grd_files_release_sources = [
"front_end/panels/whats_new/whats_new.js",
"front_end/rehydrated_devtools_app.html",
"front_end/rn_fusebox.html",
"front_end/rn_inspector.html",
"front_end/services/puppeteer/puppeteer.js",
"front_end/services/trace_bounds/trace_bounds.js",
"front_end/services/tracing/tracing.js",
Expand Down
2 changes: 0 additions & 2 deletions front_end/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ group("front_end") {
"entrypoints/node_app:entrypoint",
"entrypoints/rehydrated_devtools_app:entrypoint",
"entrypoints/rn_fusebox:entrypoint",
"entrypoints/rn_inspector:entrypoint",
"entrypoints/shell",
"entrypoints/wasmparser_worker:worker_entrypoint",
"entrypoints/worker_app:entrypoint",
Expand Down Expand Up @@ -78,7 +77,6 @@ node_action("html_entrypoints") {
"ndb_app",
"node_app",
"rn_fusebox",
"rn_inspector",
"rehydrated_devtools_app",
"worker_app",
"device_mode_emulation_frame",
Expand Down
4 changes: 2 additions & 2 deletions front_end/core/host/RNPerfMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RNPerfMetrics {
#listeners = new Set<RNReliabilityEventListener>();
#launchId: string|null = null;
#appId: string|null = null;
#entryPoint: EntryPoint = 'rn_inspector';
#entryPoint: EntryPoint = 'rn_fusebox';
#telemetryInfo: Object = {};
// map of panel location to panel name
#currentPanels = new Map<PanelLocation, string>();
Expand Down Expand Up @@ -381,7 +381,7 @@ function maybeWrapError(baseMessage: string, error: unknown): [string, Error] {
return [message, new Error(message, {cause: error})];
}

type EntryPoint = 'rn_fusebox'|'rn_inspector';
type EntryPoint = 'rn_fusebox';

type CommonEventFields = Readonly<{
timestamp: DOMHighResTimeStamp,
Expand Down
1 change: 0 additions & 1 deletion front_end/core/rn_experiments/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ devtools_entrypoint("bundle") {

visibility = [
"../../entrypoints/rn_fusebox:*",
"../../entrypoints/rn_inspector:*",
"../../entrypoints/main:*",
]
}
4 changes: 2 additions & 2 deletions front_end/core/rn_experiments/experimentsImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
// - define it in the RNExperiments enum and Experiments enum (in Runtime.ts)
// - register it in this file (rn_experiments.ts)
// - set `enabledByDefault` as appropriate
// - optionally, configure it further in each RN-specific entry point
// (rn_inspector.ts, rn_fusebox.ts)
// - optionally, configure it further in the RN-specific entry point
// (rn_fusebox.ts)
//
// React Native-specific experiments are merged into the main ExperimentsSupport
// object in MainImpl and can't be configured further afterwards (except
Expand Down
1 change: 0 additions & 1 deletion front_end/entrypoints/inspector_main/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ devtools_entrypoint("meta") {
"../devtools_app/*",
"../rehydrated_devtools_app/*",
"../rn_fusebox:*",
"../rn_inspector:*",
]
}

Expand Down
1 change: 0 additions & 1 deletion front_end/entrypoints/main/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ devtools_entrypoint("bundle") {
"../node_app:*",
"../rehydrated_devtools_app:*",
"../rn_fusebox:*",
"../rn_inspector:*",
"../worker_app:*",
]

Expand Down
43 changes: 0 additions & 43 deletions front_end/entrypoints/rn_inspector/BUILD.gn

This file was deleted.

7 changes: 0 additions & 7 deletions front_end/entrypoints/rn_inspector/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions front_end/entrypoints/rn_inspector/rn_inspector.ts

This file was deleted.

1 change: 0 additions & 1 deletion front_end/entrypoints/shell/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ devtools_entrypoint("shell") {
"../ndb_app:*",
"../node_app:*",
"../rn_fusebox:*",
"../rn_inspector:*",
"../worker_app:*",
]

Expand Down
3 changes: 0 additions & 3 deletions front_end/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
</style>
<body>
<ul>
<li>
<a href="rn_inspector.html">rn_inspector.html ⚛️</a>
</li>
<li>
<a href="rn_fusebox.html">rn_fusebox.html ⚛️</a>
</li>
Expand Down
1 change: 0 additions & 1 deletion front_end/panels/recorder/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ devtools_entrypoint("meta") {
"../../entrypoints/devtools_app:*",
"../../entrypoints/inspector:*",
"../../entrypoints/rn_fusebox:*",
"../../entrypoints/rn_inspector:*",
]
}

Expand Down
8 changes: 0 additions & 8 deletions front_end/panels/rn_welcome/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ devtools_entrypoint("bundle") {
visibility += devtools_panels_visibility
}

devtools_entrypoint("meta-legacy") {
entrypoint = "rn_welcome-legacy-meta.ts"

deps = [ ":bundle" ]

visibility = [ "../../entrypoints/rn_inspector/*" ]
}

devtools_entrypoint("meta") {
entrypoint = "rn_welcome-meta.ts"

Expand Down
18 changes: 0 additions & 18 deletions front_end/panels/rn_welcome/RNWelcome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ import {html, render} from '../../ui/lit/lit.js';
import rnWelcomeStyles from './rnWelcome.css.js';

const UIStrings = {
/** @description Beta label */
betaLabel: 'Beta',
/** @description Tech Preview label */
techPreviewLabel: 'Tech Preview',
/** @description Welcome text */
welcomeMessage: 'Welcome to debugging in React Native',
/** @description "Debugging docs" link */
Expand Down Expand Up @@ -49,8 +45,6 @@ let rnWelcomeImplInstance: RNWelcomeImpl;

interface RNWelcomeOptions {
debuggerBrandName: () => Platform.UIString.LocalizedString;
showBetaLabel?: boolean;
showTechPreviewLabel?: boolean;
showDocs?: boolean;
}

Expand Down Expand Up @@ -119,8 +113,6 @@ export class RNWelcomeImpl extends UI.Widget.VBox implements
render(): void {
const {
debuggerBrandName,
showBetaLabel = false,
showTechPreviewLabel = false,
showDocs = false,
} = this.options;
const welcomeIconUrl = new URL(
Expand Down Expand Up @@ -150,16 +142,6 @@ export class RNWelcomeImpl extends UI.Widget.VBox implements
<h1 class="rn-welcome-title">
${debuggerBrandName()}
</h1>
${showBetaLabel ? html`
<div class="rn-welcome-title-accessory">
${i18nString(UIStrings.betaLabel)}
</div>
` : null}
${showTechPreviewLabel ? html`
<div class="rn-welcome-title-accessory rn-welcome-title-accessory-purple">
${i18nString(UIStrings.techPreviewLabel)}
</div>
` : null}
</div>
<div class="rn-welcome-tagline">
${i18nString(UIStrings.welcomeMessage)}
Expand Down
13 changes: 0 additions & 13 deletions front_end/panels/rn_welcome/rnWelcome.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,6 @@
color: var(--color-text-primary);
}

.rn-welcome-title-accessory {
margin-left: 12px;
padding: 4px 8px;
border-radius: 6px;
background-color: var(--sys-color-green-bright);
font-size: 12px;
color: var(--sys-color-primary);
}

.rn-welcome-title-accessory-purple {
background-color: var(--sys-color-purple-bright);
}

.rn-welcome-tagline {
margin-bottom: 24px;
font-size: 1rem;
Expand Down
52 changes: 0 additions & 52 deletions front_end/panels/rn_welcome/rn_welcome-legacy-meta.ts

This file was deleted.

Loading
Loading