addressee: Rename "(no topic)" to empty string topic.

This commit renames "(no topic)" to "" when used as
topic name, while sending or scheduling messages.

This is particularly helpful for older clients where
sending messages with empty topic input box resulted
in messages being sent to "(no topic)" topic.

Now, it will be sent in empty string topic and will
appear in the "general chat" topic.

This helps older clients to somewhat align with the UX
of the clients supporting empty string topic.
This commit is contained in:
Prakhar Pratyush
2025-03-18 16:31:44 +05:30
committed by Tim Abbott
parent 0774d80f8e
commit 9a46104684
7 changed files with 55 additions and 26 deletions

View File

@@ -20,6 +20,14 @@ format used by the Zulip server that they are interacting with.
## Changes in Zulip 10.0
**Feature level 370**
* [`POST /messages`](/api/send-message),
[`POST /scheduled_messages`](/api/create-scheduled-message),
[`PATCH /scheduled_messages/<int:scheduled_message_id>`](/api/update-scheduled-message):
The `"(no topic)"` value when used for `topic` parameter is
now interpreted as an empty string.
**Feature level 369**
* [`POST /register`](/api/register-queue): Added `navigation_tour_video_url`