Repository navigation
Conversation
…gadmin-org#10552 The fix for pgadmin-org#10357 remounts the dialog form on Reset so that SQL editor values still waiting to come back through SchemaView are discarded. This spec types into an SQL field, removes the edit, types again and presses Reset before SchemaView has passed those values back, then checks that the original value is shown. Without the remount the editor keeps the last typed value.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughAdds a ChangesSQL reset regression coverage
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Other Merge Risk: ⚪ Minimal · up to
|
…10552 (#10560) The fix for #10357 remounts the dialog form on Reset so that SQL editor values still waiting to come back through SchemaView are discarded. This spec types into an SQL field, removes the edit, types again and presses Reset before SchemaView has passed those values back, then checks that the original value is shown. Without the remount the editor keeps the last typed value.
|
Merged as 8f24dc3. |
Summary
SchemaDialogViewResetSQL.spec.js, which types into an SQL field in a dialog, removes the edit, types again and presses Reset before SchemaView has passed those values back, then checks the original value is shown.key={resetKey}remount added toSchemaDialogViewin Fix the cursor jumping to the start of SQL fields in dialogs when keys are pressed together. #10357 #10543. With the remount removed the spec fails, showingBEGIN yEND;instead ofBEGIN END;.Test only; no overlap with the files being changed for #10551.
Test plan
key={resetKey}removedCloses #10552
Summary by CodeRabbit