diff --git a/pyproject.toml b/pyproject.toml index a29df06..83271a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "teilchensammler-cli" -version = "0.4.5" +version = "0.4.6" 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 4b0364b..c89c61a 100644 --- a/src/teilchensammler_cli/main.py +++ b/src/teilchensammler_cli/main.py @@ -20,9 +20,10 @@ 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 87ffa62..fd5cd32 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="Enter Teilchen information: name, description, #tags", + placeholder='This is a name. "This is the description" #these #are #tags', tooltip=( - "This is a free-form field: Enter a name and " - "description any way you like. You should use #hashtags for any " - "meta information." + "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." ), id="teilchen-input", type="text", diff --git a/uv.lock b/uv.lock index 8476c8d..a2f0f36 100644 --- a/uv.lock +++ b/uv.lock @@ -1153,7 +1153,7 @@ wheels = [ [[package]] name = "teilchensammler-cli" -version = "0.4.5" +version = "0.4.6" source = { editable = "." } dependencies = [ { name = "ciso8601" },