gristlabs_grist-core/app/client/components
Dmitry S 3513c1e8d2 (core) In formula autocompletions, fix suggestions after an opening parenthesis.
Summary:
Previously, a change was made to include the opening parenthesis into the
"identifier regex", so that backend received the function call name for cases
like 'T.lookupOne(B' (to autocomplete columns of table T that start with "B").
Unfortunately, that interferes with common cases like 'SUM($B', since instead
of sending '$B', it is now including the function name.

To properly fix the common case, we need to exclude the function name from the
call, but for lookups we need to include it. ACE's methods aren't flexible
enough to override this logic cleanly, so some monkey-patching was needed.

Test Plan: Added a test case

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3874
2023-04-26 15:26:44 -04:00
..
AceEditor.css (core) Improve dark mode 2023-04-12 01:58:48 -04:00
AceEditor.js (core) Improve dark mode 2023-04-12 01:58:48 -04:00
AceEditorCompletions.ts (core) In formula autocompletions, fix suggestions after an opening parenthesis. 2023-04-26 15:26:44 -04:00
ActionLog.css
ActionLog.ts
Banner.ts
Base.js
BaseView2.ts
BaseView.js
BehavioralPromptsManager.ts (core) Focusing the creator panel on the table wiget for charts and custom views 2023-04-14 12:45:24 +02:00
buildViewSectionDom.ts (core) Fixing couple of bugs in collapsed section layout 2023-03-22 16:23:09 +01:00
CellPosition.ts
CellSelector.ts
ChartView.css
ChartView.ts (core) Improve dark mode 2023-04-12 01:58:48 -04:00
ClientScope.ts
Clipboard.css
Clipboard.js
CodeEditorPanel.css (core) Improve dark mode 2023-04-12 01:58:48 -04:00
CodeEditorPanel.ts
ColumnFilters.css
ColumnTransform.ts Keep choices after apply formula (#474) 2023-04-11 09:31:46 +02:00
Comm.ts
commandList.ts (core) Migrating commands to typescript 2023-04-24 09:48:40 +02:00
commands.css
commands.ts (core) Migrating commands to typescript 2023-04-24 09:48:40 +02:00
CopySelection.ts
Cursor.ts
CursorMonitor.ts (core) Fixing couple of bugs in collapsed section layout 2023-03-22 16:23:09 +01:00
CustomView.css
CustomView.ts
DataTables.ts
DetailView.css
DetailView.js feat: allow simple click on certain cases for editing field in Widget Card (#446) 2023-04-17 11:14:25 -04:00
DocComm.ts
DocConfigTab.js
DocumentUsage.ts
Drafts.ts
duplicatePage.ts (core) Polish tutorial popups 2023-04-20 12:20:03 -04:00
EditorMonitor.ts
EmbedForm.css
FieldConfigTab.css
FormulaTransform.ts
GridView.css (core) Adding description icon and tooltip in the GridView 2023-04-20 18:21:31 +02:00
GridView.js (core) Adding description icon and tooltip in the GridView 2023-04-20 18:21:31 +02:00
GristDoc.css
GristDoc.ts (core) updates from grist-core 2023-04-24 08:51:16 -04:00
GristWSConnection.ts
Importer.ts (core) Improve dark mode 2023-04-12 01:58:48 -04:00
Layout.css
Layout.ts (core) Fixing couple of bugs in collapsed section layout 2023-03-22 16:23:09 +01:00
LayoutEditor.css
LayoutEditor.ts
LayoutTray.ts (core) Fixing bug with type change when a collapsed section is maximized 2023-03-28 17:47:28 +02:00
LinkingState.ts
Login.css
modals.ts (core) Add April Fools easter egg 2023-03-27 14:12:52 -04:00
ParseOptions.ts
PluginScreen.ts
Preferences.css
Printing.css
Printing.ts (core) Improve dark mode 2023-04-12 01:58:48 -04:00
RawDataPage.ts
RecordLayout.css
RecordLayout.js
RecordLayoutEditor.js
RefSelect.ts
SearchBar.css
SelectionSummary.ts
TypeConversion.ts
TypeTransform.ts
UndoStack.ts
UnsavedChanges.ts
ValidationPanel.css
ValidationPanel.js
ViewAsBanner.ts
viewCommon.css
viewCommon.js
ViewConfigTab.css
ViewConfigTab.js
ViewLayout.css
ViewLayout.ts (core) Fixing couple of bugs in collapsed section layout 2023-03-22 16:23:09 +01:00
ViewLinker.css
ViewPane.ts
WidgetFrame.ts