Skip to content

Commit 044e867

Browse files
committed
fix(extension): keep recovery actions accessible and connected
1 parent 6e74429 commit 044e867

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/extension/src/sidepanel.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ import '@/shell.css'
2121

2222
const BLOCKED_SELECTION =
2323
'Select readable text again, attach the page explicitly, or turn off Reference current page.'
24-
const KEYBOARD_FOCUS_HINT = 'Click the message field to type.'
24+
const KEYBOARD_FOCUS_HINT = navigator.platform.startsWith('Mac')
25+
? 'Click the message field, or press ⌘⌥↑ to move focus.'
26+
: 'Click the message field, or press F6 to move focus.'
2527

2628
interface SidePanelProps {
2729
origin: string

‎apps/sim/app/extension/hooks/use-composer.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export function useExtensionComposer(scopeKey: string) {
157157
[requestAction]
158158
)
159159
return {
160-
openMicrophoneSettings,
160+
openMicrophoneSettings: connected ? openMicrophoneSettings : null,
161161
attachments,
162162
resourceActions,
163163
toolbarActions,

0 commit comments

Comments
 (0)