andreasgal/gaia — pull request #1187 by timdream (2012-04-10 14:49:13+00:00)
Title: Use URL hash to move panels in SMS

Use URL hash to move between panels will help if we have decided to use url to specify which thread we want to read (from the notification, for example)

Alternatively the hash url can be saved by window manager during reboot (or kill & reopen), to save the "state" of app. Much like "When Firefox exits [show my windows and tabs from the last time]".

The code where a new message of a new thread is strange cause we want to update the view with pending message; the url hash only gets updated when the message is actually sent and in the db.