From 0913b8e01ed65894344d6287046a65c8850e7bf6 Mon Sep 17 00:00:00 2001 From: Bhoma38 Date: Tue, 19 Aug 2025 13:42:25 +0530 Subject: [PATCH 1/4] Fix for collapsed sidebar filter facets should indicate if a value is selected. --- src/styles/_bootstrap_variables.scss | 1 + src/styles/_bootstrap_variables_mapping.scss | 2 ++ src/styles/_global-styles.scss | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/styles/_bootstrap_variables.scss b/src/styles/_bootstrap_variables.scss index fc470e44909..7fec6b46c2a 100644 --- a/src/styles/_bootstrap_variables.scss +++ b/src/styles/_bootstrap_variables.scss @@ -40,6 +40,7 @@ $warning: #ec9433 !default; // Orange $danger: #cf4444 !default; // Red $light: #f8f9fa !default; // As Bootstrap $gray-100 $dark: darken(#2b4e72, 17%) !default; // Blue gray (darker) +$highlightColor: rgba(30, 111, 144, 0.3) !default; // $info color with 0.3 opacity // Add new semantic colors here (you don't need to add existing semantic colors) $global-custom-semantic-colors: ( diff --git a/src/styles/_bootstrap_variables_mapping.scss b/src/styles/_bootstrap_variables_mapping.scss index 0cfa811b004..86bea32dc73 100644 --- a/src/styles/_bootstrap_variables_mapping.scss +++ b/src/styles/_bootstrap_variables_mapping.scss @@ -91,6 +91,8 @@ --bs-border-radius-lg: #{$bs-border-radius-lg}; + --bs-highlight-color: #{$highlightColor}; + } // Some Bootstrap CSS variables are tied to classes diff --git a/src/styles/_global-styles.scss b/src/styles/_global-styles.scss index 5ddaf6affa5..69bc192fc3a 100644 --- a/src/styles/_global-styles.scss +++ b/src/styles/_global-styles.scss @@ -559,3 +559,5 @@ ngb-tooltip-window { // We use underline to discern link from text as we can't make color lighter on a white bg text-decoration: underline; } + +ds-search-filter .facet-filter:has([type="checkbox"]:checked) { background: var(--bs-highlight-color); } From 4e5a72c9bb8a861f10f8e6bfc0b81464e675e0ce Mon Sep 17 00:00:00 2001 From: Bhoma38 Date: Thu, 5 Mar 2026 17:37:24 +0530 Subject: [PATCH 2/4] Update auth.service.spec.ts --- src/app/core/auth/auth.service.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/core/auth/auth.service.spec.ts b/src/app/core/auth/auth.service.spec.ts index 4c4efc2f62b..4091b8c1575 100644 --- a/src/app/core/auth/auth.service.spec.ts +++ b/src/app/core/auth/auth.service.spec.ts @@ -316,6 +316,7 @@ describe('AuthService test', () => { mockStore = TestBed.inject(MockStore); authService = TestBed.inject(AuthService); mockStore.overrideSelector(isAuthenticated, true); + mockStore.overrideSelector(getAuthenticationToken, token); mockStore.refreshState(); storage = (authService as any).storage; storage.get = jasmine.createSpy().and.returnValue(null); From 0a2249054b14f5e4b331b4f5877b018bfbc3c8ed Mon Sep 17 00:00:00 2001 From: Bhoma38 Date: Thu, 5 Mar 2026 20:27:26 +0530 Subject: [PATCH 3/4] Fix Date facet-filter was not highlighting. --- .../search-filters/search-filter/search-filter.component.html | 1 + src/styles/_global-styles.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/shared/search/search-filters/search-filter/search-filter.component.html b/src/app/shared/search/search-filters/search-filter/search-filter.component.html index e1083fc7abd..f7fcf072ae5 100644 --- a/src/app/shared/search/search-filters/search-filter/search-filter.component.html +++ b/src/app/shared/search/search-filters/search-filter/search-filter.component.html @@ -1,5 +1,6 @@ @if (active$ | async) {