feat: Option for separate edit mode (#4203)
* stash * wip * cleanup * Remove collaborativeEditing toggle, it will always be on in next release. Flip separateEdit -> seamlessEdit * Clarify language, hide toggle when collaborative editing is disabled * Flip boolean to match, easier to reason about
This commit is contained in:
@@ -45,8 +45,17 @@ export type IntegrationSettings<T> = T extends IntegrationType.Embed
|
||||
| { serviceTeamId: string };
|
||||
|
||||
export enum UserPreference {
|
||||
/** Whether reopening the app should redirect to the last viewed document. */
|
||||
RememberLastPath = "rememberLastPath",
|
||||
/** If web-style hand pointer should be used on interactive elements. */
|
||||
UseCursorPointer = "useCursorPointer",
|
||||
}
|
||||
|
||||
export type UserPreferences = { [key in UserPreference]?: boolean };
|
||||
|
||||
export enum TeamPreference {
|
||||
/** Whether documents have a separate edit mode instead of seamless editing. */
|
||||
SeamlessEdit = "seamlessEdit",
|
||||
}
|
||||
|
||||
export type TeamPreferences = { [key in TeamPreference]?: boolean };
|
||||
|
||||
Reference in New Issue
Block a user