Conversation
|
Preview deployed: https://preview-1404.staging.documentcloud.org |
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@eyeseast I tried moving the expandable field list to |
|
This works. One thing I found in production is that Solr is very slow to index documents into projects. So if I add a document to a project and get the optimistic update, and then I click that new project link, I don't see the document. I'm not sure if this is a problem we need to solve here, but it's probably something we should address eventually. Ideally, I'd like to make Solr faster to update, but failing that, we should think about where we can signal to the user that the change did actually work, and things are happening in the background. |
allanlasser
left a comment
There was a problem hiding this comment.
LGTM—I'll leave it to Chris for a final ✅
eyeseast
left a comment
There was a problem hiding this comment.
This is good to merge. I want to think about how to handle the in-project side, but that's a separate issue. I'm not sure exactly where that needs to live yet.
9819dc2 to
131b928
Compare
e7b8a11 to
a6d4650
Compare
Closes #895. When a project is created via the Move to Project form, the selected documents are immediately added to the new project. The document list UI is also updated immediately when documents are bulk added to or removed from a project.
Introduces a new
applyEditsutil that reducesedited.updateboilerplate and enables greater flexibility for patching the store after documents are edited.Also fixes a bug where checking a project in the form would throw an error if one of the selected documents was already in that project.