Some really good stuff in what I hope to be last release candidate.
- Improved autolinking: Twitter’s engineering folks posted a set of descriptive tests on how they parse and autolink tweets. I’ve rewritten Tweetz’s code to pass all these tests plus some additional edge cases I’ve found. Of course, if you do find a tweet that doesn’t parse like the twitter page, send me the tweet id and I’ll add it to the suite of tests (and fix the code of course).
- New tweet indicators: When new tweets arrive the tab of timeline that received the tweet is highlighted by adding an orange highlight to the lower-right corner. To mark the timeline as read, just move the mouse cursor over the tab. The “Unified” timeline does not highlight since it’s just a collection of the other timelines.
- Fixed high CPU usage: The gadget spiked the CPU pretty hard when checking for new tweets. Wanna know what it was? The pulsing indicator in the top right corner. Turns out, JavaScript animations are very CPU intense. I’ve removed the pulsing indicator and replaced it with a steady yellow indicator. Not quite as cool but it should make for better battery life.
- New retweet/message icons: I’m using the same icons that appear in the “actions panel”. They fit better with the overall theme and save a few more pixels for text.
- Purge old tweets: I’ve moved the purge tweets to a timer that fires every 2 hours. Originally, I did on updates but figure every two hours should lower CPU usage even more.
- Fixed refreshing timelines: Well, much to my chagrin, I discovered that while I implemented refresh for the “Unified” timeline, I didn’t do it for the Home, Mentions and Messages timelines. And even the “Unified” refresh had a bug! Anyways, clicking the active tab will the Unified, Home, Mentions and Messages will immediately check twitter for new updates (Unified, Home, Mentions and Messages only).
OK, you know the mission, find those bugs and keep the suggestions coming.
Available on the downloads page.
I was planning to get RC #2 out a bit earlier but my back has decided to raise hell with me. I’m actually active and healthy but every once and a while I manage to do something that lays me out. However, I’ve managed to stay vertical for the last couple of hours and so I’ve packaged up the latest fixes. Hopefully there are no bad regressions.
- Ignore bad data. Twitter occasionally sends ill formatted data. Tweetz will ignore the bad data instead of crashing
- Fix the purge old tweets routine to correctly delete the old tweets
- Fix url parsing to align more closely with how twitter parses urls (exclude trailing ? for instance)
- Fix misspelling of messages in “Unified” tool tip
Excellent bug hunting guys. Also, the suggestions are great. I’ve added them to the bottom of app.js so you can see which ones I’m aware of.
Available on the downloads page.
Hey, it’s almost done. All that’s left to do is to write a new Web page and documentation. That will take an evening or two. In the mean time, here are the release bits barring some major bug. I’m anxious to get started on 3.1 so it’s time to stick a fork in it.
What’s new:
- Direct messages sent were displaying the author instead of the recipient
- Hover indicator on tabs
- Parse hashtags, @names and urls more like twitter
- Purge old tweets
Parsing hashtags, @names and urls like twitter was way more work than I expected. It’s not at all obvious what the rules are for parsing these items. Fortunately, twitter recently published their text parsing code. It’s in Ruby which I only have a passing knowledge of. Translating to JavaScript was a chore I’m glad to have behind me. There’s also a test description in YAML. One of these days I’ll have to code up some tests to verify the code.
I’ve capped each timeline at 250 tweets (the unified timeline is the sum of all timelines). Tweetz 2.3.5 did something similar.
Available on the downloads page.
Thing are settling down a bit. This drop includes:
- User flyout dialog
- Fix selected tweet highlight (I hope)
- Move compose dialog back to bottom
- UI tweeks
Targeting “In reply to” flyout dialog and “traditional retweets” for the next drop.
Available on the downloads page.
previous | next
powered by Bloget™