A list of tasks/bugs to address related to the following PR: - https://github.com/WordPress/gutenberg/pull/54046 ## Tasks/Bugs - [x] Bug: calling `getRevisions()` then `getRevision` replaces current items state. https://github.com/WordPress/gutenberg/pull/56416 - [x] Bug: calling `getRevisions()` then `getRevision()` doesn't return cached store item (makes an unnecessary API call) https://github.com/WordPress/gutenberg/pull/56416 - [x] A follow up PR can use `getRevisions` for global styles revisions as per the above diff and potentially deprecate `getCurrentThemeGlobalStylesRevisions` https://github.com/WordPress/gutenberg/pull/56349 - [x] Extend `WP_REST_Global_Styles_Revisions_Controller` REST API class to handle fetching individual revisions: https://github.com/WordPress/gutenberg/pull/55827 - [x] Add support for other post types https://github.com/WordPress/gutenberg/pull/56353 - [x] Remove hard-coded constants for revisions supports https://github.com/WordPress/gutenberg/pull/56701 - [ ] ~https://github.com/WordPress/gutenberg/issues/56355~ ## Related - https://github.com/WordPress/gutenberg/issues/55776
A list of tasks/bugs to address related to the following PR:
Tasks/Bugs
getRevisions()thengetRevisionreplaces current items state. Core data: harmonize getRevision selector and resolver function signatures #56416getRevisions()thengetRevision()doesn't return cached store item (makes an unnecessary API call) Core data: harmonize getRevision selector and resolver function signatures #56416getRevisionsfor global styles revisions as per the above diff and potentially deprecategetCurrentThemeGlobalStylesRevisionsGlobal styles revisions: migrate API call to getRevisions() #56349WP_REST_Global_Styles_Revisions_ControllerREST API class to handle fetching individual revisions: Global styles revisions: add route for single styles revisions #55827Core data: selectors return stale data despite different query parameters #56355Related