Showing posts with label weekly. Show all posts
Showing posts with label weekly. Show all posts

Wednesday, August 21, 2013

Weekly report: August 21st 2013

During the last 7 days, I didn't quite get around to everything I wanted to do (which wasn't helped by 4 of the days being holidays) but there was progress.
  • Bug 2066 (chat rooms and IRC's LIST) is finally r+.
  • I experimented more with frecency scores ("frecency" is inspired by Firefox's Places Frecency algorithm)
  • After a bit of experimenting, I finally decided to stop messing around and get some actual data to play with from logs.
  • Using Florian's WIP from bug 1584, I put together an addon that goes through logs and obtains information on recency (date of most recent log file) and frequency (number of messages exchanged, with separate counters for incoming and outgoing)
  • Playing with the algorithm for a while, I finally ended up with the following:
    • Score = Total message count * frequency multiplier * recency multiplier
    • Here, frequency multiplier is the ratio of outgoing to incoming message counts, and recency multiplier is identical to what Firefox uses.
    • This gave me pretty accurate results, the conversations with the highest scores were definitely what I would most likely want to open if I pressed Command+T :)
Tomorrow I will be working to integrate this into the stats service and use these scores to sort conversations in the newtab.

PS.
I again notice that my work over a week seems to be concentrated over one or two days, during which I spend 10-15 hours each day on a kind of frenzy. Meh.

Thursday, August 8, 2013

Weekly report: August 7th 2013

  • More modifications to the chat room list patch (bug 2066) - unfortunately this still isn't ready to land yet.
  • Brainstormed the ranking system and storage of conversation data.
  • Read documentation on IndexedDB and wrote code to store/retrieve contacts in an IndexedDB object store (mostly experimenting with the API and understanding the approach).

Tuesday, July 16, 2013

Weekly report: July 16th, 2013

The past week:
  • The buddy list tab is merged
  • Quite a few changes were done in order to address more review comments Florian before the merge.
  • Lots of followup bugs have been filed (bugs 2041, 2043-9). I have WIPs for most of them, and patches submitted for a few.
  • Did research on the account interfaces for adding methods to return MUC lists (and a bit of experimental code - I was able to open IRC channels from awesometab)
To-do next week:
  • Display conversations on hold in awesometab.
  • Add the new function(s) in the account interface to get MUC lists.
  • Implement this in particular for IRC LIST.
  • Display IRC channels in awesometab.
  • Also while doing this, address followup bugs to bug 2015 (including the ones mentioned above)

Wednesday, July 10, 2013

Pseudo-weekly Report: July 10th 2013

I call this "pseudo-weekly" because it's been a week since my last report :(. I was afk for a few days at the end of last week (literally didn't open my laptop :( ) so progress has been a bit slow.
  • More review iterations on the buddy list in a tab bug (but 2015)
  • Created a new interface ("ibIPossibleConversation") that will encapsulate both contacts as well as non-contacts like MUCs and people on IRC who haven't been added to the buddy list.
  • The stats service and newtab binding now work with PossibleConversations instead of imIContacts.

Monday, June 24, 2013

Weekly report: June 23rd 2013

This week the tabbrowser patch saw a lot of tweaking (four review iterations iirc) and is now almost checkin-ready. I also worked on bug 2002 - adding a command to display about: pages in a new tab. This was a good demonstration of the new tabbrowser features and might help iron out any remaining bugs once it lands in the nightlies and users try it out.

I also worked on the awesometab buddy list. There were discussions about the UX on IRC and I experimented with a few UX ideas (async loading of contacts, alternating background for list elements, displaying only a few contacts at a time and loading more while scrolling, etc). Many of the to-dos have now been crossed out (see previous post). Next week I hope to report much more progress on the UX and possibly some initial details of the filtering/ranking system that is a major part of my project.

A few things that I want to mention:
  • Mic created a cool icon for Awesometab. Thanks!
  • I learned more about the working about XBL. I had a few frustrating moments because I did not realize that bindings were applied only after adding the element to the DOM (because they are applied from CSS) until Mook kindly pointed this out on IRC (thanks for saving me a lot of time when nobody else was around!). This same issue forced me to be extra careful while dealing with addition/removal of contacts from the Awesometab buddy list.
  • I still haven't received my GSoC welcome package and hope it comes soon :(

Saturday, June 15, 2013

Weekly report: June 15th 2013

It appears I can't remember to post daily logs. Instead, I've decided to post whenever something stumps me, or I discover something interesting, or in general when I want to log something I run into.
Now that that's out of the way, here's what I've done this week:
  • The tabbrowser changes are now pretty much complete and are awaiting review! There are still some nits and other things I need to address, but it should be pretty minor stuff.
  • Tabbrowser being tamed, I set out to start work on Awesometab. The goal is to have a buddy-list type UI as an initial milestone. So far, here's what I've managed:
    • Awesometab can be launched via keyboard shortcut (Ctrl+t), context menu, and the new tab "+" button.
    • It displays a list of buddies - nothing fancy, just a list of names - and a search bar.
    • On typing into the search bar, buddies are filtered based on whether their display name starts with what has been typed (not case sensitive).
    • When the "Enter" key is pressed, conversations are started with all the buddies selected in the list, and if no buddy is selected, the first one in the list.
  • I'm pretty happy with my progress so far, but a lot remains to be done! Here's a to-do of what I want to finish in the coming days:
    • Opening an Awesometab in a new window needs to maintain the current value in the search box and currently visible buddies.
    • Adding buddies to the list should be async.
    • Show conversations on hold in the list.
    • Make things pretty. The buddies should be displayed with their profile pictures, status messages, availability, etc.
    • Sorting - based first on availability, then alphabetically. Protocol must also be taken into account. Right now the list is completely unsorted.
    • A bit of polish - double clicking a buddy in the list should open a conversation, a context menu, etc. - basically adding in more buddy list functions.
With that I sign off! Have a great weekend!

Sunday, June 9, 2013

Weekly report: June 8th 2013

Most of the tabbrowser cleanup is now done! Here is a commit merging these changes into the awesometab branch in my repo. I've been working on these changes the past two to three days - though I had some personal things to take care of which took some of my time.

To summarize the tabbrowser work so far:
  • Tabbrowser-tabs are now fully transparent to the nature of their linked panels. The tab panel a tab is associated with is now stored in its linkedTabPanel property, though the linkedConversation property is still set (identical to linkedTabPanel) - it can be used to check if a tab holds a conversation, and conversation specific code is more easily understood.
  • Tabbrowser now accepts non-conversation tabs and displays them without errors.
  • All basic functions like moving tabs around, detaching and reattaching, opening in a new window, etc. work for these tabs.
  • Tab specific context menu items are handled by getting a NodeList containing menuitems from the tab panel.
  • Cleanup has been done to make tabbrowser as transparent to tab content as possible.
  • Fields like mCurrentConversation, mCurrentBrowser, etc are replaced by properties which return them from mCurrentTab. This saves setting them in different places - now only mCurrentTab needs to be set.
  • Some changes have been made in other files to make them aware that not every tab holds a conversation (keyboard shortcut commands for e.g.).
What's left:
  • Tooltips need to be taken care of. I've looked into this and it doesn't seem to be too tricky. I currently plan to do something similar to the menuitems, where the tab panel returns its tooltip data.
  • It needs to be decided whether the tabPanel binding - which now functions as an abstract class - should be kept or not. Though it doesn't do much, it can be good documentation for developers who want to add non-conversation tabs.
  • As an alternative to having pre-defined methods that are expected to exist in all tab panels, DOM events could be fired and tab panels could respond to them as they wish (as suggested by flo).
  • After this, the changes need to be reviewed and checked-in to fix bug 426.
  • This isn't exactly a pending task, but it was proposed in IRC that awesometab's algorithm could learn from logs so that users could benefit right away.