adjust preset filter to include CIB data

Этот коммит содержится в:
higsch 2020-12-17 23:13:24 +01:00
родитель 0edd7a8fa5
Коммит edcf32de3d
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -24,13 +24,13 @@
<span use:copytooltipable={{content: 'The political leanings of 600+ media entities – using political data from the AllSides Media Bias Ratings – was applied to the web links found in Attribution Impact. Since not all web links had matching AllSides data, the polarization data filter shows only cases where there were ten or more AllSides-matching articles and/or cases where 25 percent or more of articles matched with AllSides data. The stem lines on the polarization data filter are colored based on the mean political polarization of that case.', showClickMessage: false}}>Polarization data filter</span>
</Checkbox>
</li>
<li>
<!-- <li>
<Checkbox id="checkboxpanel-checkbox-cib"
checked={$highlightCib}
on:click={() => handleClick('cib')}>
<span use:copytooltipable={{content: 'Some content', showClickMessage: false}}>CIB data filter</span>
</Checkbox>
</li>
</li> -->
</ul>
<style>

Просмотреть файл

@ -30,6 +30,7 @@
break;
case 1:
sourceFilter.selectOne('Facebook');
$highlightCib = true;
break;
case 2:
$attributionScoreFilter = [$attributionScoreFilter[0], 6];
@ -87,7 +88,7 @@
</p>
<ul class="filter-list">
<li on:click|self={() => handleApplyFilter(0)}>China-Related Allegations as Compared to U.S. COVID-19 Cases</li>
<li on:click|self={() => handleApplyFilter(1)}>All Foreign Interference Allegations Made by Facebook</li>
<li on:click|self={() => handleApplyFilter(1)}>All Foreign Interference Allegations Made by Facebook with CIB Data</li>
<li on:click|self={() => handleApplyFilter(2)}>All Foreign Interference Allegations That Lack Significant Evidence</li>
</ul>
<!-- <p>