settings: Rename "default" views to "home" views in settings and docs.

This commit renames "default" views to "home" views in the setting
labels, keyboard shortcuts list, help documentation and its urls.

This commit does not do changes in variable and class names, setting
field in database, API docs and changelog.

Fixes part of #27251.
This commit is contained in:
Sahil Batra 2023-10-18 15:00:32 +05:30 committed by Tim Abbott
parent d283707221
commit 760d793d6b
14 changed files with 42 additions and 41 deletions

View File

@ -973,7 +973,7 @@ No changes; feature level used for Zulip 5.0 release.
* [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings),
[`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
Added user setting `escape_navigates_to_default_view` to allow users to
[disable the keyboard shortcut](/help/configure-default-view) for the `Esc` key that
[disable the keyboard shortcut](/help/configure-home-view) for the `Esc` key that
navigates the app to the default view.
**Feature level 106**
@ -1475,7 +1475,7 @@ field with an integer field `invite_to_realm_policy`.
**Feature level 42**
* `PATCH /settings/display`: Added a new `default_view` setting allowing
the user to [set the default view](/help/configure-default-view).
the user to [set the default view](/help/configure-home-view).
**Feature level 41**

View File

@ -13,5 +13,5 @@
* [Reading strategies](/help/reading-strategies)
* [Inbox](/help/inbox)
* [Recent conversations](/help/recent-conversations)
* [Configure default view](/help/configure-default-view)
* [Configure home view](/help/configure-home-view)
* [Reading conversations](/help/reading-topics)

View File

@ -21,7 +21,7 @@ preference settings, including the following:
* [Time format](/help/change-the-time-format)
* [Light theme vs. dark theme](/help/dark-theme)
* [Emoji theme](/help/emoji-and-emoticons#change-your-emoji-set)
* [Default view](/help/configure-default-view)
* [Home view](/help/configure-home-view)
([Inbox](/help/inbox) vs.
[Recent conversations](/help/recent-conversations) vs.
[All messages](/help/reading-strategies#all-messages))

View File

@ -1,24 +1,24 @@
# Configure default view
# Configure home view
The default view in Zulip is the view you reach after logging in
to the Zulip web app. You can also navigate to the default view via
The home view in Zulip is the view you reach after logging in
to the Zulip web app. You can also navigate to the home view via
keyboard shortcuts.
The default views available in Zulip are
The home views available in Zulip are
[**Inbox**](/help/inbox),
[Recent conversations](/help/recent-conversations), and
[All messages](/help/all-messages). See
[Reading strategies](/help/reading-strategies) for recommendations
on how to use these views.
You can configure which view is set as your default, and whether
the <kbd>Esc</kbd> key navigates to the default view. Also, you can
always reach the default view by using the <kbd>Ctrl</kbd> + <kbd>[</kbd>
You can configure which view is set as your home view, and whether
the <kbd>Esc</kbd> key navigates to the home view. Also, you can
always reach the home view by using the <kbd>Ctrl</kbd> + <kbd>[</kbd>
shortcut.
## Change default view
## Change home view
Organization administrators can [configure the default view for their
Organization administrators can [configure the home view for their
organization](/help/configure-default-new-user-settings) to
[**Inbox**](/help/inbox),
[**Recent conversations**](/help/recent-conversations), or
@ -32,41 +32,41 @@ streams you follow.
- **All messages** is convenient for low-traffic organizations, or for skimming
messages as they come in.
You can customize your personal default view regardless of
You can customize your personal home view regardless of
organization settings:
{start_tabs}
{settings_tab|preferences}
1. Under **Advanced**, click on the **Default view** dropdown
1. Under **Advanced**, click on the **Home view** dropdown
and select a view.
1. To see your changes in action, open a new Zulip tab, or use a keyboard
shortcut twice to exit the settings and navigate to your default view
shortcut twice to exit the settings and navigate to your home view
(<kbd>Ctrl</kbd> + <kbd>[</kbd> or <kbd>Esc</kbd> if enabled).
{end_tabs}
## Configure whether <kbd>Esc</kbd> navigates to the default view
## Configure whether <kbd>Esc</kbd> navigates to the home view
Zulip has a number of [keyboard shortcuts](/help/keyboard-shortcuts)
designed to enhance the user experience in the app.
By default, the <kbd>Esc</kbd> key shortcut will ultimately navigate to
your default view. You can disable this key binding if you would prefer.
your home view. You can disable this key binding if you would prefer.
This will not disable other <kbd>Esc</kbd> key shortcuts used in Zulip,
and will not affect the behavior of the <kbd>Ctrl</kbd> + <kbd>[</kbd>
shortcut.
### Toggle whether <kbd>Esc</kbd> navigates to the default view
### Toggle whether <kbd>Esc</kbd> navigates to the home view
{start_tabs}
{settings_tab|preferences}
1. Under **Advanced**, toggle **Escape key navigates to
default view**, as desired.
home view**, as desired.
{end_tabs}

View File

@ -4,7 +4,7 @@
{!inbox-intro.md!}
Inbox is a convenient [default view](/help/configure-default-view) if you
Inbox is a convenient [home view](/help/configure-home-view) if you
regularly clear all unread messages in your subscribed streams.
{!inbox-instructions.md!}

View File

@ -2,8 +2,8 @@ The **All messages** view is a feed of all the unmuted messages you have
received, which combines stream messages and direct messages. It's a great way
to see new messages as they come in.
You can configure **All messages** to be the [default
view](/help/configure-default-view#configure-default-view) for the Zulip web app.
You can configure **All messages** to be the [home
view](/help/configure-home-view#configure-home-view) for the Zulip web app.
{start_tabs}

View File

@ -50,7 +50,7 @@
* [Change your time zone](/help/change-your-timezone)
* [Change the time format](/help/change-the-time-format)
* [Configure emoticon translations](/help/configure-emoticon-translations)
* [Configure default view](/help/configure-default-view)
* [Configure home view](/help/configure-home-view)
* [Enable full width display](/help/enable-full-width-display)
* [Manage your uploaded files](/help/manage-your-uploaded-files)

View File

@ -44,11 +44,11 @@ in the Zulip app to add more to your repertoire as needed.
* **Toggle keyboard shortcuts view**: <kbd>?</kbd>
* **Go to default view**: <kbd>Ctrl</kbd> + <kbd>[</kbd> (or
* **Go to home view**: <kbd>Ctrl</kbd> + <kbd>[</kbd> (or
<kbd>Esc</kbd>, [if enabled][disable-escape])
until you are in the [default view](/help/configure-default-view).
until you are in the [home view](/help/configure-home-view).
[disable-escape]: /help/configure-default-view#configure-whether-esc-navigates-to-the-default-view
[disable-escape]: /help/configure-home-view#configure-whether-esc-navigates-to-the-home-view
## Navigation
* **Search messages**: <kbd>/</kbd> or <kbd>Ctrl</kbd> + <kbd>K</kbd>

View File

@ -15,4 +15,4 @@
* [Reading strategies](/help/reading-strategies)
* [Inbox](/help/inbox)
* [All messages](/help/all-messages)
* [Configure default view](/help/configure-default-view)
* [Configure home view](/help/configure-home-view)

View File

@ -553,7 +553,7 @@ export const display_settings_labels = {
"Display names of reacting users when few users have reacted to a message",
}),
),
escape_navigates_to_default_view: $t({defaultMessage: "Escape key navigates to default view"}),
escape_navigates_to_default_view: $t({defaultMessage: "Escape key navigates to home view"}),
default_language_settings_label: $t({defaultMessage: "Language"}),
};

View File

@ -53,7 +53,7 @@
<td><span class="hotkey"><kbd>?</kbd></span></td>
</tr>
<tr>
<td class="definition">{{t 'Go to default view' }}</td>
<td class="definition">{{t 'Go to home view' }}</td>
<td><span class="hotkey"><kbd>Ctrl</kbd> + <kbd>[</kbd><span id="go-to-default-view-hotkey-help"> or <kbd>Esc</kbd></span></span></td>
</tr>
</table>

View File

@ -125,8 +125,8 @@
</div>
<div class="input-group thinner setting-next-is-related">
<label for="default_view" class="dropdown-title">{{t "Default view" }}
{{> ../help_link_widget link="/help/configure-default-view" }}
<label for="default_view" class="dropdown-title">{{t "Home view" }}
{{> ../help_link_widget link="/help/configure-home-view" }}
</label>
<select name="default_view" class="setting_default_view prop-element settings_select bootstrap-focus-style" id="{{prefix}}default_view" data-setting-widget-type="string">
{{> dropdown_options_widget option_values=default_view_values}}

View File

@ -77,6 +77,7 @@ HELP_DOCUMENTATION_REDIRECTS: List[URLRedirect] = [
URLRedirect("/help/starting-a-new-private-thread", "/help/starting-a-new-direct-message"),
URLRedirect("/help/edit-or-delete-a-message", "/help/delete-a-message"),
URLRedirect("/help/start-a-new-topic", "/help/starting-a-new-topic"),
URLRedirect("/help/configure-default-view", "/help/configure-home-view"),
]
LANDING_PAGE_REDIRECTS = [

View File

@ -10007,7 +10007,7 @@ paths:
- name: default_view
in: query
description: |
The [default view](/help/configure-default-view) used when opening a new
The [default view](/help/configure-home-view) used when opening a new
Zulip web app window or hitting the `Esc` keyboard shortcut repeatedly.
- "recent_topics" - Recent conversations view
@ -10020,7 +10020,7 @@ paths:
in: query
description: |
Whether the escape key navigates to the
[configured default view](/help/configure-default-view).
[configured default view](/help/configure-home-view).
**Changes**: New in Zulip 5.0 (feature level 107).
schema:
@ -12342,7 +12342,7 @@ paths:
default_view:
type: string
description: |
The [default view](/help/configure-default-view) used when opening a new
The [default view](/help/configure-home-view) used when opening a new
Zulip web app window or hitting the `Esc` keyboard shortcut repeatedly.
- "recent_topics" - Recent conversations view
@ -12352,7 +12352,7 @@ paths:
type: boolean
description: |
Whether the escape key navigates to the
[configured default view](/help/configure-default-view).
[configured default view](/help/configure-home-view).
**Changes**: New in Zulip 5.0 (feature level 107).
left_side_userlist:
@ -13195,7 +13195,7 @@ paths:
and only for clients that did not include `user_settings_object` in
their [`client_capabilities`][capabilities] when registering the event queue.
The [default view](/help/configure-default-view) in Zulip, represented
The [default view](/help/configure-home-view) in Zulip, represented
as the URL suffix after `#` to be rendered when Zulip loads.
Currently supported values are `all_messages` and `recent_topics`.
@ -14535,7 +14535,7 @@ paths:
default_view:
type: string
description: |
The [default view](/help/configure-default-view) used when opening a new
The [default view](/help/configure-home-view) used when opening a new
Zulip web app window or hitting the `Esc` keyboard shortcut repeatedly.
- "recent_topics" - Recent conversations view
@ -14545,7 +14545,7 @@ paths:
type: boolean
description: |
Whether the escape key navigates to the
[configured default view](/help/configure-default-view).
[configured default view](/help/configure-home-view).
**Changes**: New in Zulip 5.0 (feature level 107).
left_side_userlist:
@ -15600,7 +15600,7 @@ paths:
- name: default_view
in: query
description: |
The [default view](/help/configure-default-view) used when opening a new
The [default view](/help/configure-home-view) used when opening a new
Zulip web app window or hitting the `Esc` keyboard shortcut repeatedly.
- "recent_topics" - Recent conversations view
@ -15618,7 +15618,7 @@ paths:
in: query
description: |
Whether the escape key navigates to the
[configured default view](/help/configure-default-view).
[configured default view](/help/configure-home-view).
**Changes**: New in Zulip 5.0 (feature level 107).
schema: