minor tweaks
This commit is contained in:
parent
978a6c7359
commit
da32502b0b
9 changed files with 9 additions and 8 deletions
|
|
@ -53,4 +53,4 @@ class TuiCommand(SupportsCliCommand):
|
|||
f"Failed to launch TUI: {str(ex)}",
|
||||
docs_url=self.docs_url,
|
||||
raiseable_exception=ex,
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -360,4 +360,4 @@ class ConfigTUICommand(SupportsCliCommand):
|
|||
f"Failed to launch config TUI: {str(ex)}",
|
||||
docs_url=self.docs_url,
|
||||
raiseable_exception=ex,
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -332,4 +332,4 @@ class DeleteAllConfirmModal(BaseTUIScreen):
|
|||
self.dismiss(False)
|
||||
|
||||
def action_cancel(self) -> None:
|
||||
self.dismiss(False)
|
||||
self.dismiss(False)
|
||||
|
|
|
|||
|
|
@ -228,4 +228,4 @@ class HomeScreen(BaseTUIScreen):
|
|||
|
||||
def action_quit_app(self) -> None:
|
||||
"""Quit the entire application."""
|
||||
self.app.exit()
|
||||
self.app.exit()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue