zulip/static/js
Mr.mad c80275370e stream_color: Fix stream color not updating to default.
Previously, if the user changes any stream color and updates it back
to the default color without reopening the change color popover, the
second color change didn't take effect.

Fix bug by destroying the colorpicker object and rebuilding it again
every time a color change is triggered by the confirm button.

Fixes: #21055
2022-02-09 16:20:24 -08:00
..
analytics
billing pricing: Replace "Zulip Standard" with "Zulip Cloud Standard". 2022-02-09 11:00:24 -08: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
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 docs: Consistently hyphenate “web-public”. 2022-01-28 17:45:45 -08:00
buddy_data.js presence: Avoid doc/naming references to "orange". 2022-02-03 15:31:21 -08:00
buddy_list.js
channel.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
compose_actions.js resize: Rename reset_compose_textarea_max_height. 2022-02-02 10:01:27 -08:00
compose_closed_ui.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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
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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
compose_validate.js compose: Update error shown on sending message with no topic. 2022-02-02 10:11:35 -08:00
composebox_typeahead.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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: Add support for event handler on closing a modal. 2022-02-08 16:50:46 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
fetch_status.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
filter.js filter: Show typeahead suggestions if search query has search filters. 2021-11-29 16:20:29 -08:00
flatpickr.js lint: Fix missing newline at EOF. 2022-01-28 11:51: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 stream-settings: Fix browser back button behavior for stream settings overlay. 2022-02-09 10:54:52 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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: Fix internationalization of edited notices. 2022-02-01 14:09:19 -08:00
message_events.js compose: Show warning while composing to a resolved topic. 2022-02-01 17:50:17 -08:00
message_fetch.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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 bookend: Simplify can_toggle_subscription variable flow. 2022-01-31 16:39:16 -08:00
message_list_data.js message_live_update: Only rerender relevant messages for name/avatar. 2022-02-09 14:17:36 -08:00
message_list_view.js message_list_view: Recalculate more fields for _rerender_message. 2022-02-09 14:16:02 -08:00
message_lists.js
message_live_update.js message_live_update: Only rerender relevant messages for name/avatar. 2022-02-09 14:17:36 -08:00
message_parser.ts ts: Convert message_parser module to TypeScript. 2021-07-09 12:42:31 -07:00
message_scroll.js message_feed_errors: Don't show search public stream to spectators. 2022-01-31 17:12:03 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
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 event handler on closing a modal. 2022-02-08 16:50:46 -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
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 pm list: Remove obsolete user_circle_fraction class. 2022-02-03 15:31:21 -08:00
pm_list_dom.js
poll_widget.js poll: Handle duplicate poll options. 2021-11-10 09:07:03 -08:00
popover_menus.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
popovers.js popovers: Offer edit history option for stream moves. 2022-02-08 17:27:37 -08:00
presence.js js: Remove unused buddy_data.huddle_fraction_present function. 2022-02-03 10:59:33 -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
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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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: Rename reset_compose_textarea_max_height. 2022-02-02 10:01:27 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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 docs: Add missing space to compound verbs “back up”, “log in”, etc. 2022-02-07 19:20:54 -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
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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
settings_user_groups.js js: Convert _.without to filter or other logic. 2022-01-24 15:54:21 -08:00
settings_users.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
setup.js channel: Simplify password change tracking. 2021-10-05 10:23:43 -07:00
spectators.js docs: Add missing space to compound verbs “back up”, “log in”, etc. 2022-02-07 19:20:54 -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 stream_color: Fix stream color not updating to default. 2022-02-09 16:20:24 -08:00
stream_create.js subscribers: Move new_stream_users template. 2022-02-08 15:21:45 -08:00
stream_data.js stream_data: Set can_toggle_subscription to false for spectator. 2022-01-31 16:39:17 -08:00
stream_edit.js stream-settings: Add code to live update right panel title on stream rename. 2022-01-28 11:39:15 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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 subscribers: Extract get_pill_user_ids(). 2022-02-08 15:21:45 -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
stream_ui_updates.js subscribers: Improve selector for editing subscribers. 2022-02-08 15:21:45 -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
timerender.ts js: Fix @typescript-eslint/restrict-plus-operands. 2021-09-22 18:06:06 -07:00
tippyjs.js tippy: Expand `enter_sends` tooltip to full text width. 2022-02-07 22:23:13 -08:00
todo_widget.js docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08: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 docs: Add missing space to compound verbs “back up”, “log in”, etc. 2022-02-07 19:20:54 -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 docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -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 right_sidebar: Add realm description for spectators. 2022-02-04 16:00:59 -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