refactor(editor): Remove user activation modal (no-changelog) (#6361)
* Remove user activation modal * remove export from index.ts * Update pnpm-lock.yaml --------- Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -258,8 +258,6 @@ export class Server extends AbstractServer {
|
||||
},
|
||||
personalizationSurveyEnabled:
|
||||
config.getEnv('personalization.enabled') && config.getEnv('diagnostics.enabled'),
|
||||
userActivationSurveyEnabled:
|
||||
config.getEnv('userActivationSurvey.enabled') && config.getEnv('diagnostics.enabled'),
|
||||
defaultLocale: config.getEnv('defaultLocale'),
|
||||
userManagement: {
|
||||
enabled: isUserManagementEnabled(),
|
||||
|
||||
@@ -1043,15 +1043,6 @@ export const schema = {
|
||||
},
|
||||
},
|
||||
|
||||
userActivationSurvey: {
|
||||
enabled: {
|
||||
doc: 'Whether user activation survey is enabled.',
|
||||
format: Boolean,
|
||||
default: true,
|
||||
env: 'N8N_USER_ACTIVATION_SURVEY_ENABLED',
|
||||
},
|
||||
},
|
||||
|
||||
diagnostics: {
|
||||
enabled: {
|
||||
doc: 'Whether diagnostic mode is enabled.',
|
||||
|
||||
@@ -118,7 +118,6 @@ export async function workflowExecutionCompleted(
|
||||
await UserService.updateUserSettings(owner.id, {
|
||||
firstSuccessfulWorkflowId: workflowId,
|
||||
userActivated: true,
|
||||
showUserActivationSurvey: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -33,10 +33,6 @@ export class UserUpdatePayload implements Pick<User, 'email' | 'firstName' | 'la
|
||||
lastName: string;
|
||||
}
|
||||
export class UserSettingsUpdatePayload {
|
||||
@IsBoolean({ message: 'showUserActivationSurvey should be a boolean' })
|
||||
@IsOptional()
|
||||
showUserActivationSurvey: boolean;
|
||||
|
||||
@IsBoolean({ message: 'userActivated should be a boolean' })
|
||||
@IsOptional()
|
||||
userActivated: boolean;
|
||||
|
||||
Reference in New Issue
Block a user