zulip/static/js
Steve Howell f7c3765c77 Make "Copy from Stream" more transparent/flexible.
This change makes it so that when you are creating a stream
and use "Copy from Stream", the UI will immediately
check/uncheck the user checkboxes that correspond to the
stream's subscribers.

In concrete terms this allows Cordelia to create a new
stream call "Paris" that has all the "Verona" subscribers
except for Hamlet.

It also makes it so that when you go to create the stream,
the response is a little quicker, because we don't have to
iterate the streams.

Finally, it removes an odd quirk from the original design,
where if you clicked on Denmark but then collapsed the
streams, we wouldn't actually add the Denmark subscribers
to your new stream.

The current UI will still be slightly intuitive for people, as
I think checkmarks don't really make sense here.  What we
really want are Add/Remove links (or buttons) next to each
of the existing streams.
2017-01-26 10:24:15 -08:00
..
portico register: Improve styling for frontend errors 2017-01-24 13:39:43 -08:00
src lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
.eslintrc.json Change name of eslintrc file to .eslintrc.json 2016-11-29 08:58:39 -08:00
activity.js Use Dict[user_id] in people.filter_by_search_terms. 2017-01-26 10:24:15 -08:00
admin.js admin: Add No-change-made message. 2017-01-25 23:10:14 -08:00
alert_words.js refactor: Move is_current_user() to people.js. 2017-01-21 21:45:12 -08:00
alert_words_ui.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
avatar.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
blueslip.js Add missing exports to js modules 2016-12-29 06:01:33 -08:00
bot_data.js refactor: Move is_current_user() to people.js. 2017-01-21 21:45:12 -08:00
channel.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
click_handlers.js Unify subs modal closing with subs.close(). 2017-01-19 14:23:25 -08:00
colorspace.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
common.js auth: Make min password length and strength configurable. 2017-01-10 04:55:41 -08:00
components.js Add deep link to unsubscribed streams list. 2017-01-12 16:47:32 -08:00
compose.js Remove some some duplicate words in copy. 2017-01-23 23:15:04 -08:00
compose_fade.js refactor: Move is_current_user() to people.js. 2017-01-21 21:45:12 -08:00
composebox_typeahead.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
condense.js perf: Use offsetHeight rather than getBoundingClientRect() in condenser. 2017-01-04 12:42:16 -08:00
copy_and_paste.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
custom_markdown.js refactor: Use people.my_current_email() in custom_markdown.js. 2017-01-21 21:45:12 -08:00
debug.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
dict.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
echo.js bug fix: Fix recent regression with at-mentioning. 2017-01-23 16:42:43 -08:00
emoji.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
favicon.js Switch from deprecated $.browser to userAgent test. 2016-08-25 14:12:58 -07:00
feature_flags.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
fenced_code.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
filter.js refactor: Use people.my_current_email() in filter.js. 2017-01-21 21:45:12 -08:00
floating_recipient_bar.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
gear_menu.js redesign: Convert subscriptions page to overlay. 2016-12-09 11:08:08 -08:00
hashchange.js Make nicer slugs for "sender" narrows. 2017-01-19 14:54:50 -08:00
hotkey.js Unify subs modal closing with subs.close(). 2017-01-19 14:23:25 -08:00
invite.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
loading.js Remove the old spinner, replace with new one. 2017-01-06 10:37:54 -08:00
localstorage.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
message_edit.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
message_flags.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
message_list.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
message_list_view.js Move small_avatar_url() to people.js. 2017-01-21 21:45:12 -08:00
message_live_update.js bug fix: Fix already-rendered messages for avatar updates. 2017-01-21 21:45:12 -08:00
message_store.js refactor: Move is_current_user() to people.js. 2017-01-21 21:45:12 -08:00
muting.js Update unread counts for streams when muting topics. 2016-03-27 13:49:52 -07:00
muting_ui.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
narrow.js Make nicer slugs for "sender" narrows. 2017-01-19 14:54:50 -08:00
navigate.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
notifications.js Move small_avatar_url() to people.js. 2017-01-21 21:45:12 -08:00
people.js Use Dict[user_id] in people.filter_by_search_terms. 2017-01-26 10:24:15 -08:00
pm_list.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
pointer.js Remove unneeded data param in pointer.fast_forward_pointer(). 2017-01-21 21:45:12 -08:00
popovers.js emoji picker: Add emoji next at cursor instead of end of message. 2017-01-12 15:31:18 -08:00
reactions.js reactions: Fix JS error for not-yet-fetched messages. 2017-01-17 00:10:41 -08:00
referral.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
reload.js reload: Catch exceptions aborting pending AJAX requests. 2017-01-22 20:23:37 -08:00
resize.js Make more streams visible when window is narrow. 2017-01-12 16:53:45 -08:00
rows.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
scroll_bar.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
search.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
search_suggestion.js refactor: Use people.my_current_email() in search_suggestion.js. 2017-01-21 21:45:12 -08:00
server_events.js Extract user_events.js. 2017-01-21 21:45:12 -08:00
settings.js Fix bot edit cancel button updating name anyway. 2017-01-21 22:47:29 -08:00
setup.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
socket.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
stream_color.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
stream_data.js Fix flaw when subscribing using "Add" button. 2017-01-21 21:45:12 -08:00
stream_list.js Fix unread counts display when pinning/un-pinning. 2017-01-16 20:07:08 -08:00
subs.js Make "Copy from Stream" more transparent/flexible. 2017-01-26 10:24:15 -08:00
tab_bar.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
templates.js eslint: change no-plusplus from warning to 2 and fix violations. 2016-12-01 14:27:17 -08:00
timerender.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
topic_list.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
tutorial.js Direct new users to the "new members" stream. 2017-01-19 14:58:31 -08:00
typeahead_helper.js compose: Show description in autocomplete. 2017-01-04 22:48:34 -08:00
ui.js Fix JS error syncing starred out-of-view messages. 2017-01-22 20:39:05 -08:00
unread.js Add unread.num_unread_for_stream() function. 2017-01-16 20:07:01 -08:00
unread_ui.js eslint: change no-else-return to error and fix violations 2016-12-02 14:43:09 -08:00
user_events.js bug fix: Fix already-rendered messages for avatar updates. 2017-01-21 21:45:12 -08:00
util.js refactor: Move is_current_user() to people.js. 2017-01-21 21:45:12 -08:00
viewport.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
zulip.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00