help: Rename and redirect archive-a-stream for channel.

This commit is contained in:
Lauryn Menard 2024-05-02 16:54:08 +02:00 committed by Tim Abbott
parent c1175f2e55
commit d10ad01997
10 changed files with 26 additions and 25 deletions

View File

@ -1,19 +1,19 @@
# Archive a stream # Archive a channel
{!admin-only.md!} {!admin-only.md!}
Archiving a stream will immediately unsubscribe all users from the stream, Archiving a channel will immediately unsubscribe all users from the channel,
remove the stream from search and other typeaheads, and remove the stream's remove the channel from search and other typeaheads, and remove the channel's
messages from **Combined feed**. messages from **Combined feed**.
Archiving a stream does not delete a stream's messages. Users will still be Archiving a channel does not delete a channel's messages. Users will still be
able to find any given message by searching for it. However, links to able to find any given message by searching for it. However, links to
messages and topics in the stream may or may not continue to work. messages and topics in the channel may or may not continue to work.
In most cases, we recommend [renaming channels](/help/rename-a-channel) rather In most cases, we recommend [renaming channels](/help/rename-a-channel) rather
than archiving them. than archiving them.
## Archive a stream ## Archive a channel
{start_tabs} {start_tabs}
@ -21,31 +21,31 @@ than archiving them.
{relative|stream|all} {relative|stream|all}
1. Select a stream. 1. Select a channel.
1. Click the **trash** <i class="fa fa-trash-o"></i> icon near the top right 1. Click the **trash** <i class="fa fa-trash-o"></i> icon near the top right
corner of the stream settings panel. corner of the channel settings panel.
1. Approve by clicking **Confirm**. 1. Approve by clicking **Confirm**.
!!! tip "" !!! tip ""
You can also hover over a stream in the left sidebar, click on the You can also hover over a channel in the left sidebar, click on the
**ellipsis** (<i class="zulip-icon zulip-icon-more-vertical"></i>), and **ellipsis** (<i class="zulip-icon zulip-icon-more-vertical"></i>), and
select **Stream settings** to access the **trash** select **Channel settings** to access the **trash**
<i class="fa fa-trash-o"></i> icon. <i class="fa fa-trash-o"></i> icon.
{end_tabs} {end_tabs}
!!! warn "" !!! warn ""
Archiving a stream is currently irreversible via the UI. Archiving a channel is currently irreversible via the UI.
## Unarchiving archived streams ## Unarchiving archived channels
If you are self-hosting, you can unarchive an archived stream using the If you are self-hosting, you can unarchive an archived channel using the
`unarchive_stream` [management command][management-command]. This will restore `unarchive_stream` [management command][management-command]. This will restore
it as a private stream with shared history, and subscribe all organization it as a private channel with shared history, and subscribe all organization
owners to it. If you are using Zulip Cloud, you can [contact us](/help/contact-support) owners to it. If you are using Zulip Cloud, you can [contact us](/help/contact-support)
for help. for help.

View File

@ -99,7 +99,7 @@ including [mentions and alerts](/help/dm-mention-alert-notifications).
## Related articles ## Related articles
* [Delete a topic](/help/delete-a-topic) * [Delete a topic](/help/delete-a-topic)
* [Archive a stream](/help/archive-a-stream) * [Archive a channel](/help/archive-a-channel)
* [Message retention policy](/help/message-retention-policy) * [Message retention policy](/help/message-retention-policy)
* [Edit a message](/help/edit-a-message) * [Edit a message](/help/edit-a-message)
* [Restrict message editing and deletion](/help/restrict-message-editing-and-deletion) * [Restrict message editing and deletion](/help/restrict-message-editing-and-deletion)

View File

@ -16,7 +16,7 @@ better idea, or just leaving the topic as is. Deleting a topic can confuse
users who come to the topic later via an email notification. users who come to the topic later via an email notification.
Note that deleting a topic also deletes every message with that topic, Note that deleting a topic also deletes every message with that topic,
whereas [archiving a stream](/help/archive-a-stream) does not. whereas [archiving a channel](/help/archive-a-channel) does not.
### Delete a topic ### Delete a topic
@ -49,5 +49,5 @@ attribute of messages in Zulip.
* [Edit a message](/help/edit-a-message) * [Edit a message](/help/edit-a-message)
* [Delete a message](/help/delete-a-message) * [Delete a message](/help/delete-a-message)
* [Archive a stream](/help/archive-a-stream) * [Archive a channel](/help/archive-a-channel)
* [Message retention policy](/help/message-retention-policy) * [Message retention policy](/help/message-retention-policy)

View File

@ -210,7 +210,7 @@
* [Rename a channel](/help/rename-a-channel) * [Rename a channel](/help/rename-a-channel)
* [Change a channel's description](/help/change-the-channel-description) * [Change a channel's description](/help/change-the-channel-description)
* [Change the privacy of a channel](/help/change-the-privacy-of-a-channel) * [Change the privacy of a channel](/help/change-the-privacy-of-a-channel)
* [Delete or archive a stream](/help/archive-a-stream) * [Delete or archive a channel](/help/archive-a-channel)
## Organization settings ## Organization settings
* [Custom emoji](/help/custom-emoji) * [Custom emoji](/help/custom-emoji)

