[ CoreData Entities ] add support for delete operations#21557
[ CoreData Entities ] add support for delete operations#21557draganescu merged 32 commits intomasterfrom
Conversation
|
Size Change: -1.01 MB (87%) 🏆 Total Size: 1.15 MB
ℹ️ View Unchanged
|
40bb71d to
26a70f8
Compare
|
I've added a As a quick fix we could not use entities :) or otherwise we need the delete option in place. In absence, the delete works but on switching between menus the cache wrongly shows deleted menu items too. cc @noisysocks |
43edd43 to
f010401
Compare
f010401 to
ffb83d4
Compare
packages/edit-navigation/src/components/menu-editor/use-navigation-blocks.js
Outdated
Show resolved
Hide resolved
packages/edit-navigation/src/components/menu-editor/use-navigation-blocks.js
Outdated
Show resolved
Hide resolved
packages/edit-navigation/src/components/menu-editor/use-navigation-blocks.js
Outdated
Show resolved
Hide resolved
packages/edit-navigation/src/components/menu-editor/use-navigation-blocks.js
Outdated
Show resolved
Hide resolved
packages/edit-navigation/src/components/menu-editor/use-navigation-blocks.js
Outdated
Show resolved
Hide resolved
packages/edit-navigation/src/components/menu-editor/use-navigation-blocks.js
Outdated
Show resolved
Hide resolved
93c0e09 to
c6896f7
Compare
|
@draganescu I think I got it to work, the culprit was the |
packages/edit-navigation/src/components/menu-editor/use-navigation-blocks.js
Outdated
Show resolved
Hide resolved
|
This is looking really good! We need to add unit tests for the two new actions ( Let's also add a note to |
7f3aa1e to
c059655
Compare
|
@draganescu I rebased, tested a few scenarios, and here's what happened: |
|
Apparently nested items break the deletions and it appears to be a bug in the hook because all the nested items get deleted. |
* adds delete menu with entity delete * updates the delete and removes the stateMenus * passes the new force query param * fix bug with resetting current menu after delete
d91d165 to
5abdf63
Compare
…removed useless string conversion
Co-authored-by: Enrique Piqueras <epiqueras@users.noreply.github.com>
…ms action also improves tests and made sure the notifications always have unique ids
- test delete for final shape when generator is done - simplify filter removing items from query


Description
Adds support for delete operations to entities. For a testing example use #22428
Screenshots
Types of changes
New feature to the entity actions and reducers that enable one to call
delete[EntityName]