diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 90e0ef524a..cd9f480b68 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -23,16 +23,17 @@ jobs: with: node-version: latest - - name: Cache Bun dependencies - uses: actions/cache@v4 + - name: Mount Bun cache (Sticky Disk) + uses: useblacksmith/stickydisk@v1 with: - path: | - ~/.bun/install/cache - node_modules - **/node_modules - key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} - restore-keys: | - ${{ runner.os }}-bun- + key: ${{ github.repository }}-bun-cache + path: ~/.bun/install/cache + + - name: Mount node_modules (Sticky Disk) + uses: useblacksmith/stickydisk@v1 + with: + key: ${{ github.repository }}-node-modules + path: ./node_modules - name: Install dependencies run: bun install --frozen-lockfile diff --git a/apps/sim/app/_styles/globals.css b/apps/sim/app/_styles/globals.css index 013e6b1d45..96a17260c5 100644 --- a/apps/sim/app/_styles/globals.css +++ b/apps/sim/app/_styles/globals.css @@ -391,6 +391,17 @@ color: var(--text-primary); } +/** + * Subblock divider visibility + * Hides dividers when adjacent subblocks render empty content (e.g., schedule-info without data). + * Uses CSS :has() to detect empty .subblock-content elements and hide associated dividers. + * Selectors ordered by ascending specificity: (0,4,0) then (0,5,0) + */ +.subblock-row:has(> .subblock-content:empty) > .subblock-divider, +.subblock-row:has(+ .subblock-row > .subblock-content:empty) > .subblock-divider { + display: none; +} + /** * Dark mode specific overrides */ diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx index c06a12ea2b..37bb13bbe7 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx @@ -3,7 +3,15 @@ import { useMemo } from 'react' import { createLogger } from '@sim/logger' import { Check } from 'lucide-react' -import { Button, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from '@/components/emcn' +import { + Badge, + Button, + Modal, + ModalBody, + ModalContent, + ModalFooter, + ModalHeader, +} from '@/components/emcn' import { client } from '@/lib/auth/auth-client' import { getProviderIdFromServiceId, @@ -407,9 +415,9 @@ export function OAuthRequiredModal({