Skip to content

Commit c1e618c

Browse files
Valerie Fanelleclaude
authored andcommitted
fix(integrations): clear Coming Soon badge on Workday card
The design-system catalog still flags Workday as isComingSoon, which renders the integrations card as a non-clickable Coming Soon tile even though the Workday page is live. Override the flag docs-side until DS ships it as false. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 456ba82 commit c1e618c

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎app/_lib/integration-catalog.ts‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ const getToolkitDocsLink = (toolkit: Toolkit): string | undefined => {
1313
return;
1414
};
1515

16+
/**
17+
* Toolkits that have launched but are still flagged `isComingSoon` in the
18+
* design-system catalog. Remove an entry once DS ships the flag as `false`.
19+
*/
20+
const LAUNCHED_TOOLKIT_IDS = new Set(["workday"]);
21+
22+
const clearLaunchedComingSoon = (toolkit: Toolkit): Toolkit =>
23+
LAUNCHED_TOOLKIT_IDS.has(normalizeToolkitId(toolkit.id))
24+
? { ...toolkit, isComingSoon: false }
25+
: toolkit;
26+
1627
/**
1728
* The full integrations catalog the index renders: design-system toolkits
1829
* (enriched with a `docsLink` from their data file when the catalog entry
@@ -41,7 +52,8 @@ export const getToolkitsWithDocsLinks = async (): Promise<
4152
})
4253
);
4354

44-
const dsToolkits: ToolkitWithDocsLink[] = TOOLKITS.map((toolkit) => {
55+
const dsToolkits: ToolkitWithDocsLink[] = TOOLKITS.map((dsToolkit) => {
56+
const toolkit = clearLaunchedComingSoon(dsToolkit);
4557
const existing = getToolkitDocsLink(toolkit);
4658
const docsLink =
4759
existing ?? docsLinkById.get(normalizeToolkitId(toolkit.id));

0 commit comments

Comments
 (0)