Compare commits

..

3 commits

Author SHA1 Message Date
bronsen
60705c87d7 Release version 0.4.6
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
ci/woodpecker/tag/workflow Pipeline failed
2026-02-22 11:06:09 +01:00
bronsen
c7a4c7a411 codestyle: explain why we instantiate the app at module level 2026-02-22 11:04:05 +01:00
bronsen
2de1b3ce0e tui: reword placeholder and tooltip to give hints about expected input format 2026-02-22 11:03:20 +01:00
4 changed files with 8 additions and 7 deletions

View file

@ -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"

View file

@ -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()

View file

@ -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",

2
uv.lock generated
View file

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