Commit graph

12 commits

Author SHA1 Message Date
Simon Bruder b0f542077d
Show children in item class details 2024-07-19 00:05:25 +02:00
Simon Bruder 6251dea6a1
Simplify item class model
Whether an item class is generic or specific can be deduced from whether
a parent exists or not.

While the SQL migration (especially the down direction) is quite
complex, it simplifies the handling quite a bit.
2024-07-19 00:05:24 +02:00
Simon Bruder 4f7d1808d4
Switch to maud for templating 2024-07-19 00:05:23 +02:00
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 089657d5da
Show item class parent in listing 2024-07-11 01:16:42 +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 775bc6ba9e
Add item classes 2024-07-11 01:16:37 +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