mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
Update maxVersion explanation in system-notices.md
Clarified the explanation regarding setting maxVersion for notices.
This commit is contained in:
@@ -138,7 +138,7 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
||||
|
||||
**Never remove or renumber an entry. Never reuse an ID.**
|
||||
|
||||
Dismissals are stored in the database keyed by `id`. Removing an entry means dismissed users would see it again if you ever add a notice with the same ID. If a notice is no longer needed, set `maxVersion` to the last app version on which it should appear — do not delete the entry.
|
||||
Dismissals are stored in the database keyed by `id`. Removing an entry means dismissed users would see it again if you ever add a notice with the same ID. If a notice is no longer needed, set `maxVersion` to the upper version on which it should appear (e.g. `4.0.0` means show notice until `4.0.0` is reached) — do not delete the entry.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user