zyratlo opened a new pull request, #5254:
URL: https://github.com/apache/texera/pull/5254
### What changes were proposed in this PR?
Introduces a feature flag `python-notebook-migration-enabled` (default
`false`) that will gate the upcoming Python-notebook to Texera-workflow
migration tool. No user-visible behavior changes, the flag controls features
that don't exist on `main` yet.
- `common/config/src/main/resources/gui.conf` — declare
`gui.workflow.workspace.python-notebook-migration-enabled = false`, with
env-var override `GUI_WORKFLOW_WORKSPACE_PYTHON_NOTEBOOK_MIGRATION_ENABLED`.
- `common/config/src/main/scala/org/apache/texera/config/GuiConfig.scala`
— Scala accessor for the new field.
- `…/service/resource/ConfigResource.scala` — include the flag in the
runtime config payload served to the frontend.
- `frontend/src/app/common/type/gui-config.ts` — add the typed field on
the frontend `GuiConfig` interface.
- `frontend/src/app/workspace/component/menu/menu.component.ts` — expose a
`pythonNotebookMigrationEnabled` getter for downstream migration-tool UI to
consume.
### Any related issues, documentation, discussions?
Closes #5253
Parent issue #4301
### How was this PR tested?
- Verified the new field appears in the `/api/config` payload
- Verified `MenuComponent.pythonNotebookMigrationEnabled` resolves
- No new UI in this PR, existing behavior is unchanged
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.7)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]