diff --git a/pyproject.toml b/pyproject.toml index 83271a8..a29df06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "teilchensammler-cli" -version = "0.4.6" +version = "0.4.5" description = "Build up and maintain an inventory of electronics parts and tools." readme = "README.md" requires-python = ">=3.14,<4.0" diff --git a/src/teilchensammler_cli/main.py b/src/teilchensammler_cli/main.py index c89c61a..4b0364b 100644 --- a/src/teilchensammler_cli/main.py +++ b/src/teilchensammler_cli/main.py @@ -20,10 +20,9 @@ logger = logging.getLogger(__name__) class SammlerApp(App): async def on_mount(self) -> None: create_db_and_tables() - self.push_screen(AddInventoryScreen()) + _ = self.push_screen(AddInventoryScreen()) -# so we can import it without running it app = SammlerApp() diff --git a/src/teilchensammler_cli/tui.py b/src/teilchensammler_cli/tui.py index fd5cd32..87ffa62 100644 --- a/src/teilchensammler_cli/tui.py +++ b/src/teilchensammler_cli/tui.py @@ -23,11 +23,11 @@ class SearchBar(Static): def compose(self) -> ComposeResult: with HorizontalGroup(id="search-bar-widget"): yield Input( - placeholder='This is a name. "This is the description" #these #are #tags', + placeholder="Enter Teilchen information: name, description, #tags", tooltip=( - "Enter a name followed by a period, then a description " - 'enclosed in double quotes ("). You should use #hashtags for any meta information. ' - "Hashtags can be placed anywhere." + "This is a free-form field: Enter a name and " + "description any way you like. You should use #hashtags for any " + "meta information." ), id="teilchen-input", type="text", diff --git a/uv.lock b/uv.lock index a2f0f36..8476c8d 100644 --- a/uv.lock +++ b/uv.lock @@ -1153,7 +1153,7 @@ wheels = [ [[package]] name = "teilchensammler-cli" -version = "0.4.6" +version = "0.4.5" source = { editable = "." } dependencies = [ { name = "ciso8601" },