| Active |
Name |
|
@@ -262,7 +272,7 @@ export function SourceSettings({
>
)}
-
diff --git a/frontend/src/features/viewSettings/ViewSettings.tsx b/frontend/src/features/viewSettings/ViewSettings.tsx
index ccc109269..597d30a58 100644
--- a/frontend/src/features/viewSettings/ViewSettings.tsx
+++ b/frontend/src/features/viewSettings/ViewSettings.tsx
@@ -8,7 +8,7 @@ import React from "react";
// @ts-ignore: https://github.com/arnthor3/react-bootstrap-toggle/issues/21
import Toggle from "react-bootstrap-toggle";
-import { ToggleButtonHeight } from "@/common/constants";
+import { CompactToggleHeight } from "@/common/constants";
import { useAppDispatch, useAppSelector } from "@/common/types";
import {
selectFrontsVisible,
@@ -27,9 +27,9 @@ export function ViewSettings() {
offClassName="flex-centre"
onstyle="info"
offstyle="info"
- width={100 + "%"}
- size="md"
- height={ToggleButtonHeight + "px"}
+ width={"100%"}
+ size="sm"
+ height={CompactToggleHeight + "px"}
active={frontsVisible}
/>
);
From d8db75dd59301e6d0e4ddb2ebe3f79e0e2a50f00 Mon Sep 17 00:00:00 2001
From: wilfordgrimley <2397930+WilfordGrimley@users.noreply.github.com>
Date: Fri, 24 Jul 2026 02:49:24 +0000
Subject: [PATCH 2/2] Hide stock sources/attribute duplicates from the rail's
Filters panel
---
.../gridSelector/GridSelectorFilters.tsx | 21 ++++++++++++-------
.../gridSelector/SelectVersionResults.tsx | 12 +++++++++--
.../searchSettings/FilterSettings.tsx | 20 +++++++++++++-----
3 files changed, 39 insertions(+), 14 deletions(-)
diff --git a/frontend/src/features/gridSelector/GridSelectorFilters.tsx b/frontend/src/features/gridSelector/GridSelectorFilters.tsx
index db266e560..1dff426a8 100644
--- a/frontend/src/features/gridSelector/GridSelectorFilters.tsx
+++ b/frontend/src/features/gridSelector/GridSelectorFilters.tsx
@@ -49,7 +49,9 @@ interface GridSelectorFiltersProps {
* rail forces compressed tiles anyway (Bkg 4 - the "Card display style"/Compressed toggle is
* near-inert there and clips at the rail edge) - both controls live inside the one "View"
* accordion (ViewSettings.tsx), so hiding that section kills both in one exclusion. */
- hiddenSections?: Array<"jump" | "view" | "sort" | "filter">;
+ hiddenSections?: Array<
+ "jump" | "view" | "sort" | "filter" | "filter-sources" | "filter-attributes"
+ >;
}
export const GridSelectorFilters = ({
@@ -145,14 +147,19 @@ export const GridSelectorFilters = ({
maxDPIUpperBound={projectFilter?.maximumDPI}
maxSizeUpperBound={projectFilter?.maximumSize}
showBoilerplate={false}
+ // The rail's chip fieldset already covers these (SPEC-display-left-rail.md) -
+ // the rail caller hides the stock duplicates; modal/browse callers keep them.
+ showResolvedAttributeFilter={!hidden.has("filter-attributes")}
// allowedLanguages={allowedLanguages}
/>
-
+ {!hidden.has("filter-sources") && (
+
+ )}
>
)}
diff --git a/frontend/src/features/gridSelector/SelectVersionResults.tsx b/frontend/src/features/gridSelector/SelectVersionResults.tsx
index a63271fab..e836f8dc1 100644
--- a/frontend/src/features/gridSelector/SelectVersionResults.tsx
+++ b/frontend/src/features/gridSelector/SelectVersionResults.tsx
@@ -1646,8 +1646,16 @@ export function SelectVersionResults({
setSourceSettings={search.setSourceSettings}
projectFilter={search.projectFilter}
// E4/X4 (Bkg 3/4) - only the stacked (rail) caller hides "View" (Group-by/Compressed);
- // the sidebar (modal/browse) callers are unaffected.
- hiddenSections={layout === "stacked" ? ["view"] : undefined}
+ // the sidebar (modal/browse) callers are unaffected. 2026-07-24 owner escalation:
+ // the rail also hides the stock sources table and attribute toggle bars - the rail's
+ // own SOURCES accordion and Treatment/Frame/Border chip fieldset are the designed
+ // versions of both (SPEC-display-left-rail.md), and rendering the stock duplicates
+ // beneath them was the "looks nothing like Quorra's spec" report.
+ hiddenSections={
+ layout === "stacked"
+ ? ["view", "filter-sources", "filter-attributes"]
+ : undefined
+ }
/>
);
diff --git a/frontend/src/features/searchSettings/FilterSettings.tsx b/frontend/src/features/searchSettings/FilterSettings.tsx
index ee6cbf10c..8d5b93641 100644
--- a/frontend/src/features/searchSettings/FilterSettings.tsx
+++ b/frontend/src/features/searchSettings/FilterSettings.tsx
@@ -26,6 +26,11 @@ interface FilterSettingsProps {
maxSizeUpperBound?: number;
allowedLanguages?: Array;
showBoilerplate?: boolean;
+ /** The /display rail already renders the spec's Treatment/Frame/Border chip fieldset
+ * (SPEC-display-left-rail.md), so its embedding of this panel hides the duplicate
+ * stock attribute toggles. Every other caller (Search Settings modal, classic grid
+ * selector) leaves this true and is unchanged. */
+ showResolvedAttributeFilter?: boolean;
}
export function FilterSettings({
@@ -36,6 +41,7 @@ export function FilterSettings({
maxSizeUpperBound,
allowedLanguages,
showBoilerplate = true,
+ showResolvedAttributeFilter = true,
}: FilterSettingsProps) {
return (
<>
@@ -80,11 +86,15 @@ export function FilterSettings({
filterSettings={filterSettings}
setFilterSettings={setFilterSettings}
/>
-
-
+ {showResolvedAttributeFilter && (
+ <>
+
+
+ >
+ )}
>
);
}