zulip/static/js
Steve Howell eb2bf77212 search suggestions: Find older topics.
We no longer limit our list of candidate topics
to 300.

We continue to limit the topic results to 10, since
we don't want to overwhelm users or crowd out
non-topic-related suggestions.

We try to handle this is an efficient manner.
2022-01-27 10:19:07 -08:00
..
analytics
billing billing: Migrate to Stripe hosted checkout page. 2021-11-05 17:23:10 -07:00
bundles styles: Rename night_mode.css to dark_theme.css. 2021-11-18 16:55:35 -08:00
portico js: Simplify indexing arrays from the end with Array#at. 2022-01-24 09:58:54 -08:00
stats js: Simplify indexing arrays from the end with Array#at. 2022-01-24 09:58:54 -08:00
types/stacktrace-gps
about_zulip.js about_zulip: Migrate to handlebars. 2021-06-15 11:55:20 -07:00
activity.js web_public_view: Replace `web_public_visitor` with `spectator`. 2021-06-16 07:46:34 -07:00
admin.js settings: Remove unused show_email parameter. 2021-12-07 21:42:23 -08:00
alert_popup.ts js: Make alert_popup shared. 2021-04-26 09:27:49 -07:00
alert_words.js alert_words: Revert back `before_punctuation` regex to stable one. 2021-05-06 20:36:52 -07:00
alert_words_ui.js alert_words_ui: Use e.key instead of deprecated e.which. 2021-06-02 14:04:53 -07:00
all_messages_data.js
attachments_ui.js templates: Move uploaded_files_list to settings/. 2021-06-02 20:36:21 -07:00
avatar.js dialog_widget: Remove the `fade` parameter. 2021-10-26 18:20:17 -07:00
blueslip.ts lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
blueslip_stacktrace.ts dependencies: Upgrade JavaScript dependencies. 2021-05-10 18:07:13 -07:00
bot_data.js
browser_history.js hashchange: Extract function to update spectator_old_hash. 2021-11-23 15:50:06 -08:00
buddy_data.js user_status: Add architecture to support status emoji feature. 2021-07-28 09:50:11 -07:00
buddy_list.js
channel.js channel: Simplify password change tracking. 2021-10-05 10:23:43 -07:00
click_handlers.js click_handler: Use a variable for target's jquery instance. 2022-01-05 16:15:40 -08:00
color_class.ts ts: Convert color_class module to TypeScript. 2021-06-22 09:14:09 -07:00
color_data.ts ts: Convert color_data module to TypeScript. 2021-06-22 09:14:09 -07:00
colorspace.ts ts: Convert colorspace to typescript. 2021-05-21 16:53:30 -07:00
common.ts ts: Convert common module to TypeScript. 2021-06-22 09:09:36 -07:00
components.ts ts: Convert components module to TypeScript. 2021-07-05 17:04:06 -07:00
compose.js stream edit: Extract stream_subscribers_ui.js. 2021-12-30 11:36:52 -08:00
compose_actions.js reload: Manually save draft and preserve id when triggering reload. 2021-12-01 12:03:20 -08:00
compose_closed_ui.js compose: Add trigger for new private message. 2021-07-05 11:56:46 -07:00
compose_error.ts compose: Use loading spinner as loading indicator. 2021-12-02 15:11:15 -08:00
compose_fade.js
compose_fade_helper.js refactor: Use sub_store for get/validation. 2021-04-15 17:26:17 -07:00
compose_fade_users.js
compose_pm_pill.js
compose_state.js compose: Extend empty compose navigation logic to recipient boxes. 2022-01-21 16:40:13 -08:00
compose_ui.js compose: Check if compose control btn popover has the clicked element. 2021-12-04 06:52:18 -08:00
compose_validate.js compose: Use loading spinner as loading indicator. 2021-12-02 15:11:15 -08:00
composebox_typeahead.js compose: Add format hinting for polls. 2022-01-25 18:12:42 -08:00
condense.js condense: Do not cache message_content height of 0 from recent_topics. 2022-01-02 12:12:36 -08:00
confirm_dialog.js dialog_widget: Migrate modal to Micromodal. 2021-10-26 18:20:17 -07:00
copy_and_paste.js misc: Replace "day mode" with "light theme" in comments. 2021-11-26 22:03:29 -08:00
csrf.ts ts: Convert csrf module to TypeScript. 2021-07-05 17:04:06 -07:00
css_variables.js
dark_theme.ts frontend: Rename "night-mode" class to "dark-theme". 2021-11-26 22:03:29 -08:00
debug.js
deprecated_feature_notice.js deprecated_feature_notice: Migrate modal to dialog_widget. 2021-10-29 16:09:39 -07:00
desktop_integration.js
dialog_widget.js modal: Hide, instead of empty, the dialog error element. 2021-12-02 14:02:27 -08:00
drafts.js eslint: Fix unicorn/prefer-dom-node-dataset. 2022-01-24 15:55:38 -08:00
dropdown_list_widget.js MDLW: Render tippy tooltip once the selected items surpasses the limit. 2021-07-29 10:09:03 -07:00
echo.js drafts: Fix buggy "Saved as draft" notice flashing on send. 2021-10-08 09:28:05 -07:00
emoji_picker.js js: Simplify indexing arrays from the end with Array#at. 2022-01-24 09:58:54 -08:00
emojisets.js docs: Add missing space in “emoji set”. 2021-09-08 15:31:28 -07:00
favicon.js lint: Fix JS style in last commit. 2021-11-01 11:07:01 -07:00
feature_flags.ts ts: Convert feature_flags to typescript. 2021-05-21 16:53:27 -07:00
feedback_widget.js
fetch_status.js
filter.js filter: Show typeahead suggestions if search query has search filters. 2021-11-29 16:20:29 -08:00
floating_recipient_bar.js js: Simplify indexing arrays from the end with Array#at. 2022-01-24 09:58:54 -08:00
fold_dict.ts fold_dict: Fix @typescript-eslint/member-ordering. 2021-10-17 07:15:09 -07:00
gear_menu.js gear_menu: Fix template variables passed from page_params. 2021-08-07 06:19:43 -07:00
giphy.js compose: Extract method to get compose click target. 2021-12-03 14:29:26 -08:00
global.d.ts ts: Convert ui_util module to TypeScript. 2021-07-05 17:04:06 -07:00
hash_util.js hash_util: Add is_editing_stream helper. 2021-12-30 11:36:52 -08:00
hashchange.js hashchange: Update spectator hash when hash changed internally. 2021-11-23 15:50:06 -08:00
hbs.d.ts
hotkey.js hotkey: Disable message interaction for spectators with keyboard. 2021-12-02 09:44:00 -08:00
hotspots.js hotspots: Remove intro_reply hotspot. 2021-12-07 21:55:59 -08:00
huddle_data.js
i18n.ts i18n: Fix @typescript-eslint/unbound-method. 2021-09-22 18:06:06 -07:00
info_overlay.js user_settings: Add option to disable escape key navigation to default view. 2021-10-29 18:15:30 -07:00
input_pill.js compose: Fix compose fade not updating on deleting user pill. 2021-08-06 14:22:55 -07:00
invite.js settings: Add UI setting option for controlling invite expiration time. 2021-11-22 16:40:14 -08:00
keydown_util.ts ts: Convert keydown_util to TypeScript. 2021-05-27 23:33:21 -07:00
lazy_set.ts ts: Convert lazy_set module to typescript. 2022-01-18 13:24:02 -08:00
lightbox.js lightbox_overlay: Migrate to handlebars. 2021-06-14 13:41:36 -07:00
lightbox_canvas.js eslint: Fix unicorn/prefer-dom-node-dataset. 2022-01-24 15:55:38 -08:00
linkifiers.js refactor: Extract linkifier non-settings logic from `markdown.js`. 2021-05-19 11:59:28 -07:00
list_cursor.js
list_util.ts ts: Convert list_util module to TypeScript. 2021-06-22 09:14:09 -07:00
list_widget.js dropdown_list_widget: Add support for Multiselect dropdown list widget (MDLW). 2021-07-29 10:09:03 -07:00
loading.ts js: Fix @typescript-eslint/restrict-template-expressions. 2021-09-22 18:06:06 -07:00
local_message.js
localstorage.js
markdown.js Revert "time_widget: Make the generated time string more readable." 2021-08-03 16:45:31 -07:00
markdown_config.js frontend: Add new user_settings module for user's settings. 2021-08-01 15:30:17 -07:00
message_edit.js message edit: Move with_first_message_id to message edit.js. 2022-01-05 17:55:00 -08:00
message_edit_history.js message_edit_history: Migrate modal to dialog_widget. 2021-11-08 17:24:31 -08:00
message_events.js js: Shorten Object.prototype.hasOwnProperty.call to Object.hasOwn. 2022-01-24 09:57:09 -08:00
message_fetch.js js: Simplify indexing arrays from the end with Array#at. 2022-01-24 09:58:54 -08:00
message_flags.js starred messages: Fix "unstar all in topic" is incomplete. 2021-04-29 16:43:39 -07:00
message_helper.js
message_list.js stream_data: Rename is_subscribed to is_subscribed_by_name. 2021-11-22 15:44:30 -08:00
message_list_data.js js: Avoid _.first, _.last, _.initial, _.tail. 2022-01-24 15:54:21 -08:00
message_list_view.js js: Avoid _.first, _.last, _.initial, _.tail. 2022-01-24 15:54:21 -08:00
message_lists.js
message_live_update.js
message_parser.ts ts: Convert message_parser module to TypeScript. 2021-07-09 12:42:31 -07:00
message_scroll.js hash_util: Remove dependency on narrow_state module. 2021-11-29 13:30:18 -08:00
message_store.js refactor: Extract people.get_display_full_names. 2021-05-10 12:36:39 -07:00
message_user_ids.ts ts: Convert message_user_ids to typescript. 2021-05-21 16:53:30 -07:00
message_util.js
message_view_header.js message_view_header: Fix hover effect related to links in description. 2021-10-07 10:29:08 -07:00
message_viewport.js js: Simplify more code using default parameters and destructuring. 2021-06-25 16:34:04 -07:00
muted_topics.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
muted_topics_ui.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07:00
muted_users.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
muted_users_ui.js dialog_widget: Append dialog_widget to the body element. 2021-10-26 18:20:17 -07:00
narrow.js narrow: Check if narrow is spectator compatible before activation. 2021-12-02 09:44:00 -08:00
narrow_banner.js narrow_banner: Move empty narrow messages to handlebar templates. 2021-12-07 13:38:48 -08:00
narrow_error.js narrow_banner: Move empty narrow messages to handlebar templates. 2021-12-07 13:38:48 -08:00
narrow_state.js
navbar_alerts.js navbar_alerts: Add alerts for demo org deadlines. 2021-09-10 16:31:54 -07:00
navigate.js
notifications.js js: Convert _.isFunction to typeof. 2022-01-24 15:54:21 -08:00
overlays.js modal: Add support for modal event handlers. 2021-11-22 15:00:38 -08:00
padded_widget.ts ts: Convert padded_widget module to TypeScript. 2021-07-05 17:04:06 -07:00
page_params.ts settings: Add user_can_create_web_public_streams function. 2021-11-23 10:48:20 -08:00
password_quality.ts js: Fix @typescript-eslint/restrict-plus-operands. 2021-09-22 18:06:06 -07:00
peer_data.js refactor: Use sub_store for get/validation. 2021-04-15 17:26:17 -07:00
people.js js: Convert _.without to filter or other logic. 2022-01-24 15:54:21 -08:00
pill_typeahead.js eslint: Fix unicorn/prefer-code-point. 2021-12-03 14:33:53 -08:00
pm_conversations.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
pm_list.js refactor: Cleanup the existence of fraction_present. 2021-04-30 16:02:31 -07:00
pm_list_dom.js
poll_widget.js poll: Handle duplicate poll options. 2021-11-10 09:07:03 -08:00
popover_menus.js compose: Change UI which toggles `enter_sends` setting. 2022-01-05 16:03:53 -08:00
popovers.js eslint: Fix unicorn/prefer-dom-node-dataset. 2022-01-24 15:55:38 -08:00
presence.js user_sidebar: Set personal presence dot based on the user's settings. (#20376) 2021-12-03 16:20:20 -08:00
reactions.js js: Avoid _.first, _.last, _.initial, _.tail. 2022-01-24 15:54:21 -08:00
ready.ts ts: Convert ready module to TypeScript. 2021-06-22 09:14:09 -07:00
realm_icon.js register api: Rename max_icon_file_size. 2021-05-26 11:38:24 -07:00
realm_logo.js misc: Replace "night" and "day" with "dark" and "light". 2021-11-26 22:03:29 -08:00
realm_playground.js realm_playground: Stop using Map incorrectly. 2021-05-09 22:01:00 -07:00
realm_user_settings_defaults.ts user_settings: Add option to disable escape key navigation to default view. 2021-10-29 18:15:30 -07:00
recent_senders.js refactor: Simplify recent_senders code. 2021-04-14 16:28:07 -07:00
recent_topics_data.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
recent_topics_ui.js recent_topics: Extend persistent focus bug to all RT elements. 2021-12-03 14:39:48 -08:00
recent_topics_util.js recent_topics: Don't rely on ":visible" to avoid forced reflow. 2021-11-08 18:30:44 -08:00
reload.js reload: Manually save draft and preserve id when triggering reload. 2021-12-01 12:03:20 -08:00
reload_state.ts ts: Convert reload_state to typescript. 2021-05-21 16:53:30 -07:00
reminder.js reminder: Simplify logic and improve error text. 2022-01-05 16:15:40 -08:00
rendered_markdown.js user_groups: Remove suppress_errors support for get_user_group_from_id. 2021-09-15 16:52:35 -07:00
resize.js resize: Hide popover on width change on mobile devices. 2021-12-06 10:36:20 -08:00
rows.js compose: Use `class` to find `markdown_preview` related elements. 2021-04-27 10:06:25 -07:00
rtl.js eslint: Fix unicorn/prefer-code-point. 2021-12-03 14:33:53 -08:00
schema.js
scroll_bar.js frontend: Add new user_settings module for user's settings. 2021-08-01 15:30:17 -07:00
scroll_util.js
search.js search: Use e.key instead of deprecated e.which. 2021-06-02 14:04:53 -07:00
search_pill.js
search_pill_widget.js
search_suggestion.js search suggestions: Find older topics. 2022-01-27 10:19:07 -08:00
search_util.ts ts: Convert search_utils to typescript. 2021-05-21 16:53:30 -07:00
sent_messages.js dependencies: Upgrade JavaScript dependencies. 2021-06-08 10:15:52 -07:00
server_events.js web_public_view: Replace `web_public_visitor` with `spectator`. 2021-06-16 07:46:34 -07:00
server_events_dispatch.js js: Shorten Object.prototype.hasOwnProperty.call to Object.hasOwn. 2022-01-24 09:57:09 -08:00
settings.js change_password: Migrate modal to dialog_widget. 2021-11-23 15:41:54 -08:00
settings_account.js change_email: Migrate modal to dialog_widget. 2022-01-21 16:12:34 -08:00
settings_bots.js modal: Add support for linking the submit button to a form element. 2021-11-22 15:00:38 -08:00
settings_config.ts settings: Change "N minutes" options to Custom. 2021-12-09 11:52:27 -08:00
settings_data.ts settings_data: Remove redundant check from user_can_edit_topic_of_any_message. 2021-11-24 10:37:51 -08:00
settings_display.js default_language: Migrate modal to dialog_widget. 2021-11-16 17:02:29 -08:00
settings_emoji.js dialog_widget: Remove the `fade` parameter. 2021-10-26 18:20:17 -07:00
settings_exports.js template: Move `admin_export_list` template to `settings` folder. 2021-04-26 09:37:08 -07:00
settings_invites.js dialog_widget: Remove the `fade` parameter. 2021-10-26 18:20:17 -07:00
settings_linkifiers.js dialog_widget: Remove the `fade` parameter. 2021-10-26 18:20:17 -07:00
settings_muted_topics.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07:00
settings_muted_users.js js: Split out muted_users_ui from muting_ui module. 2021-07-09 10:00:45 -07:00
settings_notifications.js settings: Fix behavior of realm-level notification batching settings UI. 2021-12-03 16:03:02 -08:00
settings_org.js settings: Fix code for special case of theme settings subsection. 2021-12-29 16:32:12 -08:00
settings_panel_menu.js keydown_util: Use Event.key instead of deprecated properties. 2021-05-27 23:33:17 -07:00
settings_playgrounds.js playgrounds: Rename `name` field to `playground_name`. 2021-05-11 20:47:41 -07:00
settings_profile_fields.js docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
settings_realm_user_settings_defaults.js settings: Fix behavior of realm-level notification batching settings UI. 2021-12-03 16:03:02 -08:00
settings_sections.js settings: Pass a single object to settings_notifications functions. 2021-09-21 14:56:27 -07:00
settings_streams.js settings_streams: Use e.key instead of deprecated e.which. 2021-06-02 14:04:53 -07:00
settings_toggle.js settings: Change "Settings" to "Personal" in the toggle tab. 2021-07-01 11:47:14 -07:00
settings_ui.js settings: Fix the sticky behavior of saving indicator. 2021-09-15 09:47:08 -07:00
settings_user_groups.js js: Convert _.without to filter or other logic. 2022-01-24 15:54:21 -08:00
settings_users.js settings: Show user name in heading of deactivation modal. 2022-01-11 15:42:51 -08:00
setup.js channel: Simplify password change tracking. 2021-10-05 10:23:43 -07:00
spectators.js login_to_access_modal: Migrate modal to Micromodal. 2021-11-30 14:39:46 -08:00
spoilers.ts js: Fix @typescript-eslint/restrict-template-expressions. 2021-09-22 18:06:06 -07:00
starred_messages.js frontend: Add new user_settings module for user's settings. 2021-08-01 15:30:17 -07:00
starred_messages_ui.js dialog_widget: Append dialog_widget to the body element. 2021-10-26 18:20:17 -07:00
stream_bar.js stream_data: Rename get_invite_only helper method. 2021-11-22 15:32:14 -08:00
stream_color.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
stream_create.js streams: Consider only visible choices while selecting default choice. 2021-12-07 11:44:45 -08:00
stream_data.js streams: Add notifications for posting policy changes. 2022-01-10 18:29:04 -08:00
stream_edit.js stream-settings: Show icon according to in the right column title. 2022-01-26 12:50:05 -08:00
stream_events.js settings: Pass a single object to settings_notifications functions. 2021-09-21 14:56:27 -07:00
stream_list.js stream_data: Rename id_is_subscribed to is_subscribed. 2021-11-22 15:44:30 -08:00
stream_muting.js
stream_pill.js refactor: Add type field to pill items. 2021-04-27 12:07:57 -07:00
stream_popover.js message edit: Move with_first_message_id to message edit.js. 2022-01-05 17:55:00 -08:00
stream_settings_containers.js stream settings: Extract stream_settings_containers.js. 2021-12-16 15:28:11 -08:00
stream_settings_data.js frontend: Add new user_settings module for user's settings. 2021-08-01 15:30:17 -07:00
stream_settings_ui.js stream-settings: Show icon according to in the right column title. 2022-01-26 12:50:05 -08:00
stream_sort.js minor: Move filter logic for stream sort to utils.js. 2021-06-08 14:58:45 -07:00
stream_subscribers_ui.js dom: Rename div to #manage_streams_container. 2021-12-30 11:36:52 -08:00
stream_topic_history.js message_edit: Fix live update bug in left sidebar. 2021-06-29 10:00:52 -07:00
stream_topic_history_util.js refactor: Extract stream_topic_history_util. 2021-04-15 17:26:17 -07:00
stream_ui_updates.js dom: Rename div to #manage_streams_container. 2021-12-30 11:36:52 -08:00
sub_store.ts js: Fix @typescript-eslint/restrict-template-expressions. 2021-09-22 18:06:06 -07:00
submessage.js minor: Use warn instead of error for widgets. 2021-06-14 17:46:16 -07:00
templates.js templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
timerender.ts js: Fix @typescript-eslint/restrict-plus-operands. 2021-09-22 18:06:06 -07:00
tippyjs.js tippy: Fix persistent message action tooltips on icons after blur. 2022-01-25 11:15:30 -08:00
todo_widget.js todo_widget: Fix bug where new todos sometimes replaced old todos. 2022-01-24 11:25:32 -08:00
top_left_corner.js top_left_corner: Directly use `span.unread_count` to display unreads. 2021-04-14 10:57:16 -07:00
topic_generator.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
topic_list.js topic_list: Fix search box not focused in expanded state. 2022-01-18 16:53:25 -08:00
topic_list_data.js left-sidebar: Add support for showing resolve-topic-prefix. 2021-07-05 18:02:40 -07:00
topic_zoom.js
transmit.js reminder: Don't ack server for reminder / scheduled messages. 2021-11-10 09:12:23 -08:00
tutorial.js api: Fix encoding of strings in tutorial endpoint. 2021-05-07 14:06:54 -07:00
typeahead_helper.js js: Avoid _.get. 2022-01-24 15:54:21 -08:00
types.ts lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
typing.js typing_notifications: Send requests only if send_private_typing_notifications. 2021-10-07 17:40:32 -07:00
typing_data.js js: Convert _.uniq(a) to Array.from(new Set(a)). 2022-01-24 15:54:21 -08:00
typing_events.js typing_notifications: Show several users are typing if num of typists > 3. 2021-10-07 16:32:08 -07:00
ui.js deprecated_feature_notice: Move code to a separate module. 2021-06-15 11:58:45 -07:00
ui_init.js compose: Fix bug where stream color didn't update on mouse selection. 2022-01-24 17:14:47 -08:00
ui_report.ts ts: Convert ui_report module to TypeScript. 2021-06-22 09:09:36 -07:00
ui_util.ts ts: Convert ui_util module to TypeScript. 2021-07-05 17:04:06 -07:00
unread.js stream_data: Rename id_is_subscribed to is_subscribed. 2021-11-22 15:44:30 -08:00
unread_ops.js js: Simplify more code using default parameters and destructuring. 2021-06-25 16:34:04 -07:00
unread_ui.js
upload.js js: Simplify indexing arrays from the end with Array#at. 2022-01-24 09:58:54 -08:00
upload_widget.ts upload_widget: Convert $e.get(0) to $e[0]. 2021-11-05 17:34:13 -07:00
user_events.js js: Shorten Object.prototype.hasOwnProperty.call to Object.hasOwn. 2022-01-24 09:57:09 -08:00
user_group_pill.js refactor: Add type field to pill items. 2021-04-27 12:07:57 -07:00
user_groups.ts js: Fix @typescript-eslint/restrict-plus-operands. 2021-09-22 18:06:06 -07:00
user_pill.js input_pill: Customize pills for deactivated users. 2021-06-25 18:06:42 -07:00
user_profile.js stream edit: Extract stream_subscribers_ui.js. 2021-12-30 11:36:52 -08:00
user_search.js
user_settings.ts user_settings: Add option to disable escape key navigation to default view. 2021-10-29 18:15:30 -07:00
user_status.js user_status: Fix status emoji handling of deactivated custom emoji. 2021-11-20 20:57:54 -08:00
user_status_ui.js user_status: Migrate modal to dialog_widget. 2022-01-21 16:17:25 -08:00
util.js js: Convert _.uniq(a) to Array.from(new Set(a)). 2022-01-24 15:54:21 -08:00
vdom.js Fix typos using codespell. 2021-05-18 17:33:51 -07:00
watchdog.ts ts: Convert watchdog module to TypeScript. 2021-07-09 12:42:31 -07:00
webpack_public_path.js
widgetize.js widgets: Avoid adding the widget_elem if it already exists. 2021-07-24 09:52:14 -07:00
zcommand.js zcommand: Rename enter_day_mode to switch_to_light_theme. 2021-11-26 22:03:29 -08:00
zform.js
zulip_test.js blueslip: Remove SAVE_FRONTEND_STACKTRACES setting. 2021-07-07 09:26:02 -07:00