Zev Benjamin
43794983e7
Fix a bug where the stream list would not get resorted if you unsubscribed and then subscribed from a stream
...
(imported from commit 9bde14f49d05062478fb5f356c24b29bedcdf3fc)
2013-05-13 11:44:56 -04:00
Leo Franchi
1267ffe542
Show unread counts next to expanded subject names
...
(imported from commit 6de1145cdec8d7e68395c1f9a7a95cd59136d805)
2013-05-09 10:41:32 -04:00
Zev Benjamin
02dc15f426
Only re-render the streams list when the sort order has changed
...
(imported from commit 8122785097e2470e9e85f1f4c40bf1cd63264fa4)
2013-05-09 10:35:47 -04:00
Zev Benjamin
466beef6fe
Optimize sort_narrow_list
...
The optimizations are:
* Sort over the list of subscriptions instead of the DOM li elements.
This requires storing the li elements for each sub on the sub object.
* Do a bulk insert of the li elements instead of doing them one by one.
(imported from commit 1a987799930fc677e25f0bc2dcf66f83a4ac3163)
2013-05-09 10:35:47 -04:00
Zev Benjamin
ad6de0d401
Don't export several functions from stream_list.js unnecessarily
...
(imported from commit d8649259e07494fc70e5529e0cf627fdacc120a1)
2013-05-09 10:35:47 -04:00
Zev Benjamin
1f2529ba39
Do stream side-bar manipulation in event handlers
...
(imported from commit 27392dc6d05c6fa581c0370488e6baba0b11ce0f)
2013-05-09 10:35:46 -04:00
Zev Benjamin
7becd3e504
Move stream sidebar functions to their own module
...
(imported from commit 50771c1590eb3a0dbb151bf6a798bd14a4418857)
2013-05-09 10:35:46 -04:00