silverstripe / silverstripe-elemental

Create pages in Silverstripe CMS using content blocks
http://dna.co.nz
BSD 3-Clause "New" or "Revised" License
110 stars 115 forks source link

Add optimistic cache updates to saving blocks #408

Open ScopeyNZ opened 6 years ago

ScopeyNZ commented 6 years ago

In elemental ^4.

Now there's a button to save in-line edited blocks individually with #296. This is awesome but it still reloads the list of blocks on save. Preferably we can update Apollo with optimistic cache updates and avoid the reload.

robbieaverill commented 6 years ago

My initial attempt with narrative: https://github.com/dnadesign/silverstripe-elemental/pull/392#issuecomment-422897050