@kiwidude:
Quote:
To answer your question about why the Move to list option is not on the main library view, it was because of the fact that unless you are viewing a list there is no guarantees about the book being clicked actually being on the supposed list you are moving "from" or that it is on any list at all.
|
How does 'Add to list' know which lists are valid? Doesn't 'Remove from list' only know and display the lists that a book is in? I will have to look at that last one more closely.
Click on ‘Move to list.’
- If the book is not in any list, display the message “The book is not in any list. Use ‘Add to list’ instead."
- If the book is in any list at all, display the message “Move from ...” and present as choices all of the lists which the book is in. Allow the user to select only one. Perform the same action as 'Remove from list.'
- Then display “Move to ...” and present as choices all of valid lists that have been defined. Allow the user to select only one. Perform the same action as 'Add to list.'