Skip to content

Commit 58d6902

Browse files
committed
v0.6.15: restore missing conn_card in settings page
Previous edit accidentally dropped the conn_card (Canvas URL / Panopto Host) definition, causing NameError on launch.
1 parent b3fb189 commit 58d6902

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

gui.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,16 @@ def _mk_tf(key: str, **kwargs) -> ft.TextField:
11171117
hint_text="AIza… (Google AI Studio key, no default)",
11181118
expand=True, dense=True, bgcolor=C_OUTPUT_BG, border_color=C_PRIMARY, text_size=12)
11191119

1120+
conn_card = _card(ft.Column(controls=[
1121+
ft.Text("Connection", size=13,
1122+
weight=ft.FontWeight.BOLD, color=ft.Colors.WHITE),
1123+
ft.Text("Saved to config.json in the project directory.",
1124+
size=11, color=ft.Colors.with_opacity(0.5, ft.Colors.WHITE)),
1125+
ft.Container(height=4),
1126+
_field_row("Canvas URL", tf_canvas_url),
1127+
_field_row("Panopto Host", tf_panopto),
1128+
], spacing=10))
1129+
11201130
refresh_status = ft.Text("", size=11,
11211131
color=ft.Colors.with_opacity(0.6, ft.Colors.WHITE))
11221132

0 commit comments

Comments
 (0)