gristlabs_grist-core/app/client/widgets
George Gevoian 2f900f68f8 (core) Add color options to choice config UI
Summary:
Includes overhauled choice configuration UI for choice and choice list
columns based on the TokenField library. Features include rich copy
and paste support, keyboard shortcuts for token manipulation, and
drag-and-drop support for arrangement.

Configured choice colors are visible throughout the application, such
as in the autocomplete window for both choice and choice list cells, and
in table cells directly.

Choice cells in particular are now styled closer to choice list cells,
and render their contents as colored tokens. Choice cells now also
use the improved autocomplete component that choice lists use, with
some room for future improvement (e.g. allowing new choice items to be
added inline like in choice list's autocomplete).

Also includes a minor fix for choice list cells where right align
was not working.

Test Plan: Browser tests updated.

Reviewers: jarek, dsagal

Reviewed By: jarek, dsagal

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D2890
2021-07-09 12:07:38 -07:00
..
AbstractWidget.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
AttachmentsEditor.ts (core) Readonly editors 2021-06-17 19:12:16 +02:00
AttachmentsWidget.css (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
AttachmentsWidget.ts (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
BaseEditor.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
CheckBox.css (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
CheckBox.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
CheckBoxEditor.js (core) Readonly editors 2021-06-17 19:12:16 +02:00
ChoiceEditor.js (core) Add color options to choice config UI 2021-07-09 12:07:38 -07:00
ChoiceListCell.ts (core) Add color options to choice config UI 2021-07-09 12:07:38 -07:00
ChoiceListEditor.ts (core) Add color options to choice config UI 2021-07-09 12:07:38 -07:00
ChoiceListEntry.ts (core) Add color options to choice config UI 2021-07-09 12:07:38 -07:00
ChoiceTextBox.ts (core) Add color options to choice config UI 2021-07-09 12:07:38 -07:00
DateEditor.js (core) Readonly editors 2021-06-17 19:12:16 +02: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) Readonly editors 2021-06-17 19:12:16 +02:00
DateTimeTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DiffBox.ts (core) Configure more comprehensive eslint rules for Typescript 2021-04-26 18:54:55 -04:00
EditorButtons.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorPlacement.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorTooltip.ts (core) Add a button and a tooltip to Access Rules page item, in View-As mode. 2021-03-08 16:08:21 -05: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) A quick attempt to fix summarizing by reference columns 2021-06-28 15:05:55 -04:00
FieldEditor.ts (core) Fix reporting of errors when saving cells by clicking away, and deduplicate memos. 2021-06-23 08:50:42 -04:00
FormulaEditor.ts (core) Readonly editors 2021-06-17 19:12:16 +02:00
HyperLinkEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
HyperLinkTextBox.ts (core) Navigate hyperlinks in the same document without a page reload 2021-05-21 12:21:27 +02:00
NewAbstractWidget.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
NewBaseEditor.ts (core) Readonly editors 2021-06-17 19:12:16 +02:00
NTextBox.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
NTextEditor.ts (core) Readonly editors 2021-06-17 19:12:16 +02:00
NumericTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
Reference.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Reference.ts (core) Add cell formatting options to reference columns 2021-06-08 14:59:03 -07:00
ReferenceEditor.ts (core) Add color options to choice config UI 2021-07-09 12:07:38 -07: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) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
Switch.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
TextBox.css (core) Readonly editors 2021-06-17 19:12:16 +02:00
TextEditor.css (core) Readonly editors 2021-06-17 19:12:16 +02:00
TextEditor.js (core) Readonly editors 2021-06-17 19:12:16 +02:00
UserType.js (core) Add color options to choice config UI 2021-07-09 12:07:38 -07:00
UserTypeImpl.js (core) Add ChoiceList type, cell widget, and editor widget. 2021-05-12 10:38:32 -04:00