|
|
|
@ -4,11 +4,16 @@ import { DURATION } from '../../session/constants';
|
|
|
|
|
// update this to be when we ship desktop groups REMOVE AFTER QA
|
|
|
|
|
const GROUP_DESKTOP_RELEASE = 1767225600 * 1000; // currently Thursday, January 1, 2026 12:00:00 AM
|
|
|
|
|
|
|
|
|
|
// FIXME update this to the correct timestamp REMOVE AFTER QA
|
|
|
|
|
/**
|
|
|
|
|
* 1 week after the release of groups (more or less), we force new groups to be created as new groups
|
|
|
|
|
*/
|
|
|
|
|
export const START_CREATE_NEW_GROUP_TIMESTAMP_MS = GROUP_DESKTOP_RELEASE + DURATION.WEEKS * 1;
|
|
|
|
|
|
|
|
|
|
// FIXME update this to the correct timestamp REMOVE AFTER QA
|
|
|
|
|
export const LEGACY_GROUP_DEPRECATED_TIMESTAMP_MS = GROUP_DESKTOP_RELEASE + DURATION.WEEKS * 3;
|
|
|
|
|
/**
|
|
|
|
|
* 2 weeks after `START_CREATE_NEW_GROUP_TIMESTAMP_MS`, we mark legacy groups readonly
|
|
|
|
|
*/
|
|
|
|
|
export const LEGACY_GROUP_DEPRECATED_TIMESTAMP_MS =
|
|
|
|
|
START_CREATE_NEW_GROUP_TIMESTAMP_MS + DURATION.WEEKS * 2;
|
|
|
|
|
|
|
|
|
|
export interface ReleasedFeaturesState {
|
|
|
|
|
legacyGroupDeprecationTimestampRefreshAtMs: number;
|
|
|
|
|