mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add additional telemetry events
Summary: The new events capture usage of forms, widgets, access rules, and onboarding tours and tips. Test Plan: Manual. Reviewers: dsagal Reviewed By: dsagal Subscribers: dsagal Differential Revision: https://phab.getgrist.com/D4189
This commit is contained in:
@@ -5,7 +5,6 @@ import {KoSaveableObservable} from 'app/client/models/modelUtil';
|
||||
import {RuleOwner} from 'app/client/models/RuleOwner';
|
||||
import {Style} from 'app/client/models/Styles';
|
||||
import {cssFieldFormula} from 'app/client/ui/FieldConfig';
|
||||
import {GristTooltips} from 'app/client/ui/GristTooltips';
|
||||
import {withInfoTooltip} from 'app/client/ui/tooltips';
|
||||
import {textButton} from 'app/client/ui2018/buttons';
|
||||
import {ColorOption, colorSelect} from 'app/client/ui2018/ColorSelect';
|
||||
@@ -78,10 +77,7 @@ export class ConditionalStyle extends Disposable {
|
||||
dom.on('click', () => this._ruleOwner.addEmptyRule()),
|
||||
dom.prop('disabled', this._disabled),
|
||||
),
|
||||
(this._label === t('Row Style')
|
||||
? GristTooltips.addRowConditionalStyle()
|
||||
: GristTooltips.addColumnConditionalStyle()
|
||||
),
|
||||
this._label === t('Row Style') ? 'addRowConditionalStyle' : 'addColumnConditionalStyle'
|
||||
),
|
||||
dom.hide(use => use(this._ruleOwner.hasRules))
|
||||
),
|
||||
|
||||
@@ -252,7 +252,7 @@ export class FormulaAssistant extends Disposable {
|
||||
private _logTelemetryEvent(event: TelemetryEvent, includeContext = false, metadata: TelemetryMetadata = {}) {
|
||||
logTelemetryEvent(event, {
|
||||
full: {
|
||||
docIdDigest: this._gristDoc.docId,
|
||||
docIdDigest: this._gristDoc.docId(),
|
||||
conversationId: this._chat.conversationId.get(),
|
||||
...(!includeContext ? {} : {context: {
|
||||
type: 'formula',
|
||||
|
||||
Reference in New Issue
Block a user