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 release/1.14 into develop. #1865

Merged
merged 6 commits into from
Jan 27, 2020
Merged

Merge release/1.14 into develop. #1865

merged 6 commits into from
Jan 27, 2020

Conversation

dmsnell
Copy link
Member

@dmsnell dmsnell commented Jan 27, 2020

Merge changes in release/1.14 into develop.

loremattei and others added 6 commits January 13, 2020 11:21
The builds on AppVeyor have been failing.  This should resolve the issue.

See this PR for more detail: #1842
In paFIJd-8t it was reported that note corruption was occurring when viewing the history of one note when it gets updated remotely. Although this fix may or may not address that problem a code audit revealed that in #1792 I removed what appeared to be an unused function when it was in fact used by the component's `onClickOutside` wrapper.

The missing handler function closed out of the revision slider when clicking anywhere else. Without it, the thread handling the click crashed but since it was a callback it didn't crash the app. A message appeared in the developer console indicating that the handler was missing.

Because we haven't been closing the revision slider it has become possible to start editing a note while the revisions are still open, something prevented before by way of the click handler. Thus, if viewing a revision, clicking anywhere else, and continuing, then we fill the editor with what it thinks is a note (and not a revision) and then will respond to remote updates with the contents of that revision before accepting remote updates.

(cherry picked from commit 43bc2a5)
@dmsnell dmsnell merged commit 02a5fe0 into develop Jan 27, 2020
@dmsnell dmsnell deleted the release/1.14 branch January 27, 2020 17:07
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