• Robert Knight's avatar
    Compute thread counts for each tab as part of building root thread · 1bf6e8f9
    Robert Knight authored
    Previously the thread counts shown on tabs in the sidebar were computed from the
    full set of annotations in the store, not taking into account any filters that
    are active. This was acceptable because the tabs were hidden if a filter was
    active. However we are planning to change this and thus we need to compute tab
    counts that include the effects of active filters.
    
     - Change `threadAnnotations` to compute thread counts per tab, as well as the
       thread itself. This is done by not filtering top-level threads in
       `buildThread` but instead doing a filtering pass later, which also computes
       the thread count for each tab.
    
     - Change `SelectionTabs` to take the tab counts as a prop, instead of
       getting the count from the store.
    1bf6e8f9
Name
Last commit
Last update
.github Loading commit data...
.yarn Loading commit data...
bin Loading commit data...
dev-server Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
requirements Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.prettierignore Loading commit data...
.python-version Loading commit data...
.readthedocs.yaml Loading commit data...
.yarnrc.yml Loading commit data...
HACKING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
codecov.yml Loading commit data...
gulpfile.mjs Loading commit data...
package.json Loading commit data...
pyproject.toml Loading commit data...
rollup-boot.config.mjs Loading commit data...
rollup-tests.config.mjs Loading commit data...
rollup.config.mjs Loading commit data...
tailwind-annotator.config.mjs Loading commit data...
tailwind-sidebar.config.mjs Loading commit data...
tailwind.config.mjs Loading commit data...
tox.ini Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...