gristlabs_grist-core/sandbox/grist
Alex Hall 04e5d90f86 (core) Barely working reference lists in frontend
Summary:
This makes it possible to set the type of a column to ReferenceList, but the UI is terrible

ReferenceList.ts is a mishmash of ChoiceList and Reference that sort of works but something about the CSS is clearly broken

ReferenceListEditor is just a text editor, you have to type in a JSON array of row IDs. Ignore the value that's present when you start editing. I can maybe try mashing together ReferenceEditor and ChoiceListEditor but it doesn't seem wise.
I think @georgegevoian should take over here. Reviewing the diff as it is to check for obvious issues is probably good but I don't think it's worth trying to land/merge anything.

Test Plan: none

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: georgegevoian

Differential Revision: https://phab.getgrist.com/D2914
2021-07-23 18:41:44 +02:00
..
functions (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
imports
acl_formula.py
acl.py
action_obj.py
action_summary.py
actions.py
autocomplete_context.py (core) Make CONTAINS a function for consistency with mkpydocs etc. 2021-07-21 13:18:23 +02:00
codebuilder.py
column.py (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
csv_patch.py
depend.py
docactions.py
docmodel.py (core) Refactor Table.Record[Set] classes 2021-07-19 14:53:28 +02:00
engine.py (core) Remove REPL code 2021-07-20 15:17:03 +02:00
gencode.py (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
gpath.py
grist.py
identifiers.py
import_actions.py
logger.py
lookup.py (core) Make CONTAINS a function for consistency with mkpydocs etc. 2021-07-21 13:18:23 +02:00
main.py (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
match_counter.py
migrations.py
moment_parse.py
moment.py
objtypes.py (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
records.py (core) Refactor Table.Record[Set] classes 2021-07-19 14:53:28 +02:00
relabeling.py
relation.py
runtests.py
sandbox.py (core) communicate with sandbox via standard pipes 2021-07-12 06:45:47 -04:00
schema.py
summary.py (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
table_data_set.py
table.py (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
test_acl_formula.py
test_acl_renames.py
test_actions.py
test_codebuilder.py
test_column_actions.py
test_completion.py (core) Refactor Table.Record[Set] classes 2021-07-19 14:53:28 +02:00
test_default_formulas.py
test_depend.py
test_derived.py
test_display_cols.py
test_docmodel.py
test_engine.py (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
test_find_col.py
test_formula_error.py (core) Put user code in linecache so that source lines show in tracebacks 2021-07-12 23:25:33 +02:00
test_formula_undo.py
test_functions.py
test_gencode.py (core) Refactor Table.Record[Set] classes 2021-07-19 14:53:28 +02:00
test_gpath.py
test_import_actions.py
test_import_transform.py
test_logger.py
test_lookups.py (core) CONTAINS() and summarising by ChoiceList columns with flattening 2021-07-19 16:35:35 +02:00
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) Refactor Table.Record[Set] classes 2021-07-19 14:53:28 +02:00
test_replay.py
test_side_effects.py
test_summary2.py
test_summary_choicelist.py (core) Make CONTAINS a function for consistency with mkpydocs etc. 2021-07-21 13:18:23 +02:00
test_summary.py
test_table_actions.py
test_table_data_set.py
test_temp_rowids.py
test_textbuilder.py
test_treeview.py
test_trigger_formulas.py (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
test_twowaymap.py
test_types.py
test_undo.py
test_urllib_patch.py
test_user.py (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
test_useractions.py
testsamples.py
testscript.json (core) Remove REPL code 2021-07-20 15:17:03 +02:00
testutil.py
textbuilder.py
treeview.py
twowaymap.py
tzdata.data
urllib_patch.py
user.py (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
useractions.py (core) Remove REPL code 2021-07-20 15:17:03 +02:00
usercode.py (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
usertypes.py (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
xmlrunner.py (core) Run python unit tests again in python 3 2021-06-30 21:46:18 +02:00