Repository navigation
Commit 7bae0a8
committed
Control BrowserConnectionStatus visibility via is_visible prop to preserve component state across target switches
- 'connected' reappears when changing target back to web
└── apps
└── editor
└── src
└── views
└── prompt
└── frontend
├── Main
│ ├── Main.tsx
│ └── MainView
│ ├── MainView.tsx
│ └── components
│ └── BrowserConnectionStatus
│ └── BrowserConnectionStatus.tsx
├── Prompt.tsx
└── hooks
└── use-prompt
└── use-prompt.ts1 parent e1f7cd6 commit 7bae0a8
2 files changed
Lines changed: 13 additions & 13 deletions
File tree
- apps/editor/src/views/prompt/frontend/Main/MainView
- components/BrowserConnectionStatus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
262 | 261 | | |
263 | 262 | | |
264 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments