http://qs321.pair.com?node_id=1157241


in reply to Re^2: RFC: Edit your posts in a separate page, rather than at the top of a thread. (yay, but...)
in thread RFC: Edit your posts in a separate page, rather than at the top of a thread.

The 'add' field gets a hidden GUID which, on preview, is used to upsert a row recording the most recent "preview" for each such session. When you post, the new node_id gets recorded in the preview row. Posting when a node_id is already in the preview row either updates the linked node or perhaps offers to.

Preview rows from a week ago get purged. One day users can reclaim unposted previews.

- tye