zulip/static/js
Steve Howell 374d2ff3e2 stream settings: Fix tooltips for stream counts.
The tooltips for the left panel of stream settings
have been broken since November 2018 due to my
commit 8f915da2ca.

The code prior to 2018 was restoring tooltips
right inside the loop where we were detaching
the row from the DOM to put it back into the
DOM at another place.  And then I tried to
just add them in bulk, forgetting that I was
in the middle of all the DOM manipulation (and
hence my selector for the loop was a noop).

Also, I don't think we've ever had them for live
events that add streams.  (I fixed that too.)

It's not clear to me that this code is actually
necessary, as we get hover help without
calling $(...).tooltip(...) properly.

This is probably why we didn't notice any
breakage when we merged my 2018 commit.
2021-02-18 13:38:16 -08:00
..
analytics js: Convert static/js/analytics/support.js to ES6 module. 2021-02-10 10:27:14 -08:00
billing js: Convert static/js/billing/upgrade.js to ES6 module. 2021-02-10 10:27:14 -08:00
bundles js: Convert static/js/spoilers.js to ES6 module. 2021-02-10 10:27:14 -08:00
portico js: Convert static/js/portico/signup.js to ES6 module. 2021-02-10 10:27:14 -08:00
stats js: Convert static/js/stats/stats.js to ES6 module. 2021-02-10 10:27:14 -08:00
types eslint: Remove and prohibit unused eslint-disable directives. 2020-12-10 18:08:45 -08:00
activity.js js: Convert static/js/user_status.js to ES6 module. 2021-02-10 10:27:14 -08:00
admin.js js: Convert Object.assign({…}, …) to spread syntax. 2020-12-21 15:37:36 -08:00
alert_words.js js: Convert static/js/alert_words.js to ES6 module. 2021-02-10 10:27:14 -08:00
alert_words_ui.js js: Convert static/js/alert_words.js to ES6 module. 2021-02-10 10:27:14 -08:00
archive.js js: Convert static/js/archive.js to ES6 module. 2021-02-10 10:27:14 -08:00
attachments_ui.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
avatar.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
blueslip.js blueslip: Pass through the return value in measure_time. 2021-02-04 09:11:04 -05:00
blueslip_stacktrace.ts eslint: Fix unicorn/error-message. 2020-12-22 16:14:28 -08:00
bot_data.js js: Purge people module from window. 2020-09-01 19:55:58 -07:00
buddy_data.js js: Convert static/js/user_status.js to ES6 module. 2021-02-10 10:27:14 -08:00
buddy_list.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
channel.js eslint: Fix unicorn/catch-error-name. 2020-10-07 16:00:33 -07:00
click_handlers.js click_handler: Fix bug in intro_reply hotspot. 2021-02-15 18:35:00 -08:00
color_data.js eslint: Fix unicorn/no-array-for-each. 2021-01-25 14:53:19 -08:00
colorspace.js js: Convert static/js/colorspace.js to ES6 module. 2021-02-10 10:27:14 -08:00
common.js eslint: Fix unicorn/better-regex. 2020-10-07 16:00:33 -07:00
components.js js: Convert static/js/components.js to ES6 module. 2021-02-10 10:27:14 -08:00
compose.js js: Convert static/js/zcommand.js to ES6 module. 2021-02-10 10:27:14 -08:00
compose_actions.js eslint: Fix new-cap errors. 2020-12-10 19:52:22 -08:00
compose_fade.js js: Purge people module from window. 2020-09-01 19:55:58 -07:00
compose_pm_pill.js compose_pm_pill: Don’t reference nonexistent input_pull members. 2020-09-25 15:12:33 -07:00
compose_state.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
compose_ui.js js: Convert static/js/user_status.js to ES6 module. 2021-02-10 10:27:14 -08:00
composebox_typeahead.js dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00
condense.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
confirm_dialog.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
copy_and_paste.js js: Convert static/js/copy_and_paste.js to ES6 module. 2021-02-10 10:27:14 -08:00
csrf.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
css_variables.js styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
debug.js eslint: Fix unicorn/no-array-for-each. 2021-01-25 14:53:19 -08:00
desktop_integration.js desktop_integration: Handle logout et al. events from desktop app. 2020-12-08 16:39:17 -08:00
drafts.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
dropdown_list_widget.js dropdown_list_widget: Add missing export. 2021-02-10 07:35:11 -08:00
echo.js js: Convert static/js/alert_words.js to ES6 module. 2021-02-10 10:27:14 -08:00
emoji_picker.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
emojisets.js eslint: Fix unicorn/prefer-add-event-listener. 2020-10-07 16:00:33 -07:00
favicon.js favicon: Invalidate favicon_state.image without a network request. 2020-10-28 23:06:26 -07:00
feature_flags.js js: Convert static/js/feature_flags.js to ES6 module with modzulator. 2021-02-10 10:27:14 -08:00
feedback_widget.js js: Convert static/js/feedback_widget.js to ES6 module. 2021-02-10 10:27:14 -08:00
fetch_status.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
filter.js eslint: Fix unicorn/no-array-callback-reference. 2021-01-25 14:53:19 -08:00
floating_recipient_bar.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
fold_dict.ts typescript: Enable strictNullChecks. 2020-07-28 11:01:35 -07:00
gear_menu.js hotspots: Fix typos in function name and code comment. 2021-02-15 18:33:21 -08:00
global.d.ts js: Convert static/js/billing/upgrade.js to ES6 module. 2021-02-10 10:27:14 -08:00
hash_util.js docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
hashchange.js js: Convert static/js/invite.js to ES6 module. 2021-02-10 10:27:14 -08:00
hbs.d.ts
hotkey.js js: Convert static/js/copy_and_paste.js to ES6 module. 2021-02-10 10:27:14 -08:00
hotspots.js hotspots: Generate properly escaped HTML. 2021-02-05 09:26:47 -08:00
huddle_data.js js: Convert static/js/huddle_data.js to ES6 module. 2021-02-11 07:35:28 -05:00
i18n.js docs: Add comment links to i18n documentation. 2020-09-18 11:44:04 -07:00
info_overlay.js js: Convert static/js/components.js to ES6 module. 2021-02-10 10:27:14 -08:00
input_pill.js eslint: Fix unicorn/no-array-for-each. 2021-01-25 14:53:19 -08:00
invite.js js: Convert static/js/invite.js to ES6 module. 2021-02-10 10:27:14 -08:00
keydown_util.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
lazy_set.js eslint: Fix unicorn/prefer-number-properties. 2020-10-07 16:00:33 -07:00
lightbox.js js: Convert static/js/lightbox_canvas.js to ES6 module. 2021-02-10 10:27:14 -08:00
lightbox_canvas.js js: Convert static/js/lightbox_canvas.js to ES6 module. 2021-02-10 10:27:14 -08:00
list_cursor.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
list_util.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
list_widget.js blueslip: Add measure_time wrapper. 2021-02-03 15:23:17 -08:00
loading.js loading: Generate properly escaped HTML. 2021-02-05 09:26:47 -08:00
local_message.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
localstorage.js eslint: Fix unicorn/no-array-for-each. 2021-01-25 14:53:19 -08:00
markdown.js dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00
markdown_config.js js: Convert static/js/markdown_config.js to ES6 module. 2021-02-10 10:27:14 -08:00
message_edit.js js: Convert static/js/echo.js to ES6 module. 2021-02-10 10:27:14 -08:00
message_edit_history.js js: Convert static/js/message_edit_history.js to ES6 module. 2021-02-10 10:27:14 -08:00
message_events.js js: Convert static/js/alert_words.js to ES6 module. 2021-02-10 10:27:14 -08:00
message_fetch.js refactor: Rename MessageList.muting_enabled. 2021-02-10 07:53:05 -05:00
message_flags.js starred_messages: Add support to unstar all messages in a topic. 2021-02-15 07:38:37 -05:00
message_list.js refactor: Rename MessageList.muting_enabled. 2021-02-10 07:53:05 -05:00
message_list_data.js refactor: Extract `excludes_muted_topics` logic. 2021-02-10 07:53:05 -05:00
message_list_view.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
message_live_update.js js: Purge people module from window. 2020-09-01 19:55:58 -07:00
message_scroll.js message_scroll: Rename actively_scrolling() to is_actively_scrolling(). 2020-09-25 15:12:24 -07:00
message_store.js js: Convert static/js/alert_words.js to ES6 module. 2021-02-10 10:27:14 -08:00
message_util.js eslint: Fix unicorn/no-array-callback-reference. 2021-01-25 14:53:19 -08:00
message_view_header.js refactor: Call peer_data.get_subscriber_count(). 2021-01-29 15:21:07 -08:00
message_viewport.js ui: Fix detection of narrow window. 2021-02-13 07:14:24 -08:00
muting.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
muting_ui.js js: Convert static/js/settings_muting.js to ES6 module. 2021-02-10 10:27:14 -08:00
narrow.js js: Convert static/js/search_pill.js to ES6 module. 2021-02-10 10:27:14 -08:00
narrow_state.js refactor: Rename MessageList.muting_enabled. 2021-02-10 07:53:05 -05:00
navigate.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
night_mode.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
notifications.js notifications: Fix composebox notification escaping 2021-02-17 14:04:30 -08:00
overlays.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
padded_widget.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
page_params.js eslint: Remove unused exemptions to no-unused-vars rule. 2020-12-10 19:57:53 -08:00
panels.js eslint: Fix unicorn/no-lonely-if. 2020-12-22 16:14:28 -08:00
peer_data.js minor: Remove peer_data.clear(). 2021-02-03 15:23:17 -08:00
people.js people: Modernize CommonJS reference in comment. 2021-02-10 09:45:10 -05:00
pill_typeahead.js js: Convert static/js/pill_typeahead.js to ES6 module. 2021-02-10 10:27:14 -08:00
pm_conversations.js js: Convert pm_conversations module to ES6. 2020-09-01 19:55:58 -07:00
pm_list.js blueslip: Add measure_time wrapper. 2021-02-03 15:23:17 -08:00
pm_list_dom.js eslint: Fix unicorn/no-array-callback-reference. 2021-01-25 14:53:19 -08:00
poll_widget.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
popovers.js js: Convert static/js/user_status_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
presence.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
reactions.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
ready.js js: Convert static/js/ready.js to ES6 module. 2021-02-10 10:27:14 -08:00
realm_icon.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
realm_logo.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
recent_senders.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
recent_topics.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
reload.js eslint: Fix unicorn/catch-error-name. 2020-10-07 16:00:33 -07:00
reload_state.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
reminder.js dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00
rendered_markdown.js js: Convert static/js/rendered_markdown.js to ES6 module. 2021-02-10 10:27:14 -08:00
resize.js eslint: Fix unicorn/prefer-number-properties. 2020-10-07 16:00:33 -07:00
rows.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
rtl.js eslint: Fix unicorn/no-lonely-if. 2020-12-22 16:14:28 -08:00
schema.js js: Convert static/js/schema.js to ES6 module. 2021-02-10 10:27:14 -08:00
scroll_bar.js scroll_bar: Flip max-width queries for min-width. 2021-02-05 09:23:59 -08:00
scroll_util.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
search.js js: Convert static/js/search_pill.js to ES6 module. 2021-02-10 10:27:14 -08:00
search_pill.js js: Convert static/js/search_pill.js to ES6 module. 2021-02-10 10:27:14 -08:00
search_pill_widget.js js: Convert static/js/search_pill.js to ES6 module. 2021-02-10 10:27:14 -08:00
search_suggestion.js eslint: Fix unicorn/no-lonely-if. 2020-12-22 16:14:28 -08:00
search_util.js js: Convert static/js/search_util.js to ES6 module. 2021-02-10 10:27:14 -08:00
sent_messages.js sent_messages: Pass correct reference of this in setTimeout. 2021-01-27 09:52:42 -08:00
server_events.js js: Convert static/js/server_events_dispatch.js to ES6 module. 2021-02-10 10:27:14 -08:00
server_events_dispatch.js js: Convert static/js/user_status.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings.js dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00
settings_account.js js: Convert static/js/settings_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_bots.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
settings_config.js js: Convert static/js/settings_config.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_data.js js: Convert static/js/settings_data.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_display.js js: Convert static/js/settings_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_emoji.js ui_report: Migrate ui_report.message to ui_report.client_error. 2021-01-30 07:48:44 -08:00
settings_exports.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
settings_invites.js ui_report: Migrate ui_report.message to ui_report.client_error. 2021-01-30 07:48:44 -08:00
settings_linkifiers.js Rename list_render -> ListWidget. 2021-01-29 09:36:35 -08:00
settings_muting.js js: Convert static/js/settings_muting.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_notifications.js js: Convert static/js/settings_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_org.js js: Convert static/js/settings_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_panel_menu.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
settings_profile_fields.js js: Convert static/js/settings_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_sections.js js: Convert static/js/settings_muting.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_streams.js Rename list_render -> ListWidget. 2021-01-29 09:36:35 -08:00
settings_toggle.js js: Convert static/js/components.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_ui.js js: Convert static/js/settings_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_user_groups.js js: Convert static/js/pill_typeahead.js to ES6 module. 2021-02-10 10:27:14 -08:00
settings_users.js js: Convert static/js/settings_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
setup.js js: Convert static/js/setup.js to ES6 module. 2021-02-10 10:27:14 -08:00
spoilers.js js: Convert static/js/spoilers.js to ES6 module. 2021-02-10 10:27:14 -08:00
starred_messages.js starred_messages: Add support to unstar all messages in a topic. 2021-02-15 07:38:37 -05:00
stream_color.js js: Convert static/js/colorspace.js to ES6 module. 2021-02-10 10:27:14 -08:00
stream_create.js js: Convert static/js/stream_create.js to ES6 module. 2021-02-10 10:27:14 -08:00
stream_data.js slugs: Fix regex for legacy stream slugs. 2021-02-10 14:37:34 -08:00
stream_edit.js stream_edit: Extract generic pill functions to be reused in future. 2021-02-16 16:58:29 -08:00
stream_events.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
stream_list.js js: Convert static/js/topic_zoom.js to ES6 module. 2021-02-10 10:27:14 -08:00
stream_muting.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
stream_pill.js js: Convert static/js/stream_pill.js to ES6 module. 2021-02-10 10:27:14 -08:00
stream_popover.js starred_messages: Add support to unstar all messages in a topic. 2021-02-15 07:38:37 -05:00
stream_sort.js js: Convert static/js/stream_sort.js to ES6 module. 2021-02-10 10:27:14 -08:00
stream_topic_history.js eslint: Fix unicorn/no-lonely-if. 2020-12-22 16:14:28 -08:00
stream_ui_updates.js js: Convert static/js/stream_ui_updates.js to ES6 module. 2021-02-10 10:27:14 -08:00
submessage.js eslint: Fix unicorn/catch-error-name. 2020-10-07 16:00:33 -07:00
subs.js stream settings: Fix tooltips for stream counts. 2021-02-18 13:38:16 -08:00
templates.js js: Convert static/js/templates.js to ES6 module. 2021-02-10 10:27:14 -08:00
timerender.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
todo_widget.js js: Convert static/js/todo_widget.js to ES6 module. 2021-02-10 10:27:14 -08:00
top_left_corner.js js: Purge people module from window. 2020-09-01 19:55:58 -07:00
topic_generator.js js: Convert static/js/topic_generator.js to ES6 module. 2021-02-10 10:27:14 -08:00
topic_list.js eslint: Fix unicorn/no-array-callback-reference. 2021-01-25 14:53:19 -08:00
topic_list_data.js js: Convert static/js/topic_list_data.js to ES6 module. 2021-02-10 10:27:14 -08:00
topic_zoom.js js: Convert static/js/topic_zoom.js to ES6 module. 2021-02-10 10:27:14 -08:00
transmit.js js: Purge people module from window. 2020-09-01 19:55:58 -07:00
tutorial.js js: Convert static/js/tutorial.js to ES6 module. 2021-02-10 10:27:14 -08:00
typeahead_helper.js typeahead: Use stream_weekly_traffic for tiebreaker. 2021-01-29 15:21:07 -08:00
typing.js js: Convert static/js/typing.js to ES6 module. 2021-02-10 10:27:14 -08:00
typing_data.js js: Convert static/js/typing_data.js to ES6 module. 2021-02-10 10:27:14 -08:00
typing_events.js js: Convert static/js/typing_data.js to ES6 module. 2021-02-10 10:27:14 -08:00
ui.js Tooltip: edited tooltip string to add consistency in static/js/ui.js. 2021-02-09 10:44:21 -05:00
ui_init.js js: Convert static/js/spoilers.js to ES6 module. 2021-02-10 10:27:14 -08:00
ui_report.js ui_report: Add ui_report.client_error. 2021-01-30 07:48:44 -08:00
ui_util.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
unread.js js: Use destructuring for require statements. 2020-09-23 09:06:07 -04:00
unread_ops.js notifications: Rename window_has_focus variable and function. 2020-09-25 15:12:24 -07:00
unread_ui.js dependencies: Remove XDate. 2021-02-07 06:41:33 -05:00
upload.js js: Escape strings interpolated into CSS selectors with CSS.escape. 2021-02-04 11:00:06 -08:00
upload_widget.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
user_events.js js: Purge people module from window. 2020-09-01 19:55:58 -07:00
user_groups.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
user_pill.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
user_search.js js: Convert static/js/user_search.js to ES6 module. 2021-02-10 10:27:14 -08:00
user_status.js js: Convert static/js/user_status.js to ES6 module. 2021-02-10 10:27:14 -08:00
user_status_ui.js js: Convert static/js/user_status_ui.js to ES6 module. 2021-02-10 10:27:14 -08:00
util.js js: Convert static/js/util.js to ES6 module. 2021-02-10 10:27:14 -08:00
vdom.js eslint: Replace empty-returns with consistent-return. 2020-09-25 15:17:59 -07:00
widgetize.js js: Convert static/js/zform.js to ES6 module. 2021-02-10 10:27:14 -08:00
zcommand.js js: Convert static/js/zcommand.js to ES6 module. 2021-02-10 10:27:14 -08:00
zform.js js: Convert static/js/zform.js to ES6 module. 2021-02-10 10:27:14 -08:00
zulip.js refactor: Rename MessageList.muting_enabled. 2021-02-10 07:53:05 -05:00