mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
feat(system-notices): apply version gates to v3 upgrade notices
This commit is contained in:
@@ -27,6 +27,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
|||||||
conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }],
|
conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }],
|
||||||
publishedAt: '2026-04-16T00:00:00Z',
|
publishedAt: '2026-04-16T00:00:00Z',
|
||||||
priority: 90,
|
priority: 90,
|
||||||
|
minVersion: '3.0.0',
|
||||||
|
maxVersion: '4.0.0',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -55,6 +57,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
|||||||
],
|
],
|
||||||
publishedAt: '2026-04-16T00:00:00Z',
|
publishedAt: '2026-04-16T00:00:00Z',
|
||||||
priority: 80,
|
priority: 80,
|
||||||
|
minVersion: '3.0.0',
|
||||||
|
maxVersion: '4.0.0',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -78,6 +82,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
|||||||
],
|
],
|
||||||
publishedAt: '2026-04-16T00:00:00Z',
|
publishedAt: '2026-04-16T00:00:00Z',
|
||||||
priority: 75,
|
priority: 75,
|
||||||
|
minVersion: '3.0.0',
|
||||||
|
maxVersion: '4.0.0',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -98,6 +104,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
|||||||
conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }],
|
conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }],
|
||||||
publishedAt: '2026-04-16T00:00:00Z',
|
publishedAt: '2026-04-16T00:00:00Z',
|
||||||
priority: 70,
|
priority: 70,
|
||||||
|
minVersion: '3.0.0',
|
||||||
|
maxVersion: '4.0.0',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -112,6 +120,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
|||||||
conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }],
|
conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }],
|
||||||
publishedAt: '2026-04-16T00:00:00Z',
|
publishedAt: '2026-04-16T00:00:00Z',
|
||||||
priority: 95,
|
priority: 95,
|
||||||
|
minVersion: '3.0.0',
|
||||||
|
maxVersion: '4.0.0',
|
||||||
},
|
},
|
||||||
|
|
||||||
// ── Onboarding ─────────────────────────────────────────────────────────────
|
// ── Onboarding ─────────────────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user