mirror of
https://github.com/simstudioai/sim.git
synced 2026-11-05 00:02:28 +08:00
fix(integrations): fix category dropdown by defining missing LANDING_INTEGRATIONS_DATA_PATH and regenerating integrations.json
The staging merge introduced landing-content.ts but forgot to define LANDING_INTEGRATIONS_DATA_PATH in generate-docs.ts, causing the script to crash before writing integrations.json. The stale JSON had integrationTypes (plural array) from an older script version, while the Integration type and workspace UI both read integrationType (singular string) — so ALL_CATEGORY_SECTIONS bucketed to undefined and the category filters never appeared in the dropdown. Fixed by adding the missing path constant and re-running the generator. integrations.json now has 192 entries with the correct integrationType field.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,10 @@ const DOCS_OUTPUT_PATH = path.join(rootDir, 'apps/docs/content/docs/en/tools')
|
||||
const ICONS_PATH = path.join(rootDir, 'apps/sim/components/icons.tsx')
|
||||
const DOCS_ICONS_PATH = path.join(rootDir, 'apps/docs/components/icons.tsx')
|
||||
const INTEGRATIONS_DATA_PATH = path.join(rootDir, 'apps/sim/lib/integrations')
|
||||
const LANDING_INTEGRATIONS_DATA_PATH = path.join(
|
||||
rootDir,
|
||||
'apps/sim/app/(landing)/integrations/data'
|
||||
)
|
||||
const TRIGGERS_PATH = path.join(rootDir, 'apps/sim/triggers')
|
||||
const TRIGGER_DOCS_OUTPUT_PATH = path.join(rootDir, 'apps/docs/content/docs/en/triggers')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user