zulip/static/js
aryanshridhar 0d20a20b07 dropdown_list_widget: Improve keyboard focus events.
Previously, our dropdown list widget was lacking several
keyUp/keyDown keyboard focus events due to which the user
couldn't shift the focus from the dropdown item to it's
search input.

This commit essentially binds several additional keyboard events
by defining a `dropdown_focus_events` function which helps
in enhancing our keyboard focus events.

Due to the above changes, it removes the custom event binded
to dropdown list widget because of which we fallback to our
deprecated keydown event handler functions present in /third/bootstrap.
2021-07-29 10:09:03 -07:00
..
analytics
billing billing: Make create_ajax_request accept callback function. 2021-07-20 14:43:38 -07:00
bundles js: Fix, and check for, non-ES5 syntax in webpack bundles. 2021-07-05 13:32:37 -07:00
portico help: Activate sidebar scrollbar when hamburger is clicked. 2021-07-26 15:30:55 -07:00
stats dependencies: Upgrade JavaScript dependencies. 2021-06-08 10:15:52 -07: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: Add full members and moderators options in custom emoji setting. 2021-07-27 16:41:23 -07:00
alert_popup.ts
alert_words.js
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 frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
blueslip.ts blueslip: Remove SAVE_FRONTEND_STACKTRACES setting. 2021-07-07 09:26:02 -07:00
blueslip_stacktrace.ts dependencies: Upgrade JavaScript dependencies. 2021-05-10 18:07:13 -07:00
bot_data.js
browser_history.js
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
click_handlers.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07: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 compose: Move keydown and keyup from compose.js to compose_ui.js. 2021-07-28 14:01:40 -07:00
compose_actions.js compose: Improve how we handle over character limit message error. 2021-07-13 08:29:55 -07:00
compose_closed_ui.js compose: Add trigger for new private message. 2021-07-05 11:56:46 -07:00
compose_error.ts ts: Convert compose_error module to TypeScript. 2021-07-09 12:42:31 -07:00
compose_fade.js
compose_fade_helper.js
compose_fade_users.js
compose_pm_pill.js
compose_state.js
compose_ui.js compose: Move keydown and keyup from compose.js to compose_ui.js. 2021-07-28 14:01:40 -07:00
compose_validate.js compose: Fix typos in error message for too-long compose content. 2021-07-27 16:03:19 -07:00
composebox_typeahead.js Revert "composebox_typeahead: Trigger foucs to send button only after keyup event." 2021-07-27 18:39:43 -07:00
condense.js message_body: Rename "Condense" to "Show less". 2021-07-05 20:15:14 -07:00
confirm_dialog.js dialog_widget: Remove is_confirm_dialog variable. 2021-07-14 13:32:24 -07:00
copy_and_paste.js Revert "compose: Convert pasted url to named link." 2021-07-08 12:00:22 -07:00
csrf.ts ts: Convert csrf module to TypeScript. 2021-07-05 17:04:06 -07:00
css_variables.js
debug.js
deprecated_feature_notice.js open_modal: Pass extra arguments as object. 2021-06-20 17:08:16 -07:00
desktop_integration.js
dialog_widget.js dialog_widget: Clear error element when clicked on the submit button. 2021-07-26 16:37:16 -07:00
drafts.js drafts: Delete old drafts on page load, not modal launch. 2021-07-16 12:50:51 -07:00
dropdown_list_widget.js dropdown_list_widget: Improve keyboard focus events. 2021-07-29 10:09:03 -07:00
echo.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
emoji_picker.js user_status: Add UI changes for status emoji feature. 2021-07-28 10:02:50 -07:00
emojisets.js
favicon.js favicon: Catch exceptions in update_favicon. 2021-05-12 15:06:59 -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 narrow: Do not mark messages as read in mentioned narrow. 2021-07-14 11:39:46 -07:00
floating_recipient_bar.js refactor: Rename `panels.js` to `navbar_alerts.js` as it better explains it. 2021-05-21 17:49:12 -07:00
fold_dict.ts
gear_menu.js users: Remove redundant compute_show_invites function. 2021-07-08 12:37:47 -07:00
giphy.js giphy: Load Giphy SDK lazily. 2021-05-28 15:44:49 -07:00
global.d.ts ts: Convert ui_util module to TypeScript. 2021-07-05 17:04:06 -07:00
hash_util.js settings: Separate "Your account" section in two different sections. 2021-06-30 16:56:03 -07:00
hashchange.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
hbs.d.ts
hotkey.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07:00
hotspots.js
huddle_data.js
i18n.ts ts: Convert i18n module to TypeScript. 2021-06-22 09:09:36 -07:00
info_overlay.js info_overlay: Render search operators using info_overlay. 2021-06-28 09:14:09 -07:00
input_pill.js input_pill: Customize pills for deactivated users. 2021-06-25 18:06:42 -07:00
invite.js invite: Use handlebar template for invite-user overlay. 2021-06-14 13:46:57 -07:00
keydown_util.ts ts: Convert keydown_util to TypeScript. 2021-05-27 23:33:21 -07:00
lazy_set.js
lightbox.js lightbox_overlay: Migrate to handlebars. 2021-06-14 13:41:36 -07:00
lightbox_canvas.js eslint: Fix unicorn/prefer-switch. 2021-05-10 19:26:41 -07: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 list_widget: Allow instance to change load_count as per state. 2021-05-07 16:07:52 -07:00
loading.ts images: Rename loader.svg to loader-white.svg for clarity. 2021-07-18 11:44:17 -07:00
local_message.js
localstorage.js
markdown.js markdown: Add support for local rendering of user group mention in quote. 2021-05-20 11:35:04 -07:00
markdown_config.js docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
message_edit.js dropdown_list_widget: Refactor dropdown_list_widget to constructor function. 2021-07-29 10:09:03 -07:00
message_edit_history.js open_modal: Pass extra arguments as object. 2021-06-20 17:08:16 -07:00
message_events.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
message_fetch.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
message_flags.js
message_helper.js
message_list.js
message_list_data.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
message_list_view.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07: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 recent_topics: Split into three modules. 2021-06-10 15:53:05 -07: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: Don't include stream name is tooltip. 2021-07-06 08:41:44 -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 frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
narrow.js narrow: Remove unused import of stream_topic_history. 2021-07-05 10:29:49 -07:00
narrow_banner.js narrow_banner: Add banner for no resolved topics found search. 2021-07-13 23:36:24 -07:00
narrow_state.js
navbar_alerts.js compose: Fix expanded compose un-collapsible in presence of navbar_alerts. 2021-07-22 14:25:48 -07:00
navigate.js
night_mode.ts ts: Convert night_mode module to TypeScript. 2021-06-22 09:14:09 -07:00
notifications.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
overlays.js open_modal: Pass extra arguments as object. 2021-06-20 17:08:16 -07:00
padded_widget.ts ts: Convert padded_widget module to TypeScript. 2021-07-05 17:04:06 -07:00
page_params.ts blueslip: Remove SAVE_FRONTEND_STACKTRACES setting. 2021-07-07 09:26:02 -07:00
password_quality.ts ts: Convert password_quality module to TypeScript. 2021-07-09 12:42:31 -07:00
peer_data.js
people.js compose: Fix validation treating welcome bot as deactivated. 2021-07-22 15:22:20 -07:00
pill_typeahead.js minor: Refactor pill_typeahead.js to use include_users check. 2021-06-12 07:59:43 -07:00
pm_conversations.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
pm_list.js
pm_list_dom.js
poll_widget.js poll widget: Prevent question updates from non-authors. 2021-06-14 17:46:16 -07:00
popover_menus.js popover_menus: Add some comment documentation. 2021-06-18 17:25:45 -07:00
popovers.js user_info_popover: Show status emoji. 2021-07-28 10:02:51 -07:00
presence.js api: Add server_timestamp to register response. 2021-05-20 14:57:34 -07:00
reactions.js refactor: Move emoji details related code to `emoji.js`. 2021-07-28 09:35:00 -07: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 realm_logo: Rename realm_logo.rerender to realm_logo.render. 2021-07-19 09:45:29 -07:00
realm_playground.js realm_playground: Stop using Map incorrectly. 2021-05-09 22:01:00 -07:00
recent_senders.js
recent_topics_data.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
recent_topics_ui.js recent_topics_timestamp: Fix tooltip. 2021-07-03 06:59:55 -04:00
recent_topics_util.js recent_topics: Return false in `is_in_focus` if a modal is present. 2021-06-25 09:27:03 -07:00
reload.js docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
reload_state.ts ts: Convert reload_state to typescript. 2021-05-21 16:53:30 -07:00
reminder.js compose: Extract compose_error.js. 2021-06-24 16:19:22 -07:00
rendered_markdown.js markdown: Rewrite tooltips for <time> elements. 2021-07-05 18:09:47 -07:00
resize.js compose-box: Fix compose-box from covering last messages of stream. 2021-06-29 11:24:01 -07:00
rows.js
rtl.js rtl: Use _.sortedIndex instead of util.lower_bound. 2021-07-28 17:32:09 -07:00
schema.js
scroll_bar.js layout: Introduce a #compose-content div. 2021-06-10 11:22:05 -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_suggestion: Add suggestion support for `is:resolved` keyword. 2021-07-13 23:35:41 -07: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 user_status: Add architecture to support status emoji feature. 2021-07-28 09:50:11 -07:00
settings.js settings: Convert settings_overlay.html to handlebars template. 2021-07-15 08:59:23 -07:00
settings_account.js change_email_modal: Remove duplicate id attribute. 2021-07-26 16:37:15 -07:00
settings_bots.js dropdown_list_widget: Refactor dropdown_list_widget to constructor function. 2021-07-29 10:09:03 -07:00
settings_config.js settings: Add full members and moderators options in custom emoji setting. 2021-07-27 16:41:23 -07:00
settings_data.js settings: Add full members and moderators options in custom emoji setting. 2021-07-27 16:41:23 -07:00
settings_display.js settings: Use '/settings' endpoint for changing display settings. 2021-07-19 21:14:33 -07:00
settings_emoji.js settings: Add full members and moderators options in custom emoji setting. 2021-07-27 16:41:23 -07:00
settings_exports.js
settings_invites.js frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
settings_linkifiers.js settings: Use dialog_widget for edit-linkifier modal. 2021-07-14 13:02:26 -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: Use '/settings' endpoint for changing notification settings. 2021-07-19 21:14:33 -07:00
settings_org.js dropdown_list_widget: Refactor dropdown_list_widget to constructor function. 2021-07-29 10:09:03 -07: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_sections.js settings: Separate "Your account" section in two different sections. 2021-06-30 16:56:03 -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_ui: Add option for changing label on disabling input. 2021-07-26 17:48:01 -07:00
settings_user_groups.js settings: Add moderators and full members options in user-group setting. 2021-07-14 14:38:44 -07:00
settings_users.js dropdown_list_widget: Refactor dropdown_list_widget to constructor function. 2021-07-29 10:09:03 -07:00
setup.js
spoilers.ts ts: Convert spoilers module to TypeScript. 2021-06-22 09:14:09 -07:00
starred_messages.js
starred_messages_ui.js frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
stream_bar.js
stream_color.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
stream_create.js stream_create: Remove unnecessary export keyword. 2021-07-16 08:53:56 -07:00
stream_data.js streams: Add function to get subscribed streams of a user. 2021-06-17 17:57:20 -07:00
stream_edit.js stream settings: Use buddy list logic for filtering users. 2021-07-20 14:27:58 -07:00
stream_events.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
stream_list.js left_sidebar: Replace cog icon with plus icon. 2021-06-08 14:55:48 -07:00
stream_muting.js
stream_pill.js
stream_popover.js dropdown_list_widget: Refactor dropdown_list_widget to constructor function. 2021-07-29 10:09:03 -07:00
stream_settings_data.js stream-settings: Use util.strcmp instead of localeCompare for sorting. 2021-06-12 08:16:19 -07:00
stream_settings_ui.js stream_ui: Fix subscription button out of sync. 2021-07-21 22:02:33 -07:00
stream_sort.js minor: Move filter logic for stream sort to utils.js. 2021-06-08 14:58:45 -07: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
stream_ui_updates.js stream settings: Move subscription_type.hbs to stream settings folder. 2021-07-18 11:36:39 -07:00
sub_store.js
submessage.js minor: Use warn instead of error for widgets. 2021-06-14 17:46:16 -07:00
templates.js
timerender.js markdown: Rewrite tooltips for <time> elements. 2021-07-05 18:09:47 -07:00
tippyjs.js tippy: Fix blueslip error on edit history timestamp hover. 2021-07-19 09:34:52 -07:00
todo_widget.js todo widget: Check types for inbound events. 2021-06-14 17:46:16 -07:00
top_left_corner.js
topic_generator.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
topic_list.js left-sidebar: Hide clear filter text button if topic filter is empty. 2021-06-10 15:49:34 -07: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
tutorial.js
typeahead_helper.js typeahead: Make typeahead_helper.sort_recipients more readable. 2021-05-25 08:03:02 -07:00
typing.js
typing_data.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
typing_events.js
ui.js deprecated_feature_notice: Move code to a separate module. 2021-06-15 11:58:45 -07:00
ui_init.js ui_init: Fix "Error: Unknown user_id in get_by_user_id: 0". 2021-07-22 14:06:13 -07: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 js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07: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 compose: Don’t convert absolute upload URLs to relative. 2021-07-07 15:41:52 -07:00
upload_widget.ts ts: Convert upload_widget to TypeScript. 2021-07-09 12:42:31 -07:00
user_events.js api: Include is_billing_admin as an attribute in user response. 2021-06-03 10:27:07 -07:00
user_group_pill.js
user_groups.js js: Add functions to get user groups by user_id. 2021-06-02 20:06:03 -07:00
user_pill.js input_pill: Customize pills for deactivated users. 2021-06-25 18:06:42 -07:00
user_profile.js minor: Make group tab selector in profile modal more specific. 2021-07-02 13:53:46 -07:00
user_search.js
user_status.js user_status: Add architecture to support status emoji feature. 2021-07-28 09:50:11 -07:00
user_status_ui.js user_status: Add default emoji for common statuses. 2021-07-28 10:02:51 -07:00
util.js util: Rewrite same_recipents to not use switch. 2021-07-28 17:32:09 -07: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 slash commands: Remove /settings command. 2021-07-08 10:47:52 -04:00
zform.js
zulip_test.js blueslip: Remove SAVE_FRONTEND_STACKTRACES setting. 2021-07-07 09:26:02 -07:00