Skip to content
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

COMPASS-341 - Hide intercom widget when feedback disabled #656

Merged
merged 2 commits into from Dec 6, 2016

Conversation

aherlihy
Copy link
Contributor

@aherlihy aherlihy commented Dec 2, 2016

So according to Intercom support, window.Intercom('hide/show') does not hide/show the widget, only the messages. Right now there is a workaround that directly hides the element, but I'm not sure if this is the best solution. I've tried hooking into the 'hide'/'show' events and it didn't work, neither did a few other things I tried. I think we could do a refactor of how the metrics are handled, I find it a bit confusing that there is both an internal metrics package and an external one. Perhaps we should make a ticket for an improvement, and keep this as the bug ticket fix. Thoughts?

  • I also added backport:needed since I'm assuming we want this to work for 1.5.x.

@imlucas
Copy link
Contributor

imlucas commented Dec 6, 2016

Filed https://jira.mongodb.org/browse/COMPASS-516 for follow-up discussion.

@imlucas imlucas merged commit 302877b into mongodb-js:master Dec 6, 2016
@imlucas imlucas self-assigned this Dec 6, 2016
@imlucas
Copy link
Contributor

imlucas commented Dec 6, 2016

Backported to 1.5-releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants