• Adeniji Adekunle James's avatar
    fix(ui): turbo edit - prevent code editor content click from toggling accordion (#1201) · d6e1df3a
    Adeniji Adekunle James 提交于
    Hovering over the turbo edit code block previously showed a pointer
    cursor, and clicking inside would collapse/expand the accordion. This PR
    updates the DyadEdit component to use cursor-text and adds
    e.stopPropagation() so clicks inside the code block no longer toggle the
    accordion.
    
    
    
    
    https://github.com/user-attachments/assets/1b23be66-6d8f-4e4b-a390-d59f9a2bcee8
    
    
    
        
    <!-- This is an auto-generated description by cubic. -->
    ---
    
    ## Summary by cubic
    Prevented the Turbo Edit accordion from toggling when clicking inside
    the code block and updated the cursor to text to signal editing.
    
    - **Bug Fixes**
    - Stop click propagation inside the code block to avoid accordion
    toggle.
    - Apply cursor-text on the code container for proper text-selection
    affordance.
    
    <!-- End of auto-generated description by cubic. -->
    d6e1df3a
名称
最后提交
最后更新
..
AttachmentsList.tsx 正在载入提交数据...
ChatError.tsx 正在载入提交数据...
ChatErrorBox.tsx 正在载入提交数据...
ChatHeader.tsx 正在载入提交数据...
ChatInput.tsx 正在载入提交数据...
ChatMessage.tsx 正在载入提交数据...
CodeHighlight.tsx 正在载入提交数据...
DeleteChatDialog.tsx 正在载入提交数据...
DragDropOverlay.tsx 正在载入提交数据...
DyadAddDependency.tsx 正在载入提交数据...
DyadAddIntegration.tsx 正在载入提交数据...
DyadCodebaseContext.tsx 正在载入提交数据...
DyadDelete.tsx 正在载入提交数据...
DyadEdit.tsx 正在载入提交数据...
DyadExecuteSql.tsx 正在载入提交数据...
DyadMarkdownParser.tsx 正在载入提交数据...
DyadOutput.tsx 正在载入提交数据...
DyadProblemSummary.tsx 正在载入提交数据...
DyadRename.tsx 正在载入提交数据...
DyadThink.tsx 正在载入提交数据...
DyadTokenSavings.tsx 正在载入提交数据...
DyadWrite.tsx 正在载入提交数据...
FileAttachmentDropdown.tsx 正在载入提交数据...
HomeChatInput.tsx 正在载入提交数据...
LexicalChatInput.tsx 正在载入提交数据...
MessagesList.tsx 正在载入提交数据...
PromoMessage.tsx 正在载入提交数据...
RenameChatDialog.tsx 正在载入提交数据...
SelectedComponentDisplay.tsx 正在载入提交数据...
TokenBar.tsx 正在载入提交数据...
VersionPane.tsx 正在载入提交数据...
monaco.ts 正在载入提交数据...
stateTypes.ts 正在载入提交数据...
types.d.ts 正在载入提交数据...