Commit Graph

9 Commits

Author SHA1 Message Date
Lauryn Menard
4fd3bb8aa5 message-edit-history: Show original channel/topic for move only history.
If the organization only allows viewing message move history, in
the message edit history overlay for the initial message, we display
the original topic and channel of the message instead of the original
message content.

This way the overlay content is consistent with the organization
setting for viewing message edit history, and if the message content
has been edited, that original content is not viewable to other
users.
2025-03-14 14:11:16 -07:00
Lauryn Menard
e6d71cad1f message-edit-history: Show channel change before topic change. 2025-03-14 14:11:16 -07:00
Prakhar Pratyush
cee474876d message_edit_history: Fix empty string topic not displaying correctly.
Earlier, for topic-edit involving empty string topic the rendered
topic name was not buggy.

We used to display `""` instead of `realm_empty_topic_display_name`
with proper styling.

This commit fixes the bug.
2025-02-27 09:09:06 -08:00
Alya Abbott
3889b22d76 edit-history-template: Mark "Topic" and "Channel" for translation.
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-01-03 15:16:11 -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
Aman Agrawal
e5a0157f84 messages_ovelay: Use specific name for row_item_selector. 2024-09-30 11:23:29 -07:00
Aman Agrawal
e646b3b7b6 messages_overlay: Force specific name for message-info-box selector. 2024-09-30 11:23:29 -07:00
Mahhheshh
e7adde96e0 message_edit: Reimplement message history modal as an overlay.
We redesign the message history modal to make it look similar to the
drafts and scheduled messages, using the shared styling/rendering
logic for that those existing elements to have a less goofy widget.

Fixes #28695.
2024-03-18 17:26:28 -07:00
Anders Kaseorg
c1675913a2 web: Move web app to ‘web’ directory.
Ever since we started bundling the app with webpack, there’s been less
and less overlap between our ‘static’ directory (files belonging to
the frontend app) and Django’s interpretation of the ‘static’
directory (files served directly to the web).

Split the app out to its own ‘web’ directory outside of ‘static’, and
remove all the custom collectstatic --ignore rules.  This makes it
much clearer what’s actually being served to the web, and what’s being
bundled by webpack.  It also shrinks the release tarball by 3%.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-02-23 16:04:17 -08:00