[PR #6234] Added Global Synced Prefs #6400

Closed
opened 2026-02-28 21:27:47 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6234

State: closed
Merged: Yes


rebuilding the global synced prefs using sync-server this time


Note

Adds a server-backed preferences system and integrates it into the client UI and state.

  • New server_prefs table with migration; APIs to read/write prefs: GET /validate now includes prefs, and POST /server-prefs (admin-only) saves prefs with upsert; covered by tests
  • Desktop: new serverPrefs Redux slice with saveServerPrefs thunk and useServerPref hook; wired into store and test mock
  • Experimental settings: introduce ServerFeatureToggle gated by server status, login method, and permissions; use it to surface flags.plugins (disabled toggle for now)
  • Update auth app to proxy save-server-prefs and return serverPrefs on subscribe-get-user
  • Remove plugins from FeatureFlag defaults; feature flag hook reads flags.<name> from synced prefs
  • Add release note entry

Written by Cursor Bugbot for commit 3f404bdf00. This will update automatically on new commits. Configure here.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6234 **State:** closed **Merged:** Yes --- rebuilding the global synced prefs using sync-server this time <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds a server-backed preferences system and integrates it into the client UI and state. > > - New `server_prefs` table with migration; APIs to read/write prefs: `GET /validate` now includes `prefs`, and `POST /server-prefs` (admin-only) saves prefs with upsert; covered by tests > - Desktop: new `serverPrefs` Redux slice with `saveServerPrefs` thunk and `useServerPref` hook; wired into store and test mock > - `Experimental` settings: introduce `ServerFeatureToggle` gated by server status, login method, and permissions; use it to surface `flags.plugins` (disabled toggle for now) > - Update auth app to proxy `save-server-prefs` and return `serverPrefs` on `subscribe-get-user` > - Remove `plugins` from `FeatureFlag` defaults; feature flag hook reads `flags.<name>` from synced prefs > - Add release note entry > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 3f404bdf00c8309d87fcaa65b4436605d577d936. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
GiteaMirror added the pull-request label 2026-02-28 21:27:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6400