zulip/web/styles
palashb01 4e786293ae user_profile: Add the subscribe widget to user profile.
This commit adds a subscription widget to the user profile,
including the logic to prevent non-admin users from seeing the
subscription widget of other users. Additionally, as it is not
possible to subscribe generic bots to streams, and the user should
not be a deactivated user, we check for these conditions before
displaying the subscription widget.

To ensure that the alert for both subscribing and unsubscribing
appears on top of the subscribe widget, changed the location of
the alert to be displayed at the top.

Additionally, considering that no stream will be initially selected,
we have made the decision to disable the subscribe button. Once the
user selects a stream, we will enable the subscribe button
accordingly.

Changed the add_user_ids_to_stream function inside subscriber_api.js
to support self subscribe also, so that we don't have to duplicate the
logic in user_profile.js

Created a separate file for the subscribe widget called
user_profile_subscribe_widget.hbs.

Fixes: #18883
2023-09-10 11:20:15 -07:00
..
portico widgets: Rename confusing attribute name in `tabbed_sections.py`. 2023-08-31 11:55:28 -07:00
alerts.css dependencies: Upgrade JavaScript dependencies. 2023-07-21 15:58:42 -07:00
app_components.css settings: Reduce width of "Actions" column in tables. 2023-08-21 15:00:39 -07:00
components.css bot_icon: Adjust bot-icon color for light and dark modes. 2023-06-23 14:43:22 -07:00
compose.css dropdown_widget: Refactor to use Class. 2023-07-27 14:10:08 -07:00
dark_theme.css recent: Rename .recent_topics_participant_overflow. 2023-09-08 07:36:33 -07:00
drafts.css drafts: Rename class name to provide more context. 2023-08-11 15:54:17 -07:00
hotspots.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
image_upload_widget.css image_upload_widget: Refactor style of upload_widget's preview_image. 2023-03-27 10:19:29 -07:00
informational_overlays.css css: Remove unnecessary CSS defined using table-condensed class. 2023-08-21 15:00:39 -07:00
input_pill.css UI redesign: Change background color. 2023-05-09 16:25:28 -07:00
left_sidebar.css recent: Rename .top_left_recent_topics. 2023-09-08 07:36:33 -07:00
lightbox.css css: Use 200 font weight instead of 100. 2023-07-06 17:57:37 -07:00
message_edit_history.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
message_row.css css_grid: Defensively prevent blowouts by using minmax(). 2023-08-30 15:30:40 -07:00
modal.css dialog_widget: Add horizontal padding to the modal content. 2023-08-16 10:38:42 -05:00
popovers.css user_profile: Add the subscribe widget to user profile. 2023-09-10 11:20:15 -07:00
print.css css: Rename .message_list to .message-feed. 2023-08-21 15:17:45 -07:00
progress_bar.css refactor: Refactor progress_bar CSS to remove redundant code. 2023-04-05 15:47:14 -07:00
pygments.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
reactions.css emoji: Rename `reaction_button_visible`. 2023-09-07 14:44:18 -07:00
recent_view.css recent: Rename recent_topics.css. 2023-09-08 07:36:33 -07:00
rendered_markdown.css bootstrap: Remove bootstrap CSS for <table> element. 2023-08-06 18:13:33 -07:00
right_sidebar.css bootstrap: Remove bootstrap CSS for input-append class. 2023-07-23 15:44:58 -07:00
scheduled_messages.css scheduled_messages_overlay_ui: Use CSS to display no scheduled messages. 2023-05-01 22:45:03 -07:00
search.css search: Rename search_arrows to searchbox_container. 2023-07-23 15:27:53 -07:00
settings.css invites: Frontend changes for adding the new realm setting. 2023-09-07 14:21:01 -07:00
subscriptions.css stream_settings: Add 'Default stream' option in edit stream UI. 2023-08-09 14:38:52 -07:00
tooltips.css popovers: Ignore `data-reference-hidden` attribute for mobile popovers. 2023-09-07 14:44:18 -07:00
typing_notifications.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
user_circles.css styles: Use modern color notation. 2023-03-24 17:26:55 -07:00
user_status.css css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
widgets.css widgets: Remove box-shadow and use background-color to show focus. 2023-08-16 10:06:40 -07:00
zulip.css recent: Rename .recent_topics_container. 2023-09-08 07:36:33 -07:00