New collection: redesign to 2 steps for create domain and update domain
Due to #226, when we create a collection in BCMS, we also create a domain in PMCBook. At the moment we have fields and settings that map to domain settings for the create domain
and update domain
request. These steps need to be separated in the UI.
New Collection
The same process as books (#427 (closed)) applies to new collections.
Step 1 shows these fields:
User resolves any errors returned (possible errors here
-
201
: Success: Collection created. -
500
: Error: Error creating the collection. Please try again. -
400
: Error: Requested collection already exists. Please contact an NCBI System Admin. -
404
: Error: Publisher cannot be found. Please contact an NCBI System Admin. -
404
: Error: Collection template cannot be found. Please contact an NCBI System Admin.
Step 2 shows the settings already in the New collection modal.
User resolves any errors returned (possible errors here)
Error messages for UI:
-
204
: Success: Collection updated. -
500
: Error: Error updating the collection. Please try again. -
400
: Error: Setting does not exist/ is not valid. Please contact an NCBI System Admin.