-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix quiz conversion process regarding collections #571
Fix quiz conversion process regarding collections #571
Conversation
Not sure on this. Will probably introduce a whole host of issues with the actual app, regarding fetching data.
Added some changes to address some issues arising from the edge case where a docSet has no documents. |
Let's have two separate PRs:
I believe that I had code in SAB that would keep from building PWA without scripture books. It might be that I just checked for number of books regardless of book type (i.e. a bug). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Well done!
* change quiz convert from docSet to collection id * Return dummy docSet object for catalog * Don't write pkf file if there is no docSet Not sure on this. Will probably introduce a whole host of issues with the actual app, regarding fetching data. * Revert "Don't write pkf file if there is no docSet" This reverts commit cacaf54. * Revert "Return dummy docSet object for catalog" This reverts commit da35566.
Per @chrisvire 's request, switched quiz conversion to store quizzes in a folder named after the parent collection instead of the docSet.
The primary rationale is that docSet is a Proskomma specific entity, rather than one specific to an SAB project, unlike book collections.