chore: remove old one-time migrations and dead flags

This commit is contained in:
Jones Jankovic committed 2026-11-02 21:03:59 +10:30
1 parent 67033a0f8c
commit c1faab6e83
7 files changed
+17 -159

No files matched your search

+11 -34
View File
@@ -582,14 +582,6 @@ Keys (from `SettingsState`):
| **Format** | `"YYYY-MM"` calendar month |
| **Example** | `"2026-06"` |
#### `themeOfTheMonthLastSeenId`
| | |
| ---------- | ------------------------------------------- |
| **Type** | `string` |
| **Status** | Deprecated; may still exist in old profiles |
| **Synced** | Yes if present |
### One-time announcements & privacy
#### `privacyStatementShown`
@@ -606,20 +598,6 @@ Keys (from `SettingsState`):
| **Type** | `string` |
| **Format** | ISO date, e.g. `"2025-12-20"` |
#### `engageParentsAnnouncementShown`
| | |
| ----------- | ------------------------------------------- |
| **Type** | `boolean` |
| **Purpose** | SEQTA Engage parents announcement dismissed |
#### `bsCloudAutoSyncAnnouncementShown`
| | |
| ----------- | -------------------------------------- |
| **Type** | `boolean` |
| **Purpose** | Cloud auto-sync announcement dismissed |
### Update & developer flags
#### `justupdated`
@@ -1165,18 +1143,17 @@ Animated background selection uses `BackgroundSelector` (local/custom background
### Automatic / popup-only (synced, no dedicated settings control)
| Storage key / path | How it changes |
| ------------------------------------------------------ | -------------------------------------------------- |
| `lessonalert` | Default only — **no UI** (read by home loader) |
| `privacyStatementShown`, `privacyStatementLastUpdated` | Privacy popup on first run (dev can reset) |
| `engageParentsAnnouncementShown` | Dismiss Engage parents announcement |
| `bsCloudAutoSyncAnnouncementShown` | Dismiss cloud sync announcement |
| `themeOfTheMonthDismissedMonth` | Dismiss Theme of the Month popup |
| `justupdated` | Set `true` after extension update |
| `lastSeenNightlyPublishedAt` | Dismiss / acknowledge GitHub nightly update badge |
| `profile_picture_revision` | Incremented when profile picture changes |
| `plugin.notificationCollector.storage.*` | Written by notification poll loop |
| Legacy `animatedbk`, `bksliderinput`, etc. | Migrated to plugin settings; no longer shown in UI |
| Storage key / path | How it changes |
| ------------------------------------------------------ | ---------------------------------------------- |
| `lessonalert` | Default only — **no UI** (read by home loader) |
| `privacyStatementShown`, `privacyStatementLastUpdated` | Privacy popup on first run (dev can reset) |
| `themeOfTheMonthDismissedMonth` | Dismiss Theme of the Month popup |
| `justupdated` | Set `true` after extension update |
| `lastSeenNightlyPublishedAt` | Dismiss / acknowledge GitHub nightly update badge |
| `profile_picture_revision` | Incremented when profile picture changes |
| `plugin.notificationCollector.storage.*` | Written by notification poll loop |
| Legacy `animatedbk`, `bksliderinput`, etc. | Migrated to plugin settings; no longer shown in UI |
### Synced plugin prefs with UI vs storage-only side effects