Remove Writefull.enabled (#31476)
* feat: migrate from aiErrorAssist naming for disabling AI features to aiFeatures.enabled to avoid confusion feat: keep aiErrorAssistant as setting on user object until migration is run * feat: migrate writefull.enabled unset to instead use promotionSet false * feat: remove wf.enabled in favor for aiFeatures.enabled for display, and writefull.promotionSet for determining if we should autoload or autocreate GitOrigin-RevId: 2b7a5b8a430a804f6c9804cc926cb5c057e34df5
This commit is contained in:
committed by
Copybot
parent
48a5de31e1
commit
8e5c207f6b
@@ -144,13 +144,8 @@ async function settingsPage(req, res) {
|
||||
zotero: Boolean(user.refProviders?.zotero),
|
||||
papers: Boolean(user.refProviders?.papers),
|
||||
},
|
||||
writefull: {
|
||||
enabled: Boolean(user.writefull?.enabled),
|
||||
},
|
||||
aiFeatures: {
|
||||
enabled: Boolean(user.aiFeatures?.enabled),
|
||||
},
|
||||
},
|
||||
showAiFeatures: Boolean(user.aiFeatures?.enabled),
|
||||
labsExperiments: user.labsExperiments ?? [],
|
||||
hasPassword: !!user.hashedPassword,
|
||||
shouldAllowEditingDetails,
|
||||
|
||||
Reference in New Issue
Block a user