• Robert Knight's avatar
    Add callback enabling client to test if side-by-side is active · c4f39963
    Robert Knight authored
    When the host page takes control of side-by-side mode by adding:
    
    ```
    sideBySide: { mode: 'manual' }
    ```
    
    To the client's config, the client needs a way to determine whether side-by-side
    mode was applied when the user clicks in the document. If it is applied, the
    sidebar should remain open, otherwise it should be closed.
    
    This PR adds an `isActive` callback to the `sideBySide` settings which the
    client will invoke when it needs to know if side-by-side is active or not.
    c4f39963
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.tsx Loading commit data...
annotation-counts.ts Loading commit data...
bucket-bar-client.ts Loading commit data...
bucket-bar.tsx Loading commit data...
events.ts Loading commit data...
features.ts Loading commit data...
frame-observer.ts Loading commit data...
guest.ts Loading commit data...
highlight-clusters.tsx Loading commit data...
highlighter.ts Loading commit data...
hypothesis-injector.ts Loading commit data...
index.ts Loading commit data...
notebook.tsx Loading commit data...
profile.tsx Loading commit data...
range-util.ts Loading commit data...
selection-observer.ts Loading commit data...
sidebar-trigger.ts Loading commit data...
sidebar.tsx Loading commit data...
toolbar.tsx Loading commit data...