Skip to content
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

Merge master into UserCollection #428

Merged
merged 118 commits into from
May 26, 2020
Merged

Merge master into UserCollection #428

merged 118 commits into from
May 26, 2020

Conversation

prabalsingh24
Copy link
Contributor

@prabalsingh24 prabalsingh24 commented May 26, 2020

Problem

I will be adding collection in the search feature and need editor too. So updating UserCollection branch

Solution

Merge master into UserCollection

Deleted some previous work
Consider reworking and squashing this commit
This allows us to have the same submisison structure for entity and entity merge components.
The controller for merging pages was almost identical to the entity-editor. Refactored to make entity-editor controller work for regular edits and merges
There's no other way I can come up ith to know whether a revision is a merge or a standard edit
& Use  ORM option to keep multiple EntityRevisions with the same ID
Remove whatever I tried with revisionParents
so we can retrieve them from the body of the /edit/handler request, which sends the rootState
on all 5 $entity$_revision, so that we can deduce which entities have been merged by the revision.
Otherwise, if for example we're merging two authors, but there are relationships with another author, three author_revision rows will be created, but onyl two of the entities are merged.
Set isMerge property for revision and $entity$_revision entries
In preparation to adding the other entity types sections.
Process entity section form state to allow multiple entities state that works with front-end.
And cleaned up extraneous argument in call to debouncedUpdateNameField in the non-merge name section
MonkeyDo and others added 24 commits May 5, 2020 16:33
Use ISO strings everywhere we can and {year month day} objects only for date field and validation.
Rename date utility isNullValue to isNullDate.
This got borked during a rebase I think
BB-292 fix(sql): Script to delete duplicate relationships
After PR #383 mentions of "click to open in a new tab" are wrong and misleading
search: add 'editor' type in the search result
fix: fix mentions of "open in a new tab"
@coveralls
Copy link

coveralls commented May 26, 2020

Coverage Status

Coverage increased (+10.4%) to 60.251% when pulling 77fccbb on master into 3717b8f on UserCollection.

MonkeyDo and others added 3 commits May 26, 2020 13:36
Also remove special case for '/create' routes (see previous commit), and  added types
BB-481: Fix merged entities path redirect
Copy link
Contributor

@MonkeyDo MonkeyDo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@MonkeyDo MonkeyDo merged commit b819fd6 into UserCollection May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants