mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-02 16:57:07 +03:00
feat(core): enable feature flag for release (#7738)
This commit is contained in:
parent
9f57ed5e84
commit
e6e9f7d4c7
@ -95,6 +95,9 @@ export function setupEditorFlags(docCollection: DocCollection) {
|
||||
// TODO(@eyhn): need a better way to manage block suite flags
|
||||
docCollection.awarenessStore.setFlag('enable_synced_doc_block', true);
|
||||
docCollection.awarenessStore.setFlag('enable_edgeless_text', true);
|
||||
docCollection.awarenessStore.setFlag('enable_color_picker', true);
|
||||
docCollection.awarenessStore.setFlag('enable_ai_chat_block', true);
|
||||
docCollection.awarenessStore.setFlag('enable_ai_onboarding', true);
|
||||
} catch (err) {
|
||||
logger.error('syncEditorFlags', err);
|
||||
}
|
||||
|
@ -150,9 +150,6 @@ const blocksuiteFeatureFlags: Partial<Record<keyof BlockSuiteFlags, string>> = {
|
||||
enable_database_attachment_note: 'Enable Database Attachment Note',
|
||||
enable_database_statistics: 'Enable Database Block Statistics',
|
||||
enable_block_query: 'Enable Todo Block Query',
|
||||
enable_ai_onboarding: 'Enable AI Onboarding',
|
||||
enable_ai_chat_block: 'Enable AI Chat Block',
|
||||
enable_color_picker: 'Enable Color Picker',
|
||||
};
|
||||
|
||||
const BlocksuiteFeatureFlagSettings = () => {
|
||||
|
@ -21,12 +21,11 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
|
||||
enableExperimentalFeature: true,
|
||||
allowLocalWorkspace:
|
||||
buildFlags.distribution === 'desktop' ? true : false,
|
||||
enableOrganize: false,
|
||||
enableNewFavorite: false,
|
||||
enableOldFavorite: true,
|
||||
enableOrganize: true,
|
||||
enableNewFavorite: true,
|
||||
enableOldFavorite: false,
|
||||
|
||||
// TODO(@forehalo): enable in next release and canary
|
||||
enableInfoModal: false,
|
||||
enableInfoModal: true,
|
||||
|
||||
// CAUTION(@forehalo): product not ready, do not enable it
|
||||
enableNewSettingUnstableApi: false,
|
||||
|
Loading…
Reference in New Issue
Block a user