zulip/static/js
Steve Howell a96fdd18b1 Make Private Messages work better when zoomed in.
Some of the work here was done Tomasz Kolek.

When we click on "more conversations" in "Private Messages,"
we call it being "zoomed in."  Before this change, when
new PMs arrived, we would rebuild the list and zoom out
again.  Now we track the zoomed_in state with a variable.
Also, if you are zoomed in and switch from one PM narrow
to another, we also keep you zoomed in.

This fix also removes some extraneous/redundant code.

Fixes: #2561
2016-12-27 13:36:30 -08:00
..
src eslint: change no-plusplus from warning to 2 and fix violations. 2016-12-01 14:27:17 -08:00
.eslintrc.json Change name of eslintrc file to .eslintrc.json 2016-11-29 08:58:39 -08:00
activity.js Do not open compose box if user sidebar search is empty. 2016-12-13 11:04:08 -08:00
admin.js admin: Fix waiting period status UI not hiding. 2016-12-21 13:19:40 -08:00
alert_words.js lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
alert_words_ui.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
api.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
avatar.js settings: Implement delete avatar functionality 2016-12-21 13:35:22 -08:00
blueslip.js debug: Fix actual traceback being hidden in blueslip. 2016-08-09 11:59:49 -07:00
bot_data.js admin: Limit bots in settings page. 2016-12-14 19:29:02 -08:00
channel.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
click_handlers.js click_handlers.js: Handle clicks on stream links using data-stream-id. 2016-12-15 22:48:19 -08:00
colorspace.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
common.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
components.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
compose.js Improve @all warnings user interface significantly. 2016-12-21 11:40:47 -08:00
compose_fade.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
composebox_typeahead.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
condense.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -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 Migrated json/subscribtions/remove to REST endpoint 2016-12-24 09:27:25 -08:00
debug.js lint: Remove old jslint linter. 2016-12-02 18:49:42 -08:00
dict.js lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
echo.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
emoji.js eslint: change space-before-function-paren from warning to error. 2016-12-05 09:50:37 -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 eslint: change no-else-return to error and fix violations 2016-12-02 14:43:09 -08:00
filter.js eslint: change quote-props from off to error and fix violations. 2016-12-02 18:35:53 -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 Blur the active element on settings/streams modal exit. 2016-12-14 15:37:43 -08:00
hotkey.js redesign: Convert subscriptions page to overlay. 2016-12-09 11:08:08 -08:00
invite.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
loading.js Moved loading_indicator functions to loading.js. 2014-03-14 20:48:52 -04:00
localstorage.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
message_edit.js Removed json/update_message 2016-12-24 10:08:22 -08:00
message_flags.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
message_list.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
message_list_view.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
message_store.js Extract people.extract_people_from_message() and fix bug. 2016-12-15 17:44:58 -08:00
muting.js Update unread counts for streams when muting topics. 2016-03-27 13:49:52 -07:00
muting_ui.js lint: Fix remaining no-unused-vars eslint rule violations. 2016-12-14 22:36:47 -08:00
narrow.js lint: Fix remaining no-unused-vars eslint rule violations. 2016-12-14 22:36:47 -08:00
navigate.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
notifications.js notifications.js: Make in-browser notifications clickable 2016-12-24 10:17:24 -08:00
people.js Extract people.extract_people_from_message() and fix bug. 2016-12-15 17:44:58 -08:00
pm_list.js Make Private Messages work better when zoomed in. 2016-12-27 13:36:30 -08:00
pointer.js eslint: change no-else-return to error and fix violations 2016-12-02 14:43:09 -08:00
popovers.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
referral.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
reload.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
resize.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
rows.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
scroll_bar.js eslint: change quote-props from off to error and fix violations. 2016-12-02 18:35:53 -08:00
search.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
search_suggestion.js eslint: change no-plusplus from warning to 2 and fix violations. 2016-12-01 14:27:17 -08:00
server_events.js Change people.remove() to people.deactivate() and fix bug. 2016-12-15 17:44:58 -08:00
settings.js API: Migrate POST `/ui_settings/change` to PATCH `/settings/ui` 2016-12-24 11:02:02 -08:00
setup.js Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
signup.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
socket.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
stream_color.js eslint: change space-before-function-paren from warning to error. 2016-12-05 09:50:37 -08:00
stream_data.js redesign: Convert subscriptions page to overlay. 2016-12-09 11:08:08 -08:00
stream_list.js Make Private Messages work better when zoomed in. 2016-12-27 13:36:30 -08:00
subs.js subs: Refactor filtering logic from subs.filter_table into seperate function 2016-12-26 07:42:38 -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 Remove spurious blueslip error for topic lists. 2016-11-16 22:01:30 -08:00
tutorial.js js: Fix some minor whitespace issues. 2016-12-02 18:39:30 -08:00
typeahead_helper.js Prioritize stream subscribers in typeahead list. 2016-12-21 12:59:43 -08:00
ui.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
unread.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
unread_ui.js eslint: change no-else-return to error and fix violations 2016-12-02 14:43:09 -08:00
util.js Improve error handling in is_current_user(). 2016-12-14 19:27:43 -08:00
viewport.js eslint: change space-before-function-paren from warning to error. 2016-12-05 09:50:37 -08:00
zulip.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00