feat: add currently_reading and read and repsonsive menu

This commit is contained in:
2026-09-30 21:55:40 +02:00
parent 1f6061b998
commit ccb8dd3d15
11 changed files with 207 additions and 43 deletions
+8 -1
View File
@@ -29,9 +29,14 @@ pnpm dev
# Wishlist
A public shelf of the books in the Baserow wishlist table (`NUXT_BASEROW_WISHLIST_TABLE_ID`): cover, German title
and author per card. A card opens its Thalia link. Search matches title, author, ISBN and Thalia link;
and author per card. A card opens its Thalia link. Search matches title and author;
sort by author (last name) or title.
Below the shelf, **Bereits gelesen** lists title and author of every book in the books table with `read` set
(`read_date` filled in), so nobody gives a book twice. Above it, **Gerade am Lesen** lists the books with
`currently_reading` checked. Search and sort apply to it too. The books table is found through
the wishlist's `books` link.
**Table:** `isbn` (text), `thalia` (URL), `cover` (URL), `books` (link to the books table) and the lookups
`title` (German title) and `authors`.
@@ -52,7 +57,9 @@ app/
useWishlistCover.ts cover from the table or Open Library, saves it back
server/
api/wishlist/books/ GET list, POST [id]/cover
api/wishlist/reading.get.ts, read.get.ts books being read / already read
utils/wishlist.ts Baserow row -> WishlistBook
utils/shelf.ts books table lookup, listShelfBooks(filter)
shared/types/wishlist.ts
```