gristlabs_grist-core/app/client/widgets
Paul Fitzpatrick c67966775b (core) simplify document comparison code, and flesh out diff with local changes
Summary:
With recent changes to action history, we can now remove the temporary
`finalRowContent` field from change details, since all the information
we need is now in the ActionSummary.

We also now have more information about the state of the common ancestor,
which previously we could not get either from ActionSummary or from
`finalRowContent`. We take advantage of that to flesh out rendering
differences where there are some changes locally and some changes
remotely.

There's still a lot more to do, this is just one step.

I have added a link to the UI for viewing the comparison. I wouldn't
want to advertise that link until diffs are robust to name changes.

Test Plan: added test, updated tests

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2658
2020-11-11 15:49:16 -05:00
..
AbstractWidget.js (core) move client code to core 2020-10-02 13:24:21 -04:00
BaseEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
CheckBox.css (core) move client code to core 2020-10-02 13:24:21 -04:00
CheckBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
CheckBoxEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ChoiceEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ChoiceTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeEditor.css (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DiffBox.ts (core) simplify document comparison code, and flesh out diff with local changes 2020-11-11 15:49:16 -05:00
EditorPlacement.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ErrorDom.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.css (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.ts (core) Automatically finalize action bundles when unrelated actions/bundles come in. 2020-11-10 10:32:07 -05:00
FieldEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FormulaEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
HyperLinkEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
HyperLinkTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
NewAbstractWidget.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
NewBaseEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
NTextBox.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
NTextEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
NumericTextBox.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
PreviewModal.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
PreviewsWidget.css (core) move client code to core 2020-10-02 13:24:21 -04:00
PreviewsWidget.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
Reference.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Reference.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ReferenceEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
Spinner.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Spinner.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
Switch.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Switch.js (core) move client code to core 2020-10-02 13:24:21 -04:00
TextBox.css (core) move client code to core 2020-10-02 13:24:21 -04:00
TextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
TextEditor.css (core) move client code to core 2020-10-02 13:24:21 -04:00
TextEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
UserType.js (core) move client code to core 2020-10-02 13:24:21 -04:00
UserTypeImpl.js (core) move client code to core 2020-10-02 13:24:21 -04:00