<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bryan Clark &#187; jetpack</title>
	<atom:link href="http://clarkbw.net/blog/tag/jetpack/feed/" rel="self" type="application/rss+xml" />
	<link>http://clarkbw.net/blog</link>
	<description>Change thrives on me</description>
	<lastBuildDate>Tue, 28 Dec 2010 23:04:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Try other web apps in Thunderbird tabs</title>
		<link>http://clarkbw.net/blog/2009/11/25/try-other-web-apps-in-thunderbird-tabs/</link>
		<comments>http://clarkbw.net/blog/2009/11/25/try-other-web-apps-in-thunderbird-tabs/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 22:30:50 +0000</pubDate>
		<dc:creator>Bryan Clark</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[add-ons]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google calendar]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[tabs]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://clarkbw.net/blog/?p=738</guid>
		<description><![CDATA[Colin Dean converted the code from my post on Google Calendar in Thunderbird tabs and created a GMail tab for Thunderbird. If you&#8217;re interested in trying what a web application would look like running inside a Thunderbird tab without modifying an extension use the following code snippet. Open the Error Console from the Tools Menu &#8230; <a href="http://clarkbw.net/blog/2009/11/25/try-other-web-apps-in-thunderbird-tabs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://cad.cx/">Colin Dean</a> converted the <a href="http://hg.mozilla.org/users/clarkbw_gnome.org/googlecalendartab/">code</a> from my post on <a href="http://clarkbw.net/blog/2009/11/23/google-calendar-in-thunderbird-tabs/">Google Calendar in Thunderbird tabs</a> and created a <a href="https://code.edge.launchpad.net/~colindean/+junk/gmailtab">GMail tab for Thunderbird</a>.</p>
<p>If you&#8217;re interested in trying what  a web application would look like running inside a Thunderbird tab without modifying an extension use the following code snippet.</p>
<p>Open the Error Console from the Tools Menu</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-741" title="tools-error-console" src="http://clarkbw.net/blog/wp-content/uploads/2009/11/tools-error-console-290x300.png" alt="tools-error-console" width="290" height="300" /></p>
<p>Copy &amp; Paste this code into the input entry at the top:</p>
<pre>Components.classes['@mozilla.org/appshell/window-mediator;1']
          .getService(Components.interfaces.nsIWindowMediator)
          .getMostRecentWindow("mail:3pane")
          .document.getElementById("tabmail")
          .openTab("contentTab",{contentPage:"http://tinyvid.tv/show/2h9led44g152z"})</pre>
<p><strong>update:</strong> here&#8217;s a text input which you can easily copy and paste the above code from.<br />
<input style="width:100%;" type="text" value="Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow('mail:3pane').document.getElementById('tabmail').openTab('contentTab',{contentPage:'http://tinyvid.tv/show/2h9led44g152z'})"/>
<p>Change the provided link ( <a href="http://tinyvid.tv/show/2h9led44g152z">http://tinyvid.tv/show/2h9led44g152z</a> ) at the end to the web application you&#8217;d like to try, like <a href="http://twitter.com">http://twitter.com</a> for example.  Click the <strong>( Evaluate )</strong> button.</p>
<p style="text-align: center;"><a href="http://clarkbw.net/blog/wp-content/uploads/2009/11/error-console.png"><img class="size-medium wp-image-739  aligncenter" title="error-console" src="http://clarkbw.net/blog/wp-content/uploads/2009/11/error-console-300x214.png" alt="error-console" width="300" height="214" /></a></p>
<p><span style="text-decoration: underline;">It&#8217;s Party Time!</span> ( if you didn&#8217;t change the link,  <a href="http://tinyvid.tv/show/2h9led44g152z">http://tinyvid.tv/show/2h9led44g152z</a> )</p>
<p style="text-align: center;"><a href="http://clarkbw.net/blog/wp-content/uploads/2009/11/its-party-time-in-a-thunderbird-tab.png"><img class="size-medium wp-image-740  aligncenter" title="its-party-time-in-a-thunderbird-tab" src="http://clarkbw.net/blog/wp-content/uploads/2009/11/its-party-time-in-a-thunderbird-tab-300x293.png" alt="its-party-time-in-a-thunderbird-tab" width="300" height="293" /></a></p>
<p>You can continue to iterate the tab application by creating a new <a href="https://developer.mozilla.org/en/Thunderbird/Content_Tabs#Handling_clicks">click handler</a>, however at that point it might be worthwhile to start with the extension code instead of working in the error console.</p>
<p><strong>Jetpack for Thunderbird</strong></p>
<p>In the hopefully not too distant future Thunderbird will gain <a href="https://jetpack.mozillalabs.com/">Jetpack</a> as it&#8217;s new extension model and it will be no longer necessary for add-ons like this these be created but instead a simple Jetpack which can do the same things without restarts or complicated installs.</p>
<p>If you&#8217;re interested in this take a look at Andrew&#8217;s recent <a href="http://www.visophyte.org/blog/2009/11/22/thunderbird-jetpack-teasers-words-per-minute-in-compose/">Jetpack in Thunderbird</a> post.</p>
<p><span style="color: #808080;"><em>Above code snippet courtesy of Magnus in <a title="mkmelin+mozilla@iki.fi -- (From update of attachment 403217) Looks good. Tested using  Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMo ..." href=""><a class="__firefox_bugidhelper"></a></a></em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://clarkbw.net/blog/2009/11/25/try-other-web-apps-in-thunderbird-tabs/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Cubed Mail</title>
		<link>http://clarkbw.net/blog/2009/06/18/cubed-mail/</link>
		<comments>http://clarkbw.net/blog/2009/06/18/cubed-mail/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 23:59:17 +0000</pubDate>
		<dc:creator>Bryan Clark</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[add-ons]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[tabs]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://clarkbw.net/blog/?p=678</guid>
		<description><![CDATA[Lately I&#8217;ve been working a lot on the Thunderbird add-ons developers user experience.  Often times designers don&#8217;t get to work on developer experiences because developers tend to do those pieces themselves without much design.  With a lot of others I&#8217;ve spent a good amount of time working on the whole experience of development, docs, and &#8230; <a href="http://clarkbw.net/blog/2009/06/18/cubed-mail/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been working a lot on the <a href="https://addons.mozilla.org/en-US/thunderbird/">Thunderbird add-ons</a> developers user experience.  Often times designers don&#8217;t get to work on developer experiences because developers tend to do those pieces themselves without much design.  With a lot of others I&#8217;ve spent a good amount of time working on the whole experience of development, docs, and extension types so hopefully the Thunderbird 3 add-on developer experience will be significantly better.</p>
<p>To get into the user experience of an add-on developer I recently made a Jetpack, <a href="http://clarkbw.net/blog/2009/06/08/the-pattern-is-not-full/">Bugzilla Air Traffic Control</a>, to examine what it is like to develop inside <a href="https://jetpack.mozillalabs.com/">Jetpack</a>.  I&#8217;ve also been creating a number of example extensions that take advantage of the new code that has landed in Thunderbird recently and learn the pitfalls of extension development.</p>
<p>So in honor of the <a href="http://hacks.mozilla.org/">hacks.mozilla.org</a> recent article called <strong><a href="http://hacks.mozilla.org/2009/06/3d-transforms-isocube/">3D transforms in Firefox 3.5 &#8211; the isocube</a></strong> I added a similar hack to my <a href="http://hg.mozilla.org/users/clarkbw_gnome.org/tabbedmessage/">tabbed message example extension</a>.  I give you&#8230;</p>
<p style="text-align: center;"><strong>Cubed Email Messages</strong></p>
<p style="text-align: center;"><a href="http://clarkbw.net/blog/wp-content/uploads/2009/06/messages-in-a-cube.png"><img class="size-medium wp-image-680    aligncenter" title="messages-in-a-cube" src="http://clarkbw.net/blog/wp-content/uploads/2009/06/messages-in-a-cube-257x300.png" alt="messages-in-a-cube" width="257" height="300" /></a></p>
<p style="text-align: left;">To demonstrate the awesome interactiveness that I <strong>didn&#8217;t</strong> add to my email extension I also have a pure HTML demo available.   Try out the <strong><a href="http://hg.mozilla.org/users/clarkbw_gnome.org/tabbedmessage/raw-file/tip/src/example/index.html">email cube test demo</a></strong> for yourself.  This demo requires <a href="http://www.mozilla.com/en-US/firefox/all-beta.html">Firefox 3.5, go get it</a> if you don&#8217;t have it.</p>
<p style="text-align: left;">If you&#8217;re asking &#8220;why email in a cube,?&#8221; then I&#8217;ll ask you why not?  This demo reminds me that Thunderbird has all the same Firefox goodness that&#8217;s coming out in 3.5 but we have yet to take advantage of much of it.  Hopefully as we make more progress in the coming months we&#8217;ll do just that.</p>
<p>And if you&#8217;re asking yourself&#8230; Is this what Bryan gets paid to do?  Well then we&#8217;re asking ourselves the same question; though I don&#8217;t think I&#8217;m referring to myself in the third person.</p>
]]></content:encoded>
			<wfw:commentRss>http://clarkbw.net/blog/2009/06/18/cubed-mail/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.295 seconds -->

