gristlabs_grist-core/sandbox/grist
Alex Hall d4626aea82 (core) Only update changed records with RenameChoices
Summary:
Make _rename_cell_choice return None for unchanged values

The tests actually passs without the implementation changes, because trim_update_action removed the noop updates. So I'm not sure if this is an improvement. It certainly seems that it would be slower in cases where every record is updated, and it's hard to say if it would be better in other cases.

Test Plan:
Checked doc actions in existing test.
Also tested for invalid existing values.

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3052
2021-10-01 21:32:52 +02:00
..
functions
imports (core) Fix import parsing from choking up on Python isdigit() surprises 2021-09-20 16:17:34 -04:00
acl_formula.py
acl.py
action_obj.py
action_summary.py
actions.py
autocomplete_context.py
codebuilder.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
column.py (core) Only update changed records with RenameChoices 2021-10-01 21:32:52 +02:00
csv_patch.py
depend.py
docactions.py
docmodel.py
engine.py (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
gencode.py
gpath.py
grist.py
identifiers.py (core) Remove accents when picking identifiers 2021-08-24 14:47:50 +02:00
import_actions.py (core) Enable incremental imports 2021-09-16 09:15:54 -07:00
logger.py
lookup.py
main.py
match_counter.py
migrations.py (core) Initial webhooks implementation 2021-09-23 14:35:39 +02:00
moment_parse.py
moment.py
objtypes.py (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
parse_data.py
records.py (core) Suggest correct table when converting to RefList 2021-08-20 23:04:48 +02:00
relabeling.py
relation.py (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
runtests.py
sandbox.py
schema.py (core) Initial webhooks implementation 2021-09-23 14:35:39 +02:00
summary.py (core) Fix changing type of source column from choice to choicelist 2021-08-11 23:45:15 +02:00
table_data_set.py
table.py (core) treat summary tables like formulas for access control purposes 2021-09-16 18:44:50 -04:00
test_acl_formula.py
test_acl_renames.py
test_actions.py
test_codebuilder.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
test_column_actions.py
test_completion.py (core) update tests after jenkins engine freshening 2021-09-18 09:58:35 -04:00
test_default_formulas.py
test_depend.py
test_derived.py
test_display_cols.py
test_docmodel.py
test_engine.py (core) Add RenameChoices user action 2021-09-30 16:43:40 +02:00
test_find_col.py
test_formula_error.py (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
test_formula_undo.py (core) Suggest correct table when converting to RefList 2021-08-20 23:04:48 +02:00
test_functions.py
test_gencode.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
test_gpath.py
test_import_actions.py
test_import_transform.py (core) Enable incremental imports 2021-09-16 09:15:54 -07:00
test_logger.py
test_lookups.py
test_match_counter.py
test_migrations.py
test_moment.py
test_record_func.py
test_recordlist.py
test_reflist_rel.py
test_relabeling.py
test_renames2.py
test_renames.py (core) Suggest correct table when converting to RefList 2021-08-20 23:04:48 +02:00
test_replay.py
test_side_effects.py
test_summary2.py
test_summary_choicelist.py (core) Add RenameChoices user action 2021-09-30 16:43:40 +02:00
test_summary.py (core) Nicer conversion from numeric to text 2021-09-30 14:16:24 +02:00
test_table_actions.py
test_table_data_set.py
test_temp_rowids.py
test_textbuilder.py
test_treeview.py
test_trigger_formulas.py (core) Adding traceback to trigger formulas 2021-09-27 17:12:39 +02:00
test_twowaymap.py
test_types.py (core) Nicer conversion from numeric to text 2021-09-30 14:16:24 +02:00
test_undo.py
test_urllib_patch.py
test_user.py
test_useractions.py (core) Only update changed records with RenameChoices 2021-10-01 21:32:52 +02:00
testsamples.py
testscript.json
testutil.py
textbuilder.py
treeview.py
twowaymap.py
tzdata.data
urllib_patch.py
user.py
useractions.py (core) Add RenameChoices user action 2021-09-30 16:43:40 +02:00
usercode.py (core) Raise syntax errors that Python can format nicely to show the location 2021-09-24 15:07:09 +02:00
usertypes.py (core) Nicer conversion from numeric to text 2021-09-30 14:16:24 +02:00
xmlrunner.py