Commit 1b386e6
committed
chore(studio): remove fully rolled-out studio feature flags
Six default-true studio feature flags, each reachable under two env names
(12 VITE_STUDIO_* vars total), all shipped default-on 7+ weeks ago:
- VITE_STUDIO_ENABLE_PREVIEW_MANUAL_DRAGGING / _PREVIEW_MANUAL_EDITING_ENABLED
- VITE_STUDIO_ENABLE_INSPECTOR_PANELS / _INSPECTOR_PANELS_ENABLED
- VITE_STUDIO_ENABLE_BLOCKS_PANEL / _BLOCKS_PANEL_ENABLED
- VITE_STUDIO_ENABLE_GSAP_PANEL / _GSAP_PANEL_ENABLED
- VITE_STUDIO_ENABLE_KEYFRAMES / _KEYFRAMES_ENABLED
- VITE_STUDIO_ENABLE_RAZOR_TOOL / _RAZOR_TOOL_ENABLED
Each flag was left at its default, so the off branch was unreachable. The
disabled-state code it kept alive goes with it: the greyed-out Inspector
button, the inspector-off reset effect in useDomSelection, the three
selection kill-switch early-returns, and the tab redirect in
normalizeStudioUrlPanelTab (whose options param had no real caller).
No behavior change.1 parent 87791fd commit 1b386e6
25 files changed
Lines changed: 236 additions & 427 deletions
File tree
- packages/studio/src
- components
- editor
- nle
- sidebar
- hooks
- player/components
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
263 | 262 | | |
264 | 263 | | |
265 | 264 | | |
266 | | - | |
267 | | - | |
268 | | - | |
| 265 | + | |
269 | 266 | | |
270 | 267 | | |
271 | 268 | | |
| |||
367 | 364 | | |
368 | 365 | | |
369 | 366 | | |
370 | | - | |
| 367 | + | |
371 | 368 | | |
372 | 369 | | |
373 | 370 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
| |||
328 | 324 | | |
329 | 325 | | |
330 | 326 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
| 327 | + | |
337 | 328 | | |
338 | 329 | | |
339 | 330 | | |
340 | | - | |
341 | 331 | | |
342 | 332 | | |
343 | 333 | | |
| |||
349 | 339 | | |
350 | 340 | | |
351 | 341 | | |
352 | | - | |
353 | 342 | | |
354 | 343 | | |
355 | 344 | | |
356 | 345 | | |
357 | | - | |
358 | | - | |
359 | | - | |
| 346 | + | |
360 | 347 | | |
361 | | - | |
362 | | - | |
363 | | - | |
| 348 | + | |
364 | 349 | | |
365 | 350 | | |
366 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 13 | + | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
229 | 226 | | |
230 | 227 | | |
231 | 228 | | |
232 | | - | |
233 | | - | |
| 229 | + | |
234 | 230 | | |
235 | 231 | | |
236 | 232 | | |
| |||
483 | 479 | | |
484 | 480 | | |
485 | 481 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
502 | 494 | | |
503 | 495 | | |
504 | 496 | | |
| |||
0 commit comments