• Robert Knight's avatar
    Consolidate logic for annotation <-> tab assignment · f9ee271c
    Robert Knight authored
    Previously the logic for determining which tab an annotation should appear
    in occurred both in `root-thread.js` where it was used to filter
    annotations based on the selected tab, and in `widget-controller.js` where
    it was used to switch to the tab containing a particular annotation.
    
    Consolidate all the logic for deciding which tab an annotation should
    appear in into a single module. This makes it easier to test that tab
    assignment is correct with different combinations of feature flags and
    annotation states and to add additional logic in future.
    f9ee271c
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
h Loading commit data...
images Loading commit data...
scripts Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...