chore(release): staging to production - 2026.02.06 - #944
Conversation
The destructured prop was named `_chats` but referenced as `chats` in the useSWRInfinite fallbackData option, causing a ReferenceError. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ce-chatdrawer fix: reference correct _chats prop in ChatDrawer
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Fix mutation ordering in ReactFlowContext: update FLOWISE_CREDENTIAL_ID before spreading into updatedData to avoid confusing reference semantics - Fix hasChanges check to detect input and credential changes, not just inputParams (credential-only changes were silently dropped) - Refactor DocStoreInputHandler to use centralized onNodeDataChange for credential updates instead of direct state mutation - Remove unused credentialSetInNode variable from E2E test Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…iew-feedback fix(AGENT-76): address PR review feedback for credential refresh
PR Review: Staging to Production Release (2026.02.06)OverviewThis release includes two bug fixes addressing credential refresh behavior and a prop naming issue in the chat drawer. Overall, the changes are well-structured and demonstrate careful attention to state management patterns. ✅ Strengths1. Improved Credential State Management (ReactFlowContext.jsx)The fix correctly addresses the mutation ordering issue:
2. Enhanced Change Detection (ReactFlowContext.jsx:94-99)The expanded
This fixes the critical bug where credential-only changes were silently dropped. 3. Centralized State Management (DocStoreInputHandler.jsx)Refactoring to use
4. Test Cleanup (canvas-credential-refresh.spec.ts)Removing the fragile internal state check ( 5. Clear Prop Naming (ChatDrawer.tsx)The fix correctly references the destructured prop name
|
The UnifiedCredentialsModal (auto-popup for missing credentials) saved to the backend but never notified the canvas to re-fetch. The canvas View and SidekickSetupModal are independent components with no shared state — View loads via useApi (once at mount), while the modal saves via SWR. Bridge with a lightweight custom event: - SidekickSetupModal dispatches 'credentials-updated' after saving - Canvas listens and re-fetches chatflow data via getSpecificChatflowApi This covers the primary credential setup flow (canvas, chat, marketplace) which is separate from the inline NodeInputHandler dropdown (PR #935). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The agentcanvas and v2/agentcanvas pages were missing SidekickSetupModal entirely — users opening agentflows with missing credentials never got the auto-prompt. - Add SidekickSetupModal to agentcanvas/[chatflowid]/page.tsx - Add SidekickSetupModal to v2/agentcanvas/[chatflowid]/page.tsx - Add credentials-updated event listener to agentflowsv2/Canvas.jsx Now consistent with chatflow canvas page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…al-canvas-sync fix(AGENT-76): sync canvas after credential modal saves
Pull Request Review: Staging to Production Release (2026.02.06)OverviewThis is a staging-to-production release PR that includes credential modal improvements for the agent canvas (AGENT-76) and a bug fix for ChatDrawer. The changes look solid overall with good architectural patterns, but there are a few areas that warrant attention. ✅ Strengths1. Centralized State ManagementThe use of
2. Event-Driven ArchitectureThe custom event pattern for credential updates is a clean solution:
3. Proper CleanupAll event listeners have proper cleanup in 4. Bug Fix QualityThe ChatDrawer fix (
|
🚀 Release: Staging to Production
Release Date: 2026-02-06
Changes in this release
This PR is automatically created/updated when commits are pushed to staging.
Merging this PR will trigger the release workflow to create a new GitHub release.