22 Commits

Author SHA1 Message Date
Anders Kaseorg
2d947073a1 templates: Fix invalid <div class="narrows_by_topic"> inside <span>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Mohammad Reza Kianifar
daadf110d9 scheduled_messages: Add support for self-DM identification.
Similar to drafts, identify when a scheduled message will be sent to
the logged-in user. This allows the UI to show 'You' as the header for
self-scheduled messages, improving the user experience.
2025-08-28 10:04:37 -07:00
apoorvapendse
b8a1a224d5 copy_messages: Prevent blueslip error while copying overlay message header.
Fixes: https://github.com/zulip/zulip/pull/35097#issuecomment-3058834909
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-15 09:22:54 -07:00
apoorvapendse
9ddc2dddc3 scheduled_messages: Restore message on clicking header.
Fixes:
https://chat.zulip.org/#narrow/channel/101-design/topic/message.20header.20bar.20interactions.20in.20overlays/with/2205866.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-10 13:17:13 -07:00
Aman Agrawal
d2035c6cb0 scheduled_message: Show delayed tooltip for delete icon. 2025-06-30 11:12:45 -07:00
apoorvapendse
a27e1aea96 scheduled_messages: Clarify the editing UI.
Fixes: #34380.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-06-10 11:08:35 -07:00
Maneesh Shukla
c41a96a954 trash-icon: Replace remaining fa-trash icons with zulip-icon-trash and update buttons.
Fixes: #34378.
2025-06-08 17:12:27 -07:00
Aman Agrawal
cd439c0232 message_overlay: Fix restore tooltips detached with message content.
To avoid restore tooltip of message from being displayed outside
the overlay, we define a boundary, outside which the tooltip
cannot exist. Popper library is smart enough to render the tooltip
correctly by respecting the provided boundary and flipping the
tooltip placement if required.
2025-04-11 10:40:35 -07:00
Prakhar Pratyush
d45a52c11d scheduled_messages: Show realm_empty_topic_display_name for topic="".
This commit adds support to display `realm_empty_topic_display_name`
value in the scheduled messages overlay UI for topics having the
actual value of empty string.
2025-01-10 14:32:55 -08:00
Anders Kaseorg
ce96b8ed66 templates: Avoid confusing Mustache-style conditionals.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-24 08:29:08 -08:00
Anders Kaseorg
e172c717f7 webpack: Enable explicitPartialContext for handlebars-loader.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-15 20:41:59 -08:00
Aman Agrawal
d2561b778a scheduled_message: Use specific name for message-info-box selector. 2024-09-30 11:23:29 -07:00
adnan-td
4bde1586e4 topic_name: Fix compressing of display topic names.
Fixes part of #30478.
2024-06-26 12:23:32 -07:00
Hardik Dharmani
e549c416db tooltips: Use tippy tooltips for drafts and schedule message overlays.
Fixes #25892
2023-06-13 16:49:54 -07:00
Aman Agrawal
06cbe95583 scheduled_message: Extract common elements into a separate file. 2023-05-14 16:46:20 -07:00
Hardik Dharmani
697cdb31e5 message_headers: Abbrevate direct message recipient names.
Abbrevated DM recipient names in message feeds, Drafts and Scheduled
messages overlays by wrapping recipient names in span with class
private_message_header_name and applying `overflow: hidden` and
`text-overflow: ellipsis` CSS to it.

Fixes #25353
2023-05-09 13:43:40 -07:00
Hardik Dharmani
3a358a9a11 tooltips: Shift all tooltip templates to tooltip_templates.hbs.
Refactored all tooltip templates with static content to be in
tooltip_templates.hbs to avoid duplicate IDs and DOM element.

Fixes #25324
2023-05-09 11:10:58 -07:00
Tim Abbott
1c07756150 scheduled messages: Use data-scheduled-message-id.
This helps make it really clear that these are not message IDs, they
are scheduled message IDs.
2023-05-01 22:45:03 -07:00
Aman Agrawal
1b60019c60 schedule: Remove 'Schedule' state of compose box.
Fixes #25340

This means that we now schedule the message simply after selecting
time if the message is valid.

Also, editing scheduled messages will now delete the scheduled
message and open compose with scheduled message.
2023-05-01 22:45:03 -07:00
sbansal1999
33705b6116 tooltips: Remove keyboard shortcuts from View Scheduled Messages modal.
This commit removes the keyboard shortcut from tooltips that
can be seen when hovering over the two buttons in
"View Scheduled Messages" modal.

This is a temporary change as the keyboard shortcut will be
added to the tooltips when the shortcuts are actually working.
2023-04-30 20:34:53 -07:00
Aman Agrawal
963fe566d7 scheduled_messages: Use scheduled_message_id instead of message_id.
Using `message_id` can be confusing for API users since it can be
mistaken for the ID of the message that will be sent.
2023-04-28 17:25:00 -07:00
Aman Agrawal
043d54d170 scheduled_messages: Add overlay to display and edit them.
Fixes #20971
2023-04-17 16:59:25 -07:00