codeant-ai-for-open-source[bot] commented on code in PR #39257:
URL: https://github.com/apache/superset/pull/39257#discussion_r4140360202


##########
superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.tsx:
##########
@@ -713,6 +744,18 @@ function ColumnCollectionTable({
                 ),
               type: d => (d ? <Label>{String(d)}</Label> : null),
               advanced_data_type: d => <Label>{d as string}</Label>,
+              expression: (v, onChange) => (
+                <TextAreaControl
+                  initialValue={v as string}
+                  onChange={onChange}

Review Comment:
   ✅ **Customized review instruction saved!**
   
   **Instruction:**
   > Do not remount the inline Ace editor on every expression change, since 
this loses cursor position; preserve the editing state while synchronizing 
externally refreshed expressions through a non-remount approach.
   
   **Applied to:**
     - 
`superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.tsx`
   
   ---
   💡 *To manage or update this instruction, visit: [CodeAnt AI 
Settings](https://app.codeant.ai/org/settings/learnings)*



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to