mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Two way reference polish
Summary: - Fixing BulkRemoveRecord bug - Rewriting copy on the `delete reverse column` dialog - Rewriting text on the `reassign reference dialog` - Adding tooltip that explains why 2-way references are not enabled for formula columns Test Plan: Added tests Reviewers: georgegevoian Reviewed By: georgegevoian Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D4355
This commit is contained in:
@@ -134,7 +134,7 @@ describe('TwoWayReference', function() {
|
||||
// We are now in a modal dialog.
|
||||
assert.equal(
|
||||
await driver.findWait('.test-modal-dialog label', 100).getText(),
|
||||
'Reassign to Owners record Bob.'
|
||||
'Reassign to Owners record "Bob".'
|
||||
);
|
||||
|
||||
// Reassign it.
|
||||
@@ -599,7 +599,7 @@ describe('TwoWayReference', function() {
|
||||
// We should have an option there.
|
||||
assert.equal(
|
||||
await driver.findWait('.test-modal-dialog label', 100).getText(),
|
||||
'Reassign to People record Alice.'
|
||||
'Reassign to People record "Alice".'
|
||||
);
|
||||
|
||||
// Reassign it.
|
||||
@@ -729,7 +729,7 @@ const removeTwoWay = () => driver.findWait('.test-remove-reverse-column', 100).c
|
||||
|
||||
const configText = async () => {
|
||||
const text = await driver.findWait('.test-reverse-column-label', 100).getText();
|
||||
return text.trim().split('\n').join('').replace('COLUMN', '.').replace("TABLE", "");
|
||||
return text.trim().split('\n').join('').replace('COLUMN', '.').replace("TARGET TABLE", "");
|
||||
};
|
||||
|
||||
const removeModal = {
|
||||
|
||||
Reference in New Issue
Block a user