silverstripe / silverstripe-admin

Silverstripe Admin Component
BSD 3-Clause "New" or "Revised" License
25 stars 92 forks source link

JS change tracking is very inconsistent #1665

Open emteknetnz opened 8 months ago

emteknetnz commented 8 months ago

The JS change tracker, which sets the dirty states on the edit form "Save" and "Publish" buttons is very inconsistent

It really doesn't help that the edit form Save/Publish buttons are regular DOM elements, the change tracker using entwine and a large amount of a input fields are react based.

I feel as though there's simply too much complexity an convolution at this point to properly fix this inconsistency. At this point it feels as though we'd really need the entire CMS in react and we'd need to fully redo the change tracking system which would either use some type of application state, or we'd have a good system of emiting events.