Compare commits

..

No commits in common. "60705c87d7741e9330a4d8fe554323f7c474165f" and "5f26fbc18f647901e28db0c12698a8992335b41b" have entirely different histories.

4 changed files with 7 additions and 8 deletions

View file

@ -1,6 +1,6 @@
[project] [project]
name = "teilchensammler-cli" name = "teilchensammler-cli"
version = "0.4.6" version = "0.4.5"
description = "Build up and maintain an inventory of electronics parts and tools." description = "Build up and maintain an inventory of electronics parts and tools."
readme = "README.md" readme = "README.md"
requires-python = ">=3.14,<4.0" requires-python = ">=3.14,<4.0"

View file

@ -20,10 +20,9 @@ logger = logging.getLogger(__name__)
class SammlerApp(App): class SammlerApp(App):
async def on_mount(self) -> None: async def on_mount(self) -> None:
create_db_and_tables() create_db_and_tables()
self.push_screen(AddInventoryScreen()) _ = self.push_screen(AddInventoryScreen())
# so we can import it without running it
app = SammlerApp() app = SammlerApp()

View file

@ -23,11 +23,11 @@ class SearchBar(Static):
def compose(self) -> ComposeResult: def compose(self) -> ComposeResult:
with HorizontalGroup(id="search-bar-widget"): with HorizontalGroup(id="search-bar-widget"):
yield Input( yield Input(
placeholder='This is a name. "This is the description" #these #are #tags', placeholder="Enter Teilchen information: name, description, #tags",
tooltip=( tooltip=(
"Enter a name followed by a period, then a description " "This is a free-form field: Enter a name and "
'enclosed in double quotes ("). You should use #hashtags for any meta information. ' "description any way you like. You should use #hashtags for any "
"Hashtags can be placed anywhere." "meta information."
), ),
id="teilchen-input", id="teilchen-input",
type="text", type="text",

2
uv.lock generated
View file

@ -1153,7 +1153,7 @@ wheels = [
[[package]] [[package]]
name = "teilchensammler-cli" name = "teilchensammler-cli"
version = "0.4.6" version = "0.4.5"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "ciso8601" }, { name = "ciso8601" },