chore(editor): disable legacy validation (#9473)

This commit is contained in:
Saul-Mirone
2025-01-01 13:45:37 +00:00
parent 4b21dac4f8
commit 4be031b311
9 changed files with 16 additions and 120 deletions
@@ -16,16 +16,6 @@ export const AFFINE_FLAGS = {
configurable: true,
defaultState: true,
},
enable_new_dnd: {
category: 'blocksuite',
bsFlag: 'enable_new_dnd',
displayName:
'com.affine.settings.workspace.experimental-features.enable-new-dnd.name',
description:
'com.affine.settings.workspace.experimental-features.enable-new-dnd.description',
configurable: false,
defaultState: true,
},
enable_database_full_width: {
category: 'blocksuite',
bsFlag: 'enable_database_full_width',
@@ -1,5 +1,5 @@
{
"ar": 68,
"ar": 67,
"ca": 5,
"da": 5,
"de": 26,
@@ -15,10 +15,10 @@
"ja": 90,
"ko": 72,
"pl": 0,
"pt-BR": 78,
"pt-BR": 77,
"ru": 66,
"sv-SE": 4,
"ur": 2,
"zh-Hans": 91,
"zh-Hans": 90,
"zh-Hant": 90
}
+13 -9
View File
@@ -410,7 +410,7 @@ export function useAFFiNEI18N(): {
*/
Select(): string;
/**
* `Sign in AFFiNE Cloud`
* `Sign in`
*/
["Sign in"](): string;
/**
@@ -5119,14 +5119,6 @@ export function useAFFiNEI18N(): {
* `Enable or disable ALL AI features.`
*/
["com.affine.settings.workspace.experimental-features.enable-ai.description"](): string;
/**
* `Enable New DND`
*/
["com.affine.settings.workspace.experimental-features.enable-new-dnd.name"](): string;
/**
* `Enable new drag and drop features.`
*/
["com.affine.settings.workspace.experimental-features.enable-new-dnd.description"](): string;
/**
* `Database Full Width`
*/
@@ -5303,6 +5295,14 @@ export function useAFFiNEI18N(): {
* `Once enabled, users can edit edgeless canvas.`
*/
["com.affine.settings.workspace.experimental-features.enable-mobile-edgeless-editing.description"](): string;
/**
* `PDF embed preview`
*/
["com.affine.settings.workspace.experimental-features.enable-pdf-embed-preview.name"](): string;
/**
* `Once enabled, you can preview PDF in embed view.`
*/
["com.affine.settings.workspace.experimental-features.enable-pdf-embed-preview.description"](): string;
/**
* `Only an owner can edit the workspace avatar and name. Changes will be shown for everyone.`
*/
@@ -6477,6 +6477,10 @@ export function useAFFiNEI18N(): {
* `Got It`
*/
["com.affine.payment.sync-paused.member.member.confirm"](): string;
/**
* `Delete Server`
*/
["com.affine.server.delete"](): string;
} { const { t } = useTranslation(); return useMemo(() => createProxy((key) => t.bind(null, key)), [t]); }
function createComponent(i18nKey: string) {
return (props) => createElement(Trans, { i18nKey, shouldUnescape: true, ...props });
@@ -1277,8 +1277,6 @@
"com.affine.settings.workspace.experimental-features.prompt-warning-title": "WARNING MESSAGE",
"com.affine.settings.workspace.experimental-features.enable-ai.name": "Enable AI",
"com.affine.settings.workspace.experimental-features.enable-ai.description": "Enable or disable ALL AI features.",
"com.affine.settings.workspace.experimental-features.enable-new-dnd.name": "Enable New DND",
"com.affine.settings.workspace.experimental-features.enable-new-dnd.description": "Enable new drag and drop features.",
"com.affine.settings.workspace.experimental-features.enable-database-full-width.name": "Database Full Width",
"com.affine.settings.workspace.experimental-features.enable-database-full-width.description": "The database will be displayed in full-width mode.",
"com.affine.settings.workspace.experimental-features.enable-database-attachment-note.name": "Database Attachment Note",