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
4 changes: 4 additions & 0 deletions common/config/src/main/resources/gui.conf
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ gui {
# the limit of columns to be displayed in the result table
limit-columns = 15
limit-columns = ${?GUI_WORKFLOW_WORKSPACE_LIMIT_COLUMNS}

# whether AI python-notebook migration feature is enabled
python-notebook-migration-enabled = false
python-notebook-migration-enabled = ${?GUI_WORKFLOW_WORKSPACE_PYTHON_NOTEBOOK_MIGRATION_ENABLED}
}

# whether to show the "Powered by Texera" attribution link in the sidebar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ object GuiConfig {
conf.getInt("gui.workflow-workspace.limit-columns")
val guiAttributionEnabled: Boolean =
conf.getBoolean("gui.attribution-enabled")
val guiWorkflowWorkspacePythonNotebookMigrationEnabled: Boolean =
conf.getBoolean("gui.workflow-workspace.python-notebook-migration-enabled")
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class ConfigResource {
"copilotEnabled" -> GuiConfig.guiWorkflowWorkspaceCopilotEnabled,
"limitColumns" -> GuiConfig.guiWorkflowWorkspaceLimitColumns,
"attributionEnabled" -> GuiConfig.guiAttributionEnabled,
"pythonNotebookMigrationEnabled" -> GuiConfig.guiWorkflowWorkspacePythonNotebookMigrationEnabled,
// flags from the auth.conf if needed
"expirationTimeInMinutes" -> AuthConfig.jwtExpirationMinutes
)
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/common/type/gui-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export interface GuiConfig {
copilotEnabled: boolean;
limitColumns: number;
attributionEnabled: boolean;
pythonNotebookMigrationEnabled: boolean;
}

export interface SidebarTabs {
Expand Down
Loading