Update all non-major dependencies (#11329)
* Update all non-major dependencies * Add isLocation to ComposerEvent analytics events * Remove cypress-each as it is incompatible with modern typescript * Roll back eslint-plugin-deprecate * Remove stale comment --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andy Balaam <andy.balaam@matrix.org> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
d405160080
commit
5405c22db1
8 changed files with 382 additions and 273 deletions
|
@ -64,6 +64,7 @@ export async function sendMessage(
|
|||
const posthogEvent: ComposerEvent = {
|
||||
eventName: "Composer",
|
||||
isEditing: false,
|
||||
isLocation: false,
|
||||
isReply: Boolean(replyToEvent),
|
||||
// TODO thread
|
||||
inThread: relation?.rel_type === THREAD_RELATION_TYPE.name,
|
||||
|
@ -199,6 +200,7 @@ export async function editMessage(
|
|||
PosthogAnalytics.instance.trackEvent<ComposerEvent>({
|
||||
eventName: "Composer",
|
||||
isEditing: true,
|
||||
isLocation: false,
|
||||
inThread: Boolean(editedEvent?.getThread()),
|
||||
isReply: Boolean(editedEvent.replyEventId),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue