Skip to content

fix(studio): connector sheet crash and autofill key errors - #1203

Merged
LinuxDevil merged 1 commit into
mainfrom
fix/studio-connector-input-crash
Nov 18, 2026
Merged

LinuxDevil merged 1 commit into
mainfrom
fix/studio-connector-input-crash

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Adding a connector on the deployed Studio crashed with Cannot read properties of null (reading 'value').

  • Crash: ConnectorsTab read e.currentTarget.value inside a setValues updater. React can run the updater after currentTarget is cleared, so it was null. The value is now read first.
  • toLowerCase errors: browser autofill fires keydown events with no key. The shortcut handlers (shortcuts.ts, CanvasArea.tsx, useSaveVersionShortcut.ts) now treat a missing key as empty.

Checked: typecheck passes; a new shortcuts.test.ts fails without the fix and passes with it; typing into the Atlassian connector sheet in the browser no longer crashes.

🤖 Generated with Claude Code

Typing in a connector field crashed the Profile page: the onChange read e.currentTarget.value inside a state updater, which React can run after currentTarget is cleared. Browser autofill also fires keydown events with no key, which threw in the shortcut handlers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@lousho-ai lousho-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving.

@LinuxDevil
LinuxDevil merged commit a5d8ac7 into main Nov 18, 2026
6 checks passed
@LinuxDevil
LinuxDevil deleted the fix/studio-connector-input-crash branch November 18, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant