mitodl / teachersportal

MIT ODL Teacher's Portal
0 stars 0 forks source link

Setup Zendesk or some similar user-error-reporting mechanism. #220

Closed justinabrahms closed 8 years ago

justinabrahms commented 8 years ago

cc @pdpinch (because we'll need an account, likely).

pdpinch commented 8 years ago

We have a ZenDesk account. It's a per seat license, so I have to check how many seats we have available (before it goes from merely expensive to ridiculous).

We may need to limit the seats to whomever is doing the development on it. Actual support will be (I hope) be handled by others.

justinabrahms commented 8 years ago

If you have access, that's probably fine. We'd just need api keys for testing and prod, and a single seat (or a shared login?) for validating it works.

On Tue, Jan 12, 2016 at 12:23 PM, Peter Pinch notifications@github.com wrote:

We have a ZenDesk account. It's a per seat license, so I have to check how many seats we have available (before it goes from merely expensive to ridiculous).

We may need to limit the seats to whomever is doing the development on it. Actual support will be (I hope) be handled by others.

— Reply to this email directly or view it on GitHub https://github.com/mitodl/teachersportal/issues/220#issuecomment-170981624 .

pdpinch commented 8 years ago

Some Zendesk docs are at https://developer.zendesk.com/embeddables/docs/widget/api

pdpinch commented 8 years ago

Default "web widget" javascript with our account info embedded:

<!-- Start of odl Zendesk Widget script -->
<script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","odl.zendesk.com");
/*]]>*/</script>
<!-- End of odl Zendesk Widget script -->

This can be customized through https://odl.zendesk.com/agent/admin/widget by any ZenDesk agent with admin privileges.

pdpinch commented 8 years ago

This ticket is for MVP. Enhancements are in #276