|
49 | 49 | header a { color: var(--muted); font-size: 13px; text-decoration: none; } |
50 | 50 | header a:hover { text-decoration: underline; } |
51 | 51 | #filters { padding: 8px 16px; border-bottom: 1px solid var(--border); } |
| 52 | + #filters[hidden] { display: none; } |
52 | 53 | .filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 3px 0; } |
53 | 54 | .filter-row[hidden] { display: none; } |
54 | 55 | .filter-row > span { min-width: 100px; font-size: 13px; color: var(--muted); } |
@@ -240,7 +241,10 @@ <h1>@@NAME@@ <small>Explorer</small></h1> |
240 | 241 | row("location-filters", "Location", D.sites, selectedSites); |
241 | 242 | row("presentation-filters", "Presentation", D.decisions, selectedDecisions); |
242 | 243 | row("track-filters", "Track", D.tracks.filter(Boolean).concat(D.tracks.includes("") ? [""] : []), selectedTracks, "Unknown"); |
| 244 | + $("location-filters").hidden = D.sites.length < 2; |
| 245 | + $("presentation-filters").hidden = D.decisions.length < 2; |
243 | 246 | $("track-filters").hidden = D.tracks.length < 2; |
| 247 | + $("filters").hidden = D.sites.length < 2 && D.decisions.length < 2 && D.tracks.length < 2; |
244 | 248 | $("clear-filters").disabled = !selectedSites.size && !selectedDecisions.size && !selectedTracks.size; |
245 | 249 | } |
246 | 250 | function filtersChanged() { |
@@ -666,7 +670,7 @@ <h1>@@NAME@@ <small>Explorer</small></h1> |
666 | 670 | authors.append(b); |
667 | 671 | }); |
668 | 672 | nodes.push(authors, actions); |
669 | | - if (paperAuthors(i).some(author => !author.id)) nodes.push(el("p", { className: "hint" }, "Authors without a NeurIPS account ID are grouped by name; identity not verified.")); |
| 673 | + if (paperAuthors(i).some(author => !author.id)) nodes.push(el("p", { className: "hint" }, "Authors without a verified identifier are grouped by name; identity not verified.")); |
670 | 674 | if (X.tldr[i]) nodes.push(el("p", { className: "tldr" }, X.tldr[i])); |
671 | 675 | nodes.push(el("p", { className: "abstract" }, X.abstract[i])); |
672 | 676 | if (X.kw[i].length) { |
|
0 commit comments