• Robert Knight's avatar
    Save annotation state to drafts whenever annotation component is destroyed · 645858cb
    Robert Knight authored
    Prior to this unsaved changes were lost when an annotation being edited
    was scrolled off-screen and the annotation component was destroyed.
    
    There was already a mechanism in place for persisting unsaved changes
    to a temporary store when switching accounts and when switching groups
    but this was only triggered when the signed in user changed or the
    focused group changed.
    
    This commit unifies the handling of all three cases by listening
    for the '$destroy' event which is fired whenever an <annotation>
    is about to be destroyed.
    645858cb
Name
Last commit
Last update
..
test Loading commit data...
about-this-version-dialog.js Loading commit data...
annotation-share-dialog.js Loading commit data...
annotation-thread.js Loading commit data...
annotation.js Loading commit data...
dropdown-menu-btn.js Loading commit data...
excerpt-overflow-monitor.js Loading commit data...
excerpt.js Loading commit data...
feedback-link.js Loading commit data...
form-input.coffee Loading commit data...
form-validate.coffee Loading commit data...
group-list.js Loading commit data...
h-autofocus.js Loading commit data...
h-tooltip.js Loading commit data...
loggedout-message.js Loading commit data...
login-form.js Loading commit data...
markdown.js Loading commit data...
publish-annotation-btn.js Loading commit data...
search-status-bar.js Loading commit data...
share-dialog.js Loading commit data...
sidebar-tutorial.js Loading commit data...
signin-control.js Loading commit data...
simple-search.coffee Loading commit data...
sort-dropdown.js Loading commit data...
spinner.js Loading commit data...
status-button.coffee Loading commit data...
top-bar.js Loading commit data...
window-scroll.js Loading commit data...