View File

@ -72,4 +72,4 @@ more details on precisely how message deletion works in Zulip.
* [Edit a message](/help/edit-a-message) * [Edit a message](/help/edit-a-message)
* [Delete a message](/help/delete-a-message) * [Delete a message](/help/delete-a-message)
* [Delete a topic](/help/delete-a-topic) * [Delete a topic](/help/delete-a-topic)
* [Archive a stream](/help/archive-a-stream) * [Archive a channel](/help/archive-a-channel)

View File

@ -71,7 +71,7 @@ organization's policy choices.
their account is reactivated by an administrator. their account is reactivated by an administrator.
* Investigate behavior by [viewing messages sent by a * Investigate behavior by [viewing messages sent by a
user](/help/view-messages-sent-by-a-user). user](/help/view-messages-sent-by-a-user).
* Delete messages, [archive streams](/help/archive-a-stream), and * Delete messages, [archive channels](/help/archive-a-channel), and
[unsubscribe users from channels](/help/add-or-remove-users-from-a-channel). [unsubscribe users from channels](/help/add-or-remove-users-from-a-channel).
* [Move topics](/help/rename-a-topic), including between streams, when * [Move topics](/help/rename-a-topic), including between streams, when
users start conversations in the wrong place. users start conversations in the wrong place.

View File

@ -640,7 +640,7 @@ export function initialize() {
{"z-link": () => stream_name_with_privacy_symbol_html}, {"z-link": () => stream_name_with_privacy_symbol_html},
), ),
id: "archive-stream-modal", id: "archive-stream-modal",
help_link: "/help/archive-a-stream", help_link: "/help/archive-a-channel",
html_body, html_body,
on_click: do_archive_stream, on_click: do_archive_stream,
}); });

View File

@ -6,12 +6,12 @@
{{#if unsubscribing_other_user}} {{#if unsubscribing_other_user}}
{{#tr}} {{#tr}}
Because you are removing the last subscriber from a private channel, it will be automatically <z-link>archived</z-link>. Because you are removing the last subscriber from a private channel, it will be automatically <z-link>archived</z-link>.
{{#*inline "z-link"}}<a target="_blank" rel="noopener noreferrer" href="/help/archive-a-stream">{{> @partial-block}}</a>{{/inline}} {{#*inline "z-link"}}<a target="_blank" rel="noopener noreferrer" href="/help/archive-a-channel">{{> @partial-block}}</a>{{/inline}}
{{/tr}} {{/tr}}
{{else}} {{else}}
{{#tr}} {{#tr}}
Because you are the only subscriber, this channel will be automatically <z-link>archived</z-link>. Because you are the only subscriber, this channel will be automatically <z-link>archived</z-link>.
{{#*inline "z-link"}}<a target="_blank" rel="noopener noreferrer" href="/help/archive-a-stream">{{> @partial-block}}</a>{{/inline}} {{#*inline "z-link"}}<a target="_blank" rel="noopener noreferrer" href="/help/archive-a-channel">{{> @partial-block}}</a>{{/inline}}
{{/tr}} {{/tr}}
{{/if}} {{/if}}
</p> </p>

View File

@ -45,7 +45,8 @@ HELP_DOCUMENTATION_REDIRECTS: List[URLRedirect] = [
"/help/change-the-default-language-for-your-organization", "/help/change-the-default-language-for-your-organization",
"/help/configure-organization-language", "/help/configure-organization-language",
), ),
URLRedirect("/help/delete-a-stream", "/help/archive-a-stream"), URLRedirect("/help/delete-a-stream", "/help/archive-a-channel"),
URLRedirect("/help/archive-a-stream", "/help/archive-a-channel"),
URLRedirect("/help/change-the-topic-of-a-message", "/help/rename-a-topic"), URLRedirect("/help/change-the-topic-of-a-message", "/help/rename-a-topic"),
URLRedirect("/help/configure-missed-message-emails", "/help/email-notifications"), URLRedirect("/help/configure-missed-message-emails", "/help/email-notifications"),
URLRedirect("/help/add-an-alert-word", "/help/dm-mention-alert-notifications#alert-words"), URLRedirect("/help/add-an-alert-word", "/help/dm-mention-alert-notifications#alert-words"),

View File

@ -17840,7 +17840,7 @@ paths:
summary: Archive a stream summary: Archive a stream
tags: ["streams"] tags: ["streams"]
description: | description: |
[Archive the stream](/help/archive-a-stream) with the ID `stream_id`. [Archive the stream](/help/archive-a-channel) with the ID `stream_id`.
x-requires-administrator: true x-requires-administrator: true
parameters: parameters:
- $ref: "#/components/parameters/StreamIdInPath" - $ref: "#/components/parameters/StreamIdInPath"