You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following on from #312 , there are several performance improvements that could be made to the process which is currently launching 4 requests to publish a page, and assumes that a save is necessary prior to publishing too frequently (that is, often deems it necessary when it is not).
The first issue can hopefully be addressed by @ScopeyNZ 's work in #457 - by knowing what type of element we're trying to save, we can correctly supply the fields required to be saved with the GraphQL query.
The second issue may be able to be resolved by an update to react-form, as it seems isDirty isn't quite doing as it seems it is intended (details at #312 (comment)). Otherwise it seems a custom reducer to evaluate the form state in comparing values to initial would be the answer - although less desirable to using what the library provides us.
The text was updated successfully, but these errors were encountered:
Note from #517 - check when we do this that "save and publish" as well as "save" actions both take the model's validation rules into account before saving.
Following on from #312 , there are several performance improvements that could be made to the process which is currently launching 4 requests to publish a page, and assumes that a save is necessary prior to publishing too frequently (that is, often deems it necessary when it is not).
The first issue can hopefully be addressed by @ScopeyNZ 's work in #457 - by knowing what type of element we're trying to save, we can correctly supply the fields required to be saved with the GraphQL query.
The second issue may be able to be resolved by an update to
react-form
, as it seemsisDirty
isn't quite doing as it seems it is intended (details at #312 (comment)). Otherwise it seems a custom reducer to evaluate the form state in comparingvalues
toinitial
would be the answer - although less desirable to using what the library provides us.The text was updated successfully, but these errors were encountered: