Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Navigation screen] Replace component state and refs with Redux state (…
…#23033) * Squash * menu editor -> navigation editor * Rename CSS classes and shortcuts components to reflect menu vs navigation * "Privatize" concurrency-related actions * Migrate to uuid module * Remove persist: [ 'preferences' ] * Remove processing-related selectors in favor of controls which are not a public API * Wrap pending action in serializeProcessing() * Rename processing to processingQueue * Move the mapping back to state * Remove general resolveSelect control * Add undo/redo shortcuts * Remove persist option in proper store * Use the canonical way of keeping track of post resolution (and fix the rogue http query) * Add comments * Enforce menuId to be string * Add unit tests for mapping reducer * Add unit tests for processingQueue reducer * Update comment on getNavigationPost selector * Update comment on getNavigationPost * Ensure POP_PENDING_ACTION action don't mutate the state * Rename getNavigationPost to getNavigationPostForMenu * Handle empty nonce in batchSave * Don't export storeConfig * Simplify useCallback * Rename NavigationEditorWrapper to NavigationEditor * Ensure menuId is a number * Add comments for all exported members of store/**/*.js * Add comments to exported members of utils.js * Update package-lock.json
- Loading branch information