Tim Abbott
5e968ce30d
stream_list: Use data-topic-name for topic names.
...
The name data-name was ambigious.
2017-08-16 18:03:44 -07:00
Tim Abbott
d9dcdbbbe9
stream_popover: Use data-stream-id when building topic popovers.
2017-08-16 18:03:29 -07:00
Tim Abbott
dbae28683c
stream_popover: Use data-stream-id when building popover.
2017-08-16 18:03:29 -07:00
Tim Abbott
c6d7cfb60b
stream_popover: Fetch the current stream by data-stream-id.
2017-08-16 18:03:29 -07:00
Tim Abbott
4acd7595cd
stream_sidebar: Clean up use of ambiguously named data-id.
...
We prefer to specify the type of data objects wherever possible.
2017-08-16 18:02:29 -07:00
Tim Abbott
78d9fcd23a
streams: Remove a reference to data-stream-name.
2017-08-16 18:02:29 -07:00
Tim Abbott
842bf77efb
unread: Convert mark_topic_as_read to use stream IDs.
...
This is safer in its handling of potentially renamed streams.
2017-08-15 10:40:02 -07:00
Tim Abbott
f3a41ac796
unread: Convert mark_stream_as_read to use stream IDs.
...
The logic is simpler and more robust.
2017-08-15 10:40:02 -07:00
Joshua Pan
32837804d8
Extract stream_popover.topic_ops to muting_ui.js.
2017-03-25 09:42:49 -07:00
Steve Howell
faa9446e64
Add compose_actions.start() shim.
2017-03-18 15:52:50 -07:00
Steve Howell
a51caceea5
refactor: Extract unread_ops.js
...
This module mostly contains the mark_* functions that
update the server with info about unread counts.
2017-03-18 10:35:52 -07:00
Tim Abbott
5613358638
stream_popover: Fix hiding topic popover.
2017-03-08 23:25:30 -08:00
Brock Whittaker
1d2c3cec10
Fix: change mobile sidebar click target to call new popover function.
...
This changes the click target that opens the mobile sidebar to call the
new popover function in stream_popover rather than the old popovers
object.
2017-03-08 17:04:10 -08:00
Tim Abbott
3b59e6c3cc
subs: Rename /#subscriptions to /#streams.
...
Fixes #3653 .
2017-03-08 16:57:58 -08:00
Steve Howell
a17deb144a
Use data-stream-id in topics popover.
2017-03-05 15:44:44 -08:00
Steve Howell
8e2e406404
refactor: Extract stream_popover.js.
...
This module handles the popovers in the stream list--one for
stream actions and another for topic-specific actions.
The extraction was mostly straightforward, but I did move some
of the code related to the color picker to be more consistent
with how I organized the other click handlers.
2017-03-05 15:44:43 -08:00