Commit graph

18 commits

Author SHA1 Message Date
Simon Bruder c4a73204aa
Make item name optional
This vastly changes how item names are displayed. To make this more
ergonomic, it adds some helper macros. This also aids in adhering to
DRY.
2024-07-11 01:16:45 +02:00
Simon Bruder 5147257e72
Show direct children for item 2024-07-11 01:16:44 +02:00
Simon Bruder b736eba0a0
Show parent hierarchy in item list and details 2024-07-11 01:16:43 +02:00
Simon Bruder 9138865b48
Do not show ID of item class parent on detail page 2024-07-11 01:16:43 +02:00
Simon Bruder 089657d5da
Show item class parent in listing 2024-07-11 01:16:42 +02:00
Simon Bruder 02c1ac1e9d
Make UUID from details page copyable 2024-07-11 01:16:41 +02:00
Simon Bruder 88685bf54b
Do not show UUID in listing 2024-07-11 01:16:40 +02:00
Simon Bruder af2ce1e9b1
Add label printing 2024-07-11 01:16:39 +02:00
Simon Bruder 21c99a1677
Use diesel-async
This simplifies running queries, as it avoids having to use web::block
for everything.
2024-07-11 01:16:39 +02:00
Simon Bruder 7b47d89666
Add deletion to API
It is not yet exposed to the frontend.
2024-07-11 01:16:38 +02:00
Simon Bruder 775bc6ba9e
Add item classes 2024-07-11 01:16:37 +02:00
Simon Bruder ae50056252
Add postgresql CLI 2024-07-11 01:16:36 +02:00
Simon Bruder acd5ab3c4c
diesel: Do not automatically generate schema
It currently can’t handle views, so it has to be updated manually based
on diesel print-schema.
2024-07-11 01:16:36 +02:00
Simon Bruder ffddf2ba00
Add parent to item 2024-07-11 01:16:35 +02:00
Simon Bruder f0037b13f8
Add item update functionality 2024-07-11 01:16:34 +02:00
Simon Bruder ac70a4c119
Add frontend prototype 2024-07-11 01:16:27 +02:00
Simon Bruder 83eaf1a5f5
Add static file serving 2024-07-11 01:16:04 +02:00
Simon Bruder f4ba4e9733
Init 2024-07-11 01:16:00 +02:00