minor tweaks

This commit is contained in:
rajeevrajeshuni 2025-11-29 19:45:14 +05:30
parent 978a6c7359
commit da32502b0b
9 changed files with 9 additions and 8 deletions

View file

@ -53,4 +53,4 @@ class TuiCommand(SupportsCliCommand):
f"Failed to launch TUI: {str(ex)}",
docs_url=self.docs_url,
raiseable_exception=ex,
)
)

View file

@ -0,0 +1 @@

View file

@ -182,4 +182,4 @@ class AddTUIScreen(BaseTUIScreen):
data_input.disabled = False
dataset_input.disabled = False
self.query_one("#submit-btn", Button).disabled = False
data_input.focus()
data_input.focus()

View file

@ -38,4 +38,4 @@ class BaseTUIScreen(Screen):
"""Compose the screen with header, content, and footer."""
yield from self.compose_header()
yield from self.compose_content()
yield from self.compose_footer()
yield from self.compose_footer()

View file

@ -212,4 +212,4 @@ class CognifyTUIScreen(BaseTUIScreen):
chunker_radio.disabled = False
background_checkbox.disabled = False
self.query_one("#submit-btn", Button).disabled = False
dataset_input.focus()
dataset_input.focus()

View file

@ -360,4 +360,4 @@ class ConfigTUICommand(SupportsCliCommand):
f"Failed to launch config TUI: {str(ex)}",
docs_url=self.docs_url,
raiseable_exception=ex,
)
)

View file

@ -332,4 +332,4 @@ class DeleteAllConfirmModal(BaseTUIScreen):
self.dismiss(False)
def action_cancel(self) -> None:
self.dismiss(False)
self.dismiss(False)

View file

@ -228,4 +228,4 @@ class HomeScreen(BaseTUIScreen):
def action_quit_app(self) -> None:
"""Quit the entire application."""
self.app.exit()
self.app.exit()

View file

@ -190,4 +190,4 @@ class SearchTUIScreen(BaseTUIScreen):
self.notify(f"Search failed: {str(e)}", severity="error")
finally:
self.is_searching = False
self.is_searching = False