Skip to content

Remove code behind FeatureFlag.newSettingsStorage and FeatureFlag.settingsSync#4640

Open
kean wants to merge 1 commit into
trunkfrom
remove-new-settings-storage-flags
Open

Remove code behind FeatureFlag.newSettingsStorage and FeatureFlag.settingsSync#4640
kean wants to merge 1 commit into
trunkfrom
remove-new-settings-storage-flags

Conversation

@kean

@kean kean commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Removes all code gated by FeatureFlag.newSettingsStorage and FeatureFlag.settingsSync, along with the two flags themselves.

To test

  1. Build and run the app.
  2. Open Settings → General and toggle a few options (keep screen awake, auto-open player, smart playback, open links in browser); confirm they persist across relaunch.
  3. Open a podcast → Settings → playback effects; change custom speed / trim silence / volume boost and confirm they persist.
  4. Change app appearance/theme and confirm it persists.
  5. Confirm settings still sync to the server (skip times, marketing opt-in, home grid sort).

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the Event Horizon schema to reflect any new or changed analytics.

Copilot AI review requested due to automatic review settings June 29, 2026 20:48
@kean kean requested a review from a team as a code owner June 29, 2026 20:48
@kean kean added this to the 8.16 milestone Jun 29, 2026
@kean kean added settings Issues related to user or podcast settings refactoring Refactoring related issues labels Jun 29, 2026
@kean kean requested review from SergioEstevao and removed request for a team June 29, 2026 20:48
@kean kean added settings Issues related to user or podcast settings refactoring Refactoring related issues labels Jun 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

} else {
return showArchived
}
showArchived

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As step two, I can remove these now redundant properties.

…tingsSync

Both flags were permanently disabled in production (shouldEnableSyncedSettings
was hardcoded to false), so the flag-on "synced settings storage" paths were
dead. Keep the legacy behavior, remove the flag-gated branches, the two flags,
and the support code that became unused (settings import/migration, apiSettings,
processSettings, named-settings sync extensions).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kean kean force-pushed the remove-new-settings-storage-flags branch from 3e3ed73 to db3b09b Compare June 29, 2026 20:56
@kean kean changed the base branch from trunk to fix/auto-add-up-next-mass-update June 29, 2026 20:56
Base automatically changed from fix/auto-add-up-next-mass-update to trunk July 1, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Refactoring related issues settings Issues related to user or podcast settings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants