• Robert Knight's avatar
    Replace hammer.js with local code · 1b5c4076
    Robert Knight authored
    Hammer.js is used to facilitate resizing the sidebar by dragging the sidebar
    button. For this use case, we can avoid a dependency which is not actively
    maintained, get more visibility into what the code is doing and make testing
    easier by using a small amount of our own code.
    
    In the process the tests for drag resizing in the sidebar were refactored to
    avoid referencing private fields of `Sidebar` and mocking `getComputedStyle`.
    
    The user-facing behavior should be unchanged.
    1b5c4076
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...
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...
outside-assignment-notice.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...