mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Updating RawData views
Summary: - Better focus on the widget title - Adding columns only to the current view section - New popup with options when user wants to delete a page - New dialog to enter table name - New table as a widget doesn't create a separate page - Removing a table doesn't remove the primary view Test Plan: Updated and new tests Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3410
This commit is contained in:
@@ -6,7 +6,7 @@ class TestUndo(test_engine.EngineTestCase):
|
||||
def test_bad_undo(self):
|
||||
# Sometimes undo can make metadata inconsistent with schema. Check that we disallow it.
|
||||
self.load_sample(testsamples.sample_students)
|
||||
out_actions1 = self.apply_user_action(['AddEmptyTable'])
|
||||
out_actions1 = self.apply_user_action(['AddEmptyTable', None])
|
||||
self.assertPartialData("_grist_Tables", ["id", "tableId", "columns"], [
|
||||
[1, "Students", [1,2,4,5,6]],
|
||||
[2, "Schools", [10,12]],
|
||||
@@ -60,7 +60,7 @@ class TestUndo(test_engine.EngineTestCase):
|
||||
# during undo of imports when the undo could omit part of the action bundle.
|
||||
self.load_sample(testsamples.sample_students)
|
||||
|
||||
out_actions1 = self.apply_user_action(['AddEmptyTable'])
|
||||
out_actions1 = self.apply_user_action(['AddEmptyTable', None])
|
||||
out_actions2 = self.add_column('Table1', 'D', type='Text')
|
||||
out_actions3 = self.remove_column('Table1', 'D')
|
||||
out_actions4 = self.apply_user_action(['RemoveTable', 'Table1'])
|
||||
|
||||
Reference in New Issue
Block a user