[dashboard] add modal_dismiss tracking event#10132
Conversation
3ad9230 to
7428fc7
Compare
0e3b3f2 to
8ddbc9a
Compare
|
/werft run 👍 started the job as gitpod-build-hw-modal-track.6 |
8ddbc9a to
64fdb6d
Compare
|
@iQQBot Could you help review/test this? |
|
/werft run 👍 started the job as gitpod-build-hw-modal-track.8 |
|
build error:
@mustard-mh This requires a rebase |
64fdb6d to
948e27f
Compare
|
@mustard-mh I tested, and it seems to work as expected. But I noticed that it does not seem to pick up modal dismisses when I regularly click the button. |
geropl
left a comment
There was a problem hiding this comment.
Approving because the code looks good and works.
/hold in case you want to react on this comment
👍 Good point, I will go with it. cc @loujaybee |
@geropl @loujaybee Sometimes when we click on buttons that don't necessarily make the modal disappear. For example, if we need to wait for the result of a request, and the request fails, the modal does not disappear, but waits for the user to make a second click. So we could probably provide a common method in Or maybe just go with this PR, and make changes in the future if needed? |
@mustard-mh Fine with me! Just wanted to bring it up in case it's "quick and easy". 👍 |
|
/unhold |
Description
Add
modal_dismisstracking event to clarify how and where this modal dismiss.manner: how this modal dismiss, value can be one ofescenterxspecify: specify a key if having the same title and window.locationtitle: title of , that needs to do withTODOin this PRNeed preview PR to be merged first
Tracking Plan
Related Issue(s)
Fixed #9790
How to test
Go to segment to check if
modal_dismissevent sent correctly.enterafter IDE select modal display, see ifmodal_dismissdata like/#github.com/gitpod-io/template-sveltejsand pressescto see ifmodal_dismissdatamanner=esc specify=workspace_startThe tests above are checking for
specifyof IDE select modal. We can test moremannerin /variables to easily create a modal hereRelease Notes
Documentation