chore(editor): add feature flag entry for testing turbo renderer (#10581)

The debug pane will be displayed once the `enable_turbo_renderer` feature flag is enabled.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/lEGcysB4lFTEbCwZ8jMv/c1ba558a-2d84-403c-aa81-864b0338c861.png)
This commit is contained in:
doodlewind
2025-03-04 05:38:44 +00:00
parent 1c29d0e269
commit c418e89fb9
3 changed files with 24 additions and 1 deletions
@@ -238,6 +238,13 @@ export const AFFINE_FLAGS = {
configurable: BUILD_CONFIG.isMobileEdition,
defaultState: false,
},
enable_turbo_renderer: {
category: 'affine',
displayName: 'Enable Turbo Renderer',
description: 'Enable experimental edgeless turbo renderer',
configurable: isCanaryBuild,
defaultState: false,
},
} satisfies { [key in string]: FlagInfo };
// oxlint-disable-next-line no-redeclare