• Sheetal Umesh Kumar's avatar
    Implement new customisation options for the sidebar’s display. · 396fce0e
    Sheetal Umesh Kumar authored
    See https://github.com/hypothesis/product-backlog/issues/350
    
    Add config options for the following:
    
    disableToolbarCloseBtn: false/true
    Disables and hides the close button on the toolbar
    
    disableToolbarMinimizeBtn: true/false
    Disables and hides the minimize button on the toolbar
    
    disableToolbarHighlightsBtn: true/false
    Disables and hides the highlights button on the toolbar
    
    disableToolbarNewNoteBtn: true/false
    Disables and hides the new note button on the toolbar
    
    disableBucketBar: true/false
    Disables and hides the bucket bar
    
    enableSidebarDropShadow: true/false
    Turns on the dropshadow for the sidebar
    
    theme: 'clean'
    Turns on the 'clean' theme for the sidebar. By default the classic view(with annotation cards) is turned on, which the rest of the Hypothesis users will see.
    
    usernameUrl: 'someurl/'
    The url to direct a user to when their username in the annotation is clicked.
    396fce0e
toolbar.coffee 3.52 KB