kirby3-TabsField icon indicating copy to clipboard operation
kirby3-TabsField copied to clipboard

Remove the vuex.store content hack

Open Daandelange opened this issue 2 years ago • 0 comments

The current implementation injects a kind-of "hack" in the vuex store to hide the content modifications from the notifications bar. The content changes are solely needed on the tabs-field to enable the when conditions within other fields.

By the way, it displays an warning/error on injection : [vuex] duplicate namespace content/ for the namespaced module content

For less hacky code and a more "kirby-native" integration with less risk of breaking itself, a different approach is needed, but I can't think of one.

Maybe there's something to do together with k3-whenquery, but that adds a dependency which might not really be needed ?
Otherwise, that repo might be a very useful inspiration for doing it properly anyways.

Daandelange avatar Jan 17 '22 15:01 Daandelange