zulip/frontend_tests/node_tests
Sampriti Panda 32e76c2c60 drafts: Move snapshot_message from compose to drafts
Previously drafts called compose.snapshot_message which would then
get the message object from compose.create_message_object. This method often
checked for the validity of stream/user recipients which would often cause tracebacks.

The new method in drafts.snapshot message just gets the data from the fields and
stores them in the draft model without any additional checking.
2017-03-30 10:20:37 -07:00
..
activity.js admin: Display last active time of users in admin users table. 2017-03-27 13:39:47 -07:00
alert_words.js refactor: Remove last uses of page_params.email in JS code. 2017-01-21 21:45:12 -08:00
bot_data.js bot_data.js: Replace remove() with deactivate(). 2017-02-26 23:56:51 -08:00
compose_fade.js Use stream_id in recipient comparisons. 2017-02-26 16:18:02 -08:00
compose.js drafts: Move snapshot_message from compose to drafts 2017-03-30 10:20:37 -07:00
composebox_typeahead.js refactor: Use user_id as key for pm_recipient_count. 2017-02-06 22:38:22 -08:00
dict.js eslint: change quote-props from off to error and fix violations. 2016-12-02 18:35:53 -08:00
dispatch.js Extract message_events.js. 2017-03-19 21:03:45 -07:00
drafts.js drafts: Move snapshot_message from compose to drafts 2017-03-30 10:20:37 -07:00
echo.js bugdown: Remove trailing whitespace on fence code blocks. 2017-03-22 14:17:34 -07:00
filter.js Remove references to page_params.domain. 2017-03-14 17:17:42 -07:00
hashchange.js js dependencies: Split hash_util.js from hashchange.js. 2017-03-18 20:40:34 -07:00
hotkey.js hotkey.js: Add hotkey for drafts. 2017-03-27 14:05:00 -07:00
i18n.js Remove references to page_params.domain. 2017-03-14 17:17:42 -07:00
message_edit.js deps: Move xdate from static/third to npm 2017-01-19 17:07:55 -08:00
message_list_view.js Move small_avatar_url() to people.js. 2017-01-21 21:45:12 -08:00
message_list.js eslint: Update node tests to use new comma-dangle rules. 2016-12-03 15:00:24 -08:00
message_store.js Extract message_fetch.js. 2017-03-19 21:03:45 -07:00
muting.js Remove references to page_params.domain. 2017-03-14 17:17:42 -07:00
narrow.js js dependencies: Split hash_util.js from hashchange.js. 2017-03-18 20:40:34 -07:00
password.js Add node tests for password checks. 2017-01-10 04:55:41 -08:00
people.js Add people.is_known_user_id(). 2017-03-26 11:39:06 -07:00
pm_list.js js dependencies: Split hash_util.js from hashchange.js. 2017-03-18 20:40:34 -07:00
reactions.js reactions: Only warn for unknown user ids. 2017-03-26 11:51:36 -07:00
search_suggestion.js search_suggestion: Suggest multiple people in pm-with searches. 2017-02-07 14:13:29 -08:00
server_events.js Extract message_events.js. 2017-03-19 21:03:45 -07:00
settings.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -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 stream_data: Linkify URL in stream description. 2017-03-20 22:25:03 -07:00
stream_list.js js dependencies: Split hash_util.js from hashchange.js. 2017-03-18 20:40:34 -07:00
subs.js refactor: Pass in a full sub to sub_or_unsub(). 2017-03-05 11:55:09 -08:00
templates.js Make user_popover use user_info_popover template. 2017-03-22 16:04:38 -07:00
topic_list.js js dependencies: Split hash_util.js from hashchange.js. 2017-03-18 20:40:34 -07:00
typeahead_helper.js Break typeahead_helper's dependency on compose.js. 2017-03-18 10:35:52 -07:00
typing_data.js Extract typing indicator inbound timing logic. 2017-03-22 08:20:21 -07:00
typing_status.js Revamp state tracking for outbound typing indicators. 2017-03-22 07:01:20 -07:00
unread.js Update PM unread counts more dynamically in the client. 2017-02-14 23:25:22 -08:00
user_events.js Add UI for changing the bot owners. 2017-02-26 21:39:22 -08:00
util.js Compare recipients using to_user_ids to fix live updates. 2017-02-26 16:18:02 -08:00