mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add behavioral and coaching call popups
Summary: Adds a new category of popups that are shown dynamically when certain parts of the UI are first rendered, and a free coaching call popup that's shown to users on their site home page. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3706
This commit is contained in:
@@ -733,8 +733,17 @@ BaseView.prototype.getLastDataRowIndex = function() {
|
||||
* Creates and opens ColumnFilterMenu for a given field/column, and returns its PopupControl.
|
||||
*/
|
||||
BaseView.prototype.createFilterMenu = function(openCtl, filterInfo, options) {
|
||||
return createFilterMenu(openCtl, this._sectionFilter, filterInfo, this._mainRowSource,
|
||||
this.tableModel.tableData, options);
|
||||
const {showAllFiltersButton, onClose} = options;
|
||||
return createFilterMenu({
|
||||
openCtl,
|
||||
sectionFilter: this._sectionFilter,
|
||||
filterInfo,
|
||||
rowSource: this._mainRowSource,
|
||||
tableData: this.tableModel.tableData,
|
||||
gristDoc: this.gristDoc,
|
||||
showAllFiltersButton,
|
||||
onClose,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user