decided to number bugs and todo so I can link commits to their fixes

This commit is contained in:
2020-12-31 12:18:32 +11:00
parent 868ad1379f
commit ddfd0b878b
2 changed files with 31 additions and 29 deletions

39
README
View File

@@ -30,30 +30,29 @@ python3 main.py
### Remember:
MUST use form.errors when we have a validator that is fancier than not empty (year_published in book and num_books in series SO FAR)
### TODO:
- consider created/modifed for all fields? but mostly are they set via ORM for new books?
TODO-1 consider created/modifed for all fields? but mostly are they set via ORM for new books?
* No, not being set...
- need to delete 1 sub_book from book
TODO-2 need to delete 1 sub_book from book
* swap the 'add sub book' for 'remove from parent book' button and then act on it (separate route, simple sql exec and route back to (no-longer) child book)
(noting that deleting a child book already removes the book_sub_book_link)
- when remove a Parent book from a series, what do we do?
TODO-3 when remove a Parent book from a series, what do we do?
(remove all sub books from series too?)
- should deleting really just ask if want to mark it as SOLD?
- need to add books to loan (on loan page, and via a book search?)
- need to delete book from loan
- show books on shelf list
- show books to buy view / printable
- show unrated books (with toggle to exclude those with missing in a series)
- show books missing from a series (I own only some of them)
- show books on wish list
- show books that need replacing
- show books I have sold
- show books with poor rating
- view list of possible duplicate books by title
- consider which of the 'books maybe not valid' reports make sense still
TODO-4 with series remove - If we click a subbook, then remove series button needs to be clever (might need client-side validation / confirmation, eg. this is a subbook, you want to remove all of the sub books from the series?)
TODO-5 should deleting really just ask if want to mark it as SOLD?
TODO-6 need to add books to loan (on loan page, and via a book search?)
TODO-7 need to delete book from loan
TODO-8 show books on shelf list
TODO-9 show books to buy view / printable
TODO-11 show unrated books (with toggle to exclude those with missing in a series)
TODO-12 show books missing from a series (I own only some of them)
TODO-13 show books on wish list
TODO-14 show books that need replacing
TODO-15 show books I have sold
TODO-16 show books with poor rating
TODO-17 view list of possible duplicate books by title
TODO-18 consider which of the 'books maybe not valid' reports make sense still
(can you even have an N/A publisher now for example, but the genre one is interesting)
- icons for on wish list, etc.? (not sure I really want them, but if so)
TODO-19 icons on wish list, etc.? (not sure I really want them, but if so)
- wishlist: search-dollar OR https://www.flaticon.com/free-icon/wishlist_868517
- save: https://www.flaticon.com/free-icon/sold_463255?term=sold&page=1&position=6&related_item_id=463255
- with ORM: should I lazy load all books (ajax the 2nd->last pages in, or not use ORM, and do a quick db.execute()....)
TODO-20 ORM: should I lazy load all books (ajax the 2nd->last pages in, or not use ORM, and do a quick db.execute()....)