Settings UI: Move Todos config data to a dedicated REST endpoint. Add payment method - todo state sync.

This commit is contained in:
Daniel Dudzic 2025-01-28 11:52:56 +01:00
parent f5be7481fa
commit 611dc0ae38
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
20 changed files with 691 additions and 26 deletions

View file

@ -4,6 +4,7 @@ import {
PaymentStoreName,
SettingsStoreName,
StylingStoreName,
TodosStoreName,
} from './index';
import { setCompleted } from './onboarding/actions';
@ -56,6 +57,7 @@ export const addDebugTools = ( context, modules ) => {
stores.push( PaymentStoreName );
stores.push( SettingsStoreName );
stores.push( StylingStoreName );
stores.push( TodosStoreName );
} else {
// Only reset the common & onboarding stores to restart the onboarding wizard.
stores.push( CommonStoreName );