• Robert Knight's avatar
    Make showing highlights when creating an annotation work for all guests · 565b543d
    Robert Knight authored
    Change the logic for making highlights visible when creating a new
    annotation, so that it works if the annotation was created in a non-host
    frame.
    
    This is done by moving the logic from the `beforeAnnotationCreated`
    handler in the Sidebar class, which was only called for annotations in
    the host frame, to the `beforeCreateAnnotation` handler in
    FrameSyncService, which is called for all frames. The sidebar app will
    then send a request to show highlights to the host frame, which will
    update the sidebar's controls and then relay the request to guest
    frames.
    565b543d
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
annotation-sync-test.js Loading commit data...
bucket-bar-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
frame-observer-test.js Loading commit data...
guest-test.js Loading commit data...
highlighter-test.js Loading commit data...
notebook-test.js Loading commit data...
range-util-test.js Loading commit data...
selection-observer-test.js Loading commit data...
sidebar-test.js Loading commit data...
sidebar-trigger-test.js Loading commit data...
toolbar-test.js Loading commit data...