Compare commits
3 commits
5f26fbc18f
...
60705c87d7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60705c87d7 | ||
|
|
c7a4c7a411 | ||
|
|
2de1b3ce0e |
4 changed files with 8 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "teilchensammler-cli"
|
name = "teilchensammler-cli"
|
||||||
version = "0.4.5"
|
version = "0.4.6"
|
||||||
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"
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,10 @@ 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()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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="Enter Teilchen information: name, description, #tags",
|
placeholder='This is a name. "This is the description" #these #are #tags',
|
||||||
tooltip=(
|
tooltip=(
|
||||||
"This is a free-form field: Enter a name and "
|
"Enter a name followed by a period, then a description "
|
||||||
"description any way you like. You should use #hashtags for any "
|
'enclosed in double quotes ("). You should use #hashtags for any meta information. '
|
||||||
"meta information."
|
"Hashtags can be placed anywhere."
|
||||||
),
|
),
|
||||||
id="teilchen-input",
|
id="teilchen-input",
|
||||||
type="text",
|
type="text",
|
||||||
|
|
|
||||||
2
uv.lock
generated
2
uv.lock
generated
|
|
@ -1153,7 +1153,7 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "teilchensammler-cli"
|
name = "teilchensammler-cli"
|
||||||
version = "0.4.5"
|
version = "0.4.6"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "ciso8601" },
|
{ name = "ciso8601" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue