feat(studio): restore project selection and loading flow
Restore the project launcher, creation wizard and loading shield with UI2 components. Coordinate real opening phases, a one-second minimum, pending session cleanup and per-project window geometry while retaining the Play slice. Keep global presentation controls in the project window, make the launcher frame resize with its window and prevent root run from chaining the foundation demo after the product exits. Update desktop/installed probes and documentation. Register the existing native bundle after capacity qualification, without changing native binaries or bypassing the execution guard. Validated with unit, desktop, native Play, headless, save, MCP and installed connector gates. Human-tested and accepted under WRK-0018.
This commit is contained in:
@@ -12,6 +12,15 @@ application {
|
||||
mainClass = "p.studio.ui.javafx2.StudioLauncher"
|
||||
}
|
||||
|
||||
// Gradle's unqualified task selector also finds this application's `run` after
|
||||
// the product's run. Keep the foundation demo opt-in when invoked at the root.
|
||||
tasks.named<JavaExec>("run") {
|
||||
onlyIf("the foundation demo was explicitly selected") {
|
||||
gradle.startParameter.currentDir.toPath().normalize().startsWith(projectDir.toPath().normalize()) ||
|
||||
gradle.startParameter.taskNames.any { it.removePrefix(":") == "prometeu-studio-ui-javafx-2:run" }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies { implementation(project(":prometeu-studio-api")) }
|
||||
|
||||
distributions {
|
||||
|
||||
Reference in New Issue
Block a user