Skip to content

chore: update @arcadeai/design-system to latest#848

Merged
evantahler merged 8 commits intomainfrom
automation/update-design-system-dependency
Mar 4, 2026
Merged

chore: update @arcadeai/design-system to latest#848
evantahler merged 8 commits intomainfrom
automation/update-design-system-dependency

Conversation

@evantahler
Copy link
Contributor

@evantahler evantahler commented Mar 3, 2026

This PR updates @arcadeai/design-system to the latest published version.

It runs a design-system compatibility test gate before opening this PR.
If that gate fails, the workflow stops and no PR is created.


Note

Medium Risk
Moderate risk due to the @arcadeai/design-system upgrade and refactoring of tool filtering/service-domain helpers that could subtly change toolkit docs UI behavior. Changes are localized and now covered by new unit tests for the extracted helpers.

Overview
Updates @arcadeai/design-system from ^3.30.0 to ^3.32.0.

Refactors toolkit docs by extracting filterTools (plus AvailableToolsFilter/options) into available-tools-filter.ts and extracting getSharedServiceDomain into toolkit-page-utils.ts, with both utilities re-exported from their previous modules. Adds Vitest coverage for the new filter behavior (operations + behavior flags) and shared service-domain detection.

Written by Cursor Bugbot for commit a7b9444. This will update automatically on new commits. Configure here.

@evantahler evantahler requested a review from a team March 3, 2026 20:35
@vercel
Copy link

vercel bot commented Mar 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Mar 4, 2026 11:55pm

Request Review

@evantahler evantahler force-pushed the automation/update-design-system-dependency branch from f2a373e to ddbd578 Compare March 4, 2026 15:58
@evantahler evantahler disabled auto-merge March 4, 2026 18:30
@evantahler evantahler enabled auto-merge (squash) March 4, 2026 18:30
@evantahler
Copy link
Contributor Author

@teallarson what are we doing about this blog post moving?

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Refactoring left buildScopeDisplayItems as orphaned dead code
    • Removed the duplicate buildScopeDisplayItems from available-tools-filter.ts and imported the original exported function from available-tools-table.tsx instead.

Create PR

Or push these changes by commenting:

@cursor push b2730d4395
Preview (b2730d4395)
diff --git a/app/_components/toolkit-docs/components/available-tools-filter.ts b/app/_components/toolkit-docs/components/available-tools-filter.ts
--- a/app/_components/toolkit-docs/components/available-tools-filter.ts
+++ b/app/_components/toolkit-docs/components/available-tools-filter.ts
@@ -1,5 +1,5 @@
 import type { AvailableToolsTableProps, BehaviorFlagKey } from "../types";
-import { normalizeScopes } from "./scopes-display";
+import { buildScopeDisplayItems } from "./available-tools-table";
 
 export type AvailableToolsFilter =
   | "all"
@@ -13,10 +13,6 @@
   behaviorFlags?: Partial<Record<BehaviorFlagKey, boolean>>;
 };
 
-function buildScopeDisplayItems(scopes: string[]): string[] {
-  return normalizeScopes(scopes);
-}
-
 function matchesFilterCategory(
   tool: AvailableToolsTableProps["tools"][number],
   filter: AvailableToolsFilter

diff --git a/app/_components/toolkit-docs/components/available-tools-table.tsx b/app/_components/toolkit-docs/components/available-tools-table.tsx
--- a/app/_components/toolkit-docs/components/available-tools-table.tsx
+++ b/app/_components/toolkit-docs/components/available-tools-table.tsx
@@ -27,7 +27,10 @@
   BehaviorFlagKey,
   SecretType,
 } from "../types";
-import { filterTools } from "./available-tools-filter";
+import {
+  type AvailableToolsFilter,
+  filterTools,
+} from "./available-tools-filter";
 import { normalizeScopes } from "./scopes-display";
 
 export {
This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.


function buildScopeDisplayItems(scopes: string[]): string[] {
return normalizeScopes(scopes);
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactoring left buildScopeDisplayItems as orphaned dead code

Low Severity

The extraction of filter logic into available-tools-filter.ts created a new private buildScopeDisplayItems function, but the original exported buildScopeDisplayItems in available-tools-table.tsx was left behind. Its only caller (matchesFilterCategory) was moved to the new file, making it dead code. No file in the codebase imports buildScopeDisplayItems from available-tools-table.tsx. The new file could import and reuse the existing exported function instead of duplicating it.

Additional Locations (1)

Fix in Cursor Fix in Web

@evantahler evantahler merged commit 092c1db into main Mar 4, 2026
5 checks passed
@jottakka jottakka deleted the automation/update-design-system-dependency branch March 4, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants