zulip/web/styles
apoorvapendse ee104ab141 compose: Prompt topic typeahead after selecting stream.
Enable a consecutive topic typeahead after a user selects a stream via the
typeahead menu. Previously, users had to manually enter ">" after selecting
a stream.

Before, encountering ">" returned "topic_jump," which prevented the
topic list from triggering since "topic_jump" indicated the topic was
selected. The implementation is changed to slice the token and process it
in get_candidates to trigger the appropriate typeahead.

Adjustments include changes to regexes for accurate triggering of stream or
topic typeaheads based on the presence of ">" in the current token.

Removes hint for stream mentioning use of ">"
for topic suggestions, although that feature is
still functional.

The hideAfterSelect() function in composebox_typeahead.ts was modified.
This prevents closing the typeahead when a stream is completed.

The TopicSuggestion type is updated to show stream typeahead suggestion
as the first option in the topic list with a privacy icon and no description
in case when no character follows the '>' i.e. when the token ends with '>'.

The edge where stream and topic have the same name is also handled with
the help of a flag.

Add stream as the prefix to topic suggestions in the typeahead.
To make this happen, changes are made in the related handlebars
template.

Update topic list stream option label.
This changes the option label for stream in the topic
list from (mention channel) to (link to channel) as per
https://zulip.com/help/link-to-a-message-or-conversation.

Tests are updated, and a new test is added to validate the behavior.
Test coverage is added for the new `render_stream_topic` method.

Fixes: #32184.
2025-01-29 17:25:19 -08:00
..
portico stylelint: Fix declaration-property-value-no-unknown. 2025-01-29 15:04:09 -08:00
alerts.css styles: Convert Sass-style variables to CSS custom properties. 2025-01-29 15:04:09 -08:00
app_components.css style: Center the ⌘ symbol by replacing it with an icon. 2025-01-24 16:48:26 -08:00
app_variables.css left_sidebar: Reduce intensity of DM group and bot icons. 2025-01-29 16:35:41 -08:00
banners.css banners: Rename btn -> button in grid variables in app_variables.css. 2025-01-13 17:46:15 -08:00
buttons.css buttons: Update action button design. 2025-01-13 17:44:52 -08:00
color_picker.css stream_color: Add confirm button to the color picker popover. 2025-01-12 12:39:02 -08:00
components.css stylelint: Enable stylelint-high-performance-animation. 2024-10-23 14:56:39 -07:00
compose.css compose: Size help-button icon to match other formatting buttons. 2025-01-24 14:57:29 -08:00
dark_theme.css css: Refactor theme colors for settings. 2025-01-28 17:55:00 -08:00
drafts.css drafts: Rename removed-drafts-message class. 2024-12-17 11:57:04 -08:00
image_upload_widget.css settings: Improve layout and appearance of Organization logo area. 2024-10-25 15:39:13 -07:00
inbox.css inbox_view: Place 3-dots group DM icon. 2025-01-29 16:35:41 -08:00
informational_overlays.css help modal: Remove small_hotkey style. 2024-09-03 20:52:16 -07:00
input_pill.css compose_pill: Show bot icon after bot name. 2025-01-09 11:58:20 -08:00
left_sidebar.css left_sidebar: Allow condensed nav icons to scale. 2025-01-29 10:15:55 -08:00
lightbox.css lightbox: Add query to hide media-description below 100px width. 2025-01-16 09:01:51 -08:00
message_edit_history.css css: Refactor theme colors for .message_edit_history_content. 2024-09-23 16:07:51 -07:00
message_header.css message_header: Specify font-size and line height on content div. 2025-01-28 14:50:43 -08:00
message_row.css me_messages: Improve grid for me-message alignment. 2025-01-22 16:18:31 -08:00
message_view_header.css top_navbar: Render long stream description on hover. 2025-01-29 17:02:37 -08:00
modal.css channel_modal: Push back against inherited icon styles. 2025-01-24 14:56:41 -08:00
popovers.css user_profile: Fix left overflow clipping for deactivated icon. 2025-01-29 15:51:25 -08:00
print.css typing: Move the typing notifications to below the mark as read banner. 2024-06-18 14:30:19 -07:00
progress_bar.css stylelint: Enable stylelint-high-performance-animation. 2024-10-23 14:56:39 -07:00
pygments.css styles: Fix invalid CSS generated due to @extend misusage. 2024-09-18 15:33:28 -07:00
reactions.css popover_menus_data: Hide actions user can't take for archived channels. 2024-10-25 16:06:42 -07:00
recent_view.css recent_view: Place 3-dots group DM icon. 2025-01-29 16:35:41 -08:00
rendered_markdown.css styles: Replace deprecated word-break: break-word with overflow-wrap. 2025-01-29 15:04:09 -08:00
right_sidebar.css styles: Convert Sass-style variables to CSS custom properties. 2025-01-29 15:04:09 -08:00
scheduled_messages.css css: Remove unused css for scheduled-messages-loading class. 2024-07-24 10:12:42 -07:00
search.css styles: Replace deprecated word-break: break-word with overflow-wrap. 2025-01-29 15:04:09 -08:00
settings.css styles: Replace deprecated word-break: break-word with overflow-wrap. 2025-01-29 15:04:09 -08:00
subscriptions.css settings: Show assigned stream permissions in group permissions panel. 2025-01-27 15:32:15 -08:00
tooltips.css tooltips: Fix hotkey hints wrapping when next to longer tooltip labels. 2024-09-19 10:49:15 -07:00
typeahead.css compose: Prompt topic typeahead after selecting stream. 2025-01-29 17:25:19 -08:00
typing_notifications.css typing: Move the typing notifications to below the mark as read banner. 2024-06-18 14:30:19 -07:00
user_circles.css user_circles: Introduce circle icons in sidebars. 2024-12-13 14:33:24 -08:00
user_status.css css: Use --color-text-url variable as color for text links. 2025-01-21 08:49:27 -08:00
widgets.css polls: Fix transition issue for "Add" and "New" option in dark theme. 2025-01-28 17:54:16 -08:00
zulip.css top_navbar: Render long stream description on hover. 2025-01-29 17:02:37 -08:00