fix(workflow): use panel-aware viewport center for paste and block placement (#3024)

This commit is contained in:
Waleed
2026-01-27 12:36:38 -08:00
committed by GitHub
parent be7f3db059
commit dddd0c8277
7 changed files with 419 additions and 264 deletions

View File

@@ -26,8 +26,9 @@ vi.mock('@/serializer', () => ({
Serializer: vi.fn(),
}))
vi.mock('@/stores/workflows/server-utils', () => ({
mergeSubblockState: vi.fn().mockReturnValue({}),
vi.mock('@/lib/workflows/subblocks', () => ({
mergeSubblockStateWithValues: vi.fn().mockReturnValue({}),
mergeSubBlockValues: vi.fn().mockReturnValue({}),
}))
const mockDecryptSecret = vi.fn()