magewire icon indicating copy to clipboard operation
magewire copied to clipboard

Fix Livewire Browser Plugin component updates

Open jissereitsma opened this issue 2 years ago • 2 comments

With the Livewire Browser Plugin you can modify component properties, which generate an AJAX call back to the server (similar to form.set('address.country_id', 'NL') via the MageWire JS API). However, in that case, the request parameters like the fingerprint are sent as part of a JSON body, and not with request parameters. This PR simply supports both.

jissereitsma avatar Oct 27 '23 12:10 jissereitsma

I see that Codacy is failing on various points. However, a lot of the points represent also issues with the current codebase. Shall I fix this in my PR or not?

jissereitsma avatar Nov 09 '23 07:11 jissereitsma

I've removed Codacy from the repo, wasn't satisfied with the output.

wpoortman avatar Nov 09 '23 13:11 wpoortman