Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3827a18
Add basic store state for preferences
talldan May 20, 2021
c52bf90
Add more menu component
talldan May 20, 2021
23f7920
Persist preferences
talldan May 20, 2021
f9fb645
Fix translator comment
talldan May 20, 2021
2a3073d
Add a few refinements to the dropdown menu component
talldan May 20, 2021
e19f5e2
Add dropdown menu styles
talldan May 20, 2021
5a27418
Use more menu for edit widgets
talldan May 20, 2021
0b67393
Update edit widgets to use feature toggles
talldan May 20, 2021
8b664e2
Remove some dead code
talldan May 20, 2021
d5497d1
Allow setting default feature values
talldan May 20, 2021
6329f05
Update some newer preferences after rebase
talldan Jul 30, 2021
ed0bba4
Remove invalid tests
talldan Jul 30, 2021
2891d29
Update package.json
talldan Jul 30, 2021
1704f95
Migrate editor preferences to edit-widgets
talldan Aug 5, 2021
b98850a
Update e2e test code for disabling the welcome guide
talldan Aug 5, 2021
6a2e2c7
Move preference defaults to a separate reducer to avoid persistence
talldan Aug 5, 2021
51442e1
Fix - export defaults reducer
talldan Aug 5, 2021
5f4e4c0
Add component docs and missing selector doc
talldan Aug 5, 2021
6d50c38
Add main readme docs
talldan Aug 5, 2021
9dd1b0e
Addthe example to the component docs as well
talldan Aug 5, 2021
a6e40c8
Update changelogs
talldan Aug 5, 2021
fcdbb3d
Add tests for selector
talldan Aug 5, 2021
0fcaf7c
Ensure toggling takes into account the default value
talldan Aug 9, 2021
f44f392
Rename MoreMenuDropdown to OptionsMenuDropdown
talldan Aug 16, 2021
4e6b560
Rename MoreMenuFeatureToggle to OptionsMenuFeatureTogle
talldan Aug 16, 2021
4b48a36
Rename OptionsMenuDropdown to OptionsMenu
talldan Aug 16, 2021
0b2b8c0
Fix style import
talldan Aug 16, 2021
b0f879b
Fix migration handling for multiple stores
talldan Aug 16, 2021
ef7da49
Update docs for migration function
talldan Aug 16, 2021
028565d
Fix store name
talldan Aug 16, 2021
e9c80c4
Revert "Fix style import"
talldan Aug 18, 2021
9931b6d
Revert "Rename OptionsMenuDropdown to OptionsMenu"
talldan Aug 18, 2021
b9e6fd3
Revert "Rename MoreMenuFeatureToggle to OptionsMenuFeatureTogle"
talldan Aug 18, 2021
5067fc2
Revert "Rename MoreMenuDropdown to OptionsMenuDropdown"
talldan Aug 18, 2021
9f58d3a
Remove setFeatureDefaults as an API
talldan Aug 18, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs for migration function
  • Loading branch information
talldan committed Aug 18, 2021
commit ef7da49df573c2afe26c17064682c3e33a744604
6 changes: 4 additions & 2 deletions packages/data/src/plugins/persistence/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,10 @@ function persistencePlugin( registry, pluginOptions ) {
* Move the 'features' object in local storage from the sourceStoreName to the
* interface store.
*
* @param {*} persistence
* @param {*} sourceStoreName
* @param {Object} persistence The persistence interface.
* @param {string} sourceStoreName The name of the store that has persisted
* preferences to migrate to the interface
* package.
*/
export function migrateFeaturePreferencesToInterfaceStore(
persistence,
Expand Down