• Robert Knight's avatar
    Wait for feature flag state before sending document info in VitalSource · f4a8a351
    Robert Knight authored
    In order to facilitate a seamless transition after a chapter navigation in
    VitalSource, it will be necessary for the Guest in the new frame to report
    document information based on the same `book_as_single_document` feature flag
    state as for the previous frame.
    
    Allow integrations to signal whether the Guest should wait to receive feature
    flags from the sidebar before sending document info via `documentInfoChanged`,
    and enable this for VitalSource. We don't enable this for all integrations
    because it adds latency on the critical path to fetching and displaying
    annotations.
    f4a8a351
Name
Last commit
Last update
..
anchoring Loading commit data...
components Loading commit data...
config Loading commit data...
integrations Loading commit data...
test Loading commit data...
util Loading commit data...
.eslintrc.js Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
bucket-bar-client.js Loading commit data...
bucket-bar.js Loading commit data...
features.js Loading commit data...
frame-observer.js Loading commit data...
guest.ts Loading commit data...
highlight-clusters.tsx Loading commit data...
highlighter.js Loading commit data...
hypothesis-injector.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
notebook.js Loading commit data...
range-util.js Loading commit data...
selection-observer.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.js Loading commit data...
toolbar.js Loading commit data...