From 7712284888da91e2500dc6b6822b1b68070d22df Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 14 Sep 2026 20:07:35 -0700 Subject: [PATCH] chore: cleanup comments --- apps/docs/app/global.css | 2 -- apps/docs/lib/source.ts | 3 +-- apps/sim/lib/knowledge/access/drive-permissions.test.ts | 5 ----- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/apps/docs/app/global.css b/apps/docs/app/global.css index b0f169b33fb..f98df319fc2 100644 --- a/apps/docs/app/global.css +++ b/apps/docs/app/global.css @@ -1013,8 +1013,6 @@ div.flex.flex-row.items-start.bg-fd-secondary.border.rounded-lg.text-xs { display: none !important; } -/* Method+path bar — cleaner, lighter styling like Gumloop. - Override bg-fd-card CSS variable directly for reliability. */ #nd-page:has(.api-page-header) div.flex.flex-row.items-center.rounded-xl.border.not-prose { --color-fd-card: var(--surface-3) !important; background-color: var(--surface-3) !important; diff --git a/apps/docs/lib/source.ts b/apps/docs/lib/source.ts index dc2e655a521..8fb22c4197a 100644 --- a/apps/docs/lib/source.ts +++ b/apps/docs/lib/source.ts @@ -17,8 +17,7 @@ const METHOD_COLORS: Record = { } /** - * Custom openapi plugin that places method badges BEFORE the page name - * in the sidebar (like Mintlify/Gumloop) instead of after. + * Places HTTP method badges before page names in the sidebar. */ function openapiPluginBadgeLeft() { return { diff --git a/apps/sim/lib/knowledge/access/drive-permissions.test.ts b/apps/sim/lib/knowledge/access/drive-permissions.test.ts index d0dc1956dc0..81564eed5b8 100644 --- a/apps/sim/lib/knowledge/access/drive-permissions.test.ts +++ b/apps/sim/lib/knowledge/access/drive-permissions.test.ts @@ -96,11 +96,6 @@ describe('driveFileAcl', () => { ).toEqual(['u:alice@corp.com']) }) - /** - * The deviation from Onyx that matters most: their file path makes an - * `anyone` grant public without consulting `allowFileDiscovery`, so a file - * anyone ever shared by link becomes fully searchable. - */ it('still refuses a link-only anyone share', () => { expect(acl([{ type: 'anyone', allowFileDiscovery: false }], OPEN)).toEqual(['link']) })