-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[dashboard] add modal_dismiss tracking event #10132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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_dismiss
tracking event to clarify how and where this modal dismiss.manner
: how this modal dismiss, value can be one ofesc
enter
x
specify
: specify a key if having the same title and window.locationtitle
: title of , that needs to do withTODO
in 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_dismiss
event sent correctly.enter
after IDE select modal display, see ifmodal_dismiss
data like/#github.com/gitpod-io/template-sveltejs
and pressesc
to see ifmodal_dismiss
datamanner=esc specify=workspace_start
The tests above are checking for
specify
of IDE select modal. We can test moremanner
in /variables to easily create a modal hereRelease Notes
Documentation