Skip to content

Commit

Permalink
feat: add Sidepanel_navigation setting
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti committed Jul 17, 2024
1 parent d0bedf7 commit f9d1ce6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions apps/meteor/server/settings/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,13 @@ export const createAccountSettings = () =>
i18nLabel: 'Sidebar_Sections_Order',
i18nDescription: 'Sidebar_Sections_Order_Description',
});

await this.add('Accounts_default_User_Preferences_sidepanelNavigation', true, {
type: 'boolean',
public: true,
i18nLabel: 'Sidepanel_navigation',
i18nDescription: 'Sidepanel_navigation_Description',
});
});

await this.section('Avatar', async function () {
Expand Down
4 changes: 3 additions & 1 deletion packages/i18n/src/locales/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -6483,5 +6483,7 @@
"Workspace_and_user_settings": "Workspace and user settings",
"Sidebar_Sections_Order": "Sidebar sections order",
"Sidebar_Sections_Order_Description": "Select the categories in your preferred order",
"Incoming_Calls": "Incoming calls"
"Incoming_Calls": "Incoming calls",
"Sidepanel_navigation": "Advanced team navigation",
"Sidepanel_navigation_Description": "Display channels and/or discussions associated with teams by default. This allows team owners to customize communication methods to best meet their team's needs.\n \n \nAdvanced team navigation is currently in feature preview and will be a premium capability once fully released.\n \n \nYou can [enable the preview of this feature](/account/accessibility-and-appearance) for everyone in the workspace."
}

0 comments on commit f9d1ce6

Please sign in to comment.