diff --git a/templates/index.html b/templates/index.html
index 7e16527..41307d7 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -14,8 +14,7 @@
-
+
+
+
Breakdown
+
Explore categorical distributions and detailed lists side-by-side. Use the options below to adjust how categories are shown.
+
+ - Percent mode: converts counts into percentages of the total for easier comparison.
+ - Group small into Other: combines tiny slices under a single “Other” category to declutter charts.
+ - Exclude “-”: hides uncached entries (cache status “-”) from cache status distributions.
+
+
+
@@ -145,15 +149,13 @@
const sections = {
recent: document.getElementById('recent-section'),
trends: document.getElementById('trends-section'),
- distribution: document.getElementById('distribution-section'),
- tables: document.getElementById('tables-section'),
+ breakdown: document.getElementById('breakdown-section'),
analysis: document.getElementById('analysis-section')
};
const containers = {
recent: document.getElementById('overview-reports'),
trends: document.getElementById('reports-trends'),
- distribution: document.getElementById('reports-distribution'),
- tables: document.getElementById('reports-tables')
+ breakdown: document.getElementById('reports-breakdown')
};
const analysisElems = {
missing: document.getElementById('analysis-missing'),
@@ -461,8 +463,7 @@
const filtered = reports.filter(rep => {
if (currentTab === 'recent') return true;
if (currentTab === 'trends') return rep.chart !== 'table' && !isDistributionType(rep.chart);
- if (currentTab === 'distribution') return isDistributionType(rep.chart);
- if (currentTab === 'tables') return rep.chart === 'table';
+ if (currentTab === 'breakdown') return isDistributionType(rep.chart) || rep.chart === 'table';
return true;
});
// If no explicit window was given (URL or saved state), honor first report's default
@@ -582,11 +583,11 @@
intervalControl.classList.add('is-hidden');
domainControl.classList.toggle('is-hidden', !showDomain);
timeControl.classList.toggle('is-hidden', !showTime);
- // Only show percent/group/exclude toggles on Distribution tab,
+ // Only show percent/group/exclude toggles on Breakdown tab,
// and smoothing only on Trends tab
- modePercentControl.classList.toggle('is-hidden', name !== 'distribution');
- modeGroupControl.classList.toggle('is-hidden', name !== 'distribution');
- excludeUncachedControl.classList.toggle('is-hidden', name !== 'distribution');
+ modePercentControl.classList.toggle('is-hidden', name !== 'breakdown');
+ modeGroupControl.classList.toggle('is-hidden', name !== 'breakdown');
+ excludeUncachedControl.classList.toggle('is-hidden', name !== 'breakdown');
smoothControl.classList.toggle('is-hidden', name !== 'trends');
updateURL();
if (name === 'recent') {