Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(web): turn unified document discussions on by default in dev (#6624)

gbirmana1c6e5eb9de5
diff --git a/apps/web/src/lib/core/constant/featureFlags.ts b/apps/web/src/lib/core/constant/featureFlags.ts
index 6752f532bf..16abade66e 100644
--- a/apps/web/src/lib/core/constant/featureFlags.ts
+++ b/apps/web/src/lib/core/constant/featureFlags.ts
@@ -703,10 +703,13 @@ export const enableSpreadsheets = defineFlag({
/**
* Document comments read and write through the shared message API and render
* with the channel message components; the legacy annotation comment stores
- * stay in place while this is off. Channels are not gated. Override locally with
- * VITE_ENABLE_UNIFIED_DOCUMENT_DISCUSSIONS.
+ * stay in place while this is off. Channels are not gated. On in dev, where the
+ * legacy comments have already been imported into the message store; production
+ * follows PostHog and stays off until its own import has run. Override locally
+ * with VITE_ENABLE_UNIFIED_DOCUMENT_DISCUSSIONS.
*/
export const enableUnifiedDocumentDiscussions = defineFlag({
key: 'enable-unified-document-discussions',
env: 'ENABLE_UNIFIED_DOCUMENT_DISCUSSIONS',
+ default: onInDev,
});