mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Show coaching popup after Add New tip is dismissed
Summary: This is to prevent too many popups from being shown on screen at any given moment. Test Plan: Tested manually. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3841
This commit is contained in:
@@ -63,6 +63,10 @@ export class BehavioralPromptsManager extends Disposable {
|
||||
return this._dismissedTips.get().has(prompt);
|
||||
}
|
||||
|
||||
public shouldShowTips() {
|
||||
return !this._prefs.get().dontShowTips;
|
||||
}
|
||||
|
||||
private _queueTip(refElement: Element, prompt: BehavioralPrompt, options: AttachOptions) {
|
||||
if (
|
||||
// Don't show tips if surveying is disabled.
|
||||
|
||||
Reference in New Issue
Block a user