Add team preference to use logo for branding (#4285)
* feat: add team preference to use logo for branding * fix: allow on cloud version too
This commit is contained in:
@@ -659,6 +659,8 @@
|
||||
"Manage optional and beta features. Changing these settings will affect the experience for all members of the workspace.": "Manage optional and beta features. Changing these settings will affect the experience for all members of the workspace.",
|
||||
"Seamless editing": "Seamless editing",
|
||||
"When enabled documents are always editable for team members that have permission. When disabled there is a separate editing view.": "When enabled documents are always editable for team members that have permission. When disabled there is a separate editing view.",
|
||||
"Public branding": "Public branding",
|
||||
"Show your team’s logo on public pages like login and shared documents.": "Show your team’s logo on public pages like login and shared documents.",
|
||||
"New group": "New group",
|
||||
"Groups can be used to organize and manage the people on your team.": "Groups can be used to organize and manage the people on your team.",
|
||||
"All groups": "All groups",
|
||||
|
||||
@@ -12,7 +12,6 @@ export type PublicEnv = {
|
||||
ENVIRONMENT: string;
|
||||
SENTRY_DSN: string | undefined;
|
||||
SENTRY_TUNNEL: string | undefined;
|
||||
TEAM_LOGO: string | undefined;
|
||||
SLACK_CLIENT_ID: string | undefined;
|
||||
SLACK_APP_ID: string | undefined;
|
||||
MAXIMUM_IMPORT_SIZE: number;
|
||||
@@ -57,6 +56,8 @@ export type UserPreferences = { [key in UserPreference]?: boolean };
|
||||
export enum TeamPreference {
|
||||
/** Whether documents have a separate edit mode instead of seamless editing. */
|
||||
SeamlessEdit = "seamlessEdit",
|
||||
/** Whether to use team logo across the app for branding. */
|
||||
PublicBranding = "publicBranding",
|
||||
}
|
||||
|
||||
export type TeamPreferences = { [key in TeamPreference]?: boolean };
|
||||
|
||||
Reference in New Issue
Block a user