From df4b0d10a4d7004b5d285de7713432c0fad9ce0d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 May 2026 15:59:21 +0000 Subject: [PATCH 1/4] Bump pnpm/action-setup from 5 to 6 Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 5 to 6. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v5...v6) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/code-quality.yml | 2 +- .github/workflows/deploy.yaml | 2 +- .github/workflows/links.yaml | 2 +- .github/workflows/lint.yaml | 2 +- .github/workflows/preview.yml | 2 +- .github/workflows/storage-finder-sync.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index c39526550e..75c2148b76 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -23,7 +23,7 @@ jobs: node-version: latest - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: version: latest diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 8f153801a6..679fc4a636 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v6 - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: version: latest diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml index 70d8085f54..b114c44cd7 100644 --- a/.github/workflows/links.yaml +++ b/.github/workflows/links.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v6 - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: version: latest diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ff2fcfed7e..ed6d8089db 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v6 - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: version: latest diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 3c92ba784f..f37c392f1c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v6 - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: version: latest diff --git a/.github/workflows/storage-finder-sync.yml b/.github/workflows/storage-finder-sync.yml index d3d2d47f84..289153a3d4 100644 --- a/.github/workflows/storage-finder-sync.yml +++ b/.github/workflows/storage-finder-sync.yml @@ -21,7 +21,7 @@ jobs: uses: oven-sh/setup-bun@v2 - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: version: latest From ff2c12a73590cab1b0cbb9c6b0d11dd496d52d99 Mon Sep 17 00:00:00 2001 From: Sajid Ali Date: Tue, 12 May 2026 12:26:21 -0400 Subject: [PATCH 2/4] update pnpm-workspace.yaml to add allowBuilds --- pnpm-workspace.yaml | 3 + src/pages/storage-finder.tsx | 388 +++++++++++++++++------------------ 2 files changed, 193 insertions(+), 198 deletions(-) create mode 100644 pnpm-workspace.yaml diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000000..0a3ac7988f --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +allowBuilds: + core-js: true + unrs-resolver: true diff --git a/src/pages/storage-finder.tsx b/src/pages/storage-finder.tsx index 445372fa5e..771e9db155 100644 --- a/src/pages/storage-finder.tsx +++ b/src/pages/storage-finder.tsx @@ -67,16 +67,14 @@ export default function StorageFinderPage() { Record >({}); const [selectedServices, setSelectedServices] = useState([]); - const [nonMatchingServiceDisplay, setNonMatchingServiceDisplay] = useState< - string - >("show-disabled"); + const [nonMatchingServiceDisplay, setNonMatchingServiceDisplay] = + useState("show-disabled"); const comparisonSectionRef = useRef(null); const infoBarRef = useRef(null); const infoBarStickyDetectorRef = useRef(null); const [isInfoBarSticky, setIsInfoBarSticky] = useState(false); - const [isComparisonSectionVisible, setIsComparisonSectionVisible] = useState( - false, - ); + const [isComparisonSectionVisible, setIsComparisonSectionVisible] = + useState(false); /** * An intersection observer that detects when the info bar should become @@ -120,7 +118,7 @@ export default function StorageFinderPage() { if (Object.keys(selectedFacets).length === 0) return true; return Object.entries(selectedFacets).every(([, choiceIds]) => // For each facet, at least one selected choice must match - choiceIds.some((choiceId) => service.facet_matches.includes(choiceId)) + choiceIds.some((choiceId) => service.facet_matches.includes(choiceId)), ); }); @@ -210,8 +208,8 @@ export default function StorageFinderPage() { if (Object.keys(newFilters).length === 0) return true; return Object.entries(newFilters).every(([, filterChoiceIds]) => filterChoiceIds.some((filterChoiceId) => - service.facet_matches.includes(filterChoiceId) - ) + service.facet_matches.includes(filterChoiceId), + ), ); }); @@ -221,8 +219,8 @@ export default function StorageFinderPage() { previous.filter((serviceId) => newFilteredServices.some( (service: Service) => service.id === serviceId, - ) - ) + ), + ), ); } }, @@ -233,7 +231,7 @@ export default function StorageFinderPage() { setSelectedServices((previous) => previous.includes(serviceId) ? previous.filter((id) => id !== serviceId) - : [...previous, serviceId] + : [...previous, serviceId], ); }, []); @@ -265,7 +263,7 @@ export default function StorageFinderPage() { const isSelectAllDisabled = useMemo(() => { if (filteredServices.length === 0) return true; return filteredServices.every((service) => - selectedServices.includes(service.id) + selectedServices.includes(service.id), ); }, [filteredServices, selectedServices]); @@ -338,26 +336,25 @@ export default function StorageFinderPage() {
{/* Show scroll to details/comparison when services are selected and comparison section not visible */} {selectedServices.length > 0 && - (isComparisonSectionVisible - ? ( - - ) - : ( - - ))} + (isComparisonSectionVisible ? ( + + ) : ( + + ))}
@@ -371,30 +368,28 @@ export default function StorageFinderPage() {
- {isClearAnswersDisabled - ? ( - - - - - - ) - : ( - - )} + {isClearAnswersDisabled ? ( + + + + + + ) : ( + + )}
@@ -414,7 +409,7 @@ export default function StorageFinderPage() { {facet.choices.map((choice) => { const isChecked = selectedFacets[facet.id]?.includes(choice.id) ?? - false; + false; return ( - handleFacetChange(facet.id, value, checked)} + handleFacetChange(facet.id, value, checked) + } /> ); })} @@ -473,7 +471,7 @@ export default function StorageFinderPage() { const nonMatchingServiceIds = new Set( serviceList .filter((service: Service) => - isServiceDisabled(service.id) + isServiceDisabled(service.id), ) .map((service: Service) => service.id), ); @@ -482,7 +480,7 @@ export default function StorageFinderPage() { setSelectedServices((previous) => previous.filter( (id) => !nonMatchingServiceIds.has(id), - ) + ), ); } }} @@ -495,60 +493,58 @@ export default function StorageFinderPage() {
- {isSelectAllDisabled - ? ( - - - - - - ) - : ( - - )} + : "All available services are already selected" + } + > + + + + + ) : ( + + )} - {isClearSelectionsDisabled - ? ( - - - - - - ) - : ( - - )} + {isClearSelectionsDisabled ? ( + + + + + + ) : ( + + )}
@@ -655,101 +651,97 @@ export default function StorageFinderPage() { ref={comparisonSectionRef} className={styles.comparisonTableSection} > - {selectedServices.length > 0 - ? ( - <> - - {selectedServices.length === 1 - ? "Service Details" - : "Service Details and Comparison"} - + {selectedServices.length > 0 ? ( + <> + + {selectedServices.length === 1 + ? "Service Details" + : "Service Details and Comparison"} + -
-
+
+
-
+ -
- - - + + + + {selectedServices.map((serviceId) => { + const service = serviceList.find( + (s) => s.id === serviceId, + ); + return ( + + ); + })} + + + + {attributeFields.map((field) => ( + + {selectedServices.map((serviceId) => { const service = serviceList.find( (s) => s.id === serviceId, ); + // Create a safer way to access the field data + const fieldData = service?.field_data + ? (( + service.field_data[ + field.key as keyof typeof service.field_data + ] as FieldData | undefined + )?.value ?? "N/A") + : "N/A"; + return ( - + dangerouslySetInnerHTML={{ + __html: fieldData, + }} + /> ); })} - - - {attributeFields.map((field) => ( - - - {selectedServices.map((serviceId) => { - const service = serviceList.find( - (s) => s.id === serviceId, - ); - // Create a safer way to access the field data - const fieldData = service?.field_data - ? (( - service.field_data[ - field.key as keyof typeof service.field_data - ] as FieldData | undefined - )?.value ?? "N/A") - : "N/A"; - - return ( - - ))} - -
Attribute
Attribute + {service?.title} +
+ {field.label} + {/* + + */} + - {service?.title} -
- {field.label} - { - /* - - */ - } - - ); - })} -
-
- - ) - : ( -
- - Select service(s) to view details or compare - + ))} + +
- )} + + ) : ( +
+ + Select service(s) to view details or compare + +
+ )} {/* Footer */} From c7e566f90b10c28a9af3188012695795125673e1 Mon Sep 17 00:00:00 2001 From: Sajid Ali Date: Tue, 12 May 2026 12:28:33 -0400 Subject: [PATCH 3/4] update pnpm-workspace.yaml to add allowBuilds --- pnpm-workspace.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 0a3ac7988f..9bcd71d07c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,5 @@ allowBuilds: + core: true core-js: true + core-js-pure: true unrs-resolver: true From 6a3ed0768013c7768a288ef54461dc2f832f63ab Mon Sep 17 00:00:00 2001 From: Sajid Ali Date: Tue, 12 May 2026 12:31:31 -0400 Subject: [PATCH 4/4] update pnpm-workspace.yaml to add allowBuilds --- pnpm-workspace.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 9bcd71d07c..bb2e4394a8 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,5 +1,5 @@ allowBuilds: - core: true + "@swc/core": true core-js: true core-js-pure: true unrs-resolver: true