Editing an approved draft invalidates its approval, a browser test shows
A developer building a local draft-review prototype found that an approval should attach to the specific reviewed text rather than a fixed row ID. The prototype's checks reset when text was edited, which Playwright assertions confirmed in Chromium, and downloaded CSV files were inspected to verify the correct content was exported. The author noted the prototype stores changes only in memory and that the tests did not cover other browsers, accessibility, or server-side enforcement. The author suggests binding approval to a content version and having the server reject exports when that version no longer matches, though this design was not built or tested. The prototype was shelved because a spreadsheet was a strong substitute and there was no buyer evidence.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in