WardCunningham/Smallest-Federated-Wiki — Issue #118: proper uuid format and other decorations
Author: WardCunningham
Created: 2012-02-03 00:10:17+00:00
State: open

I'd like to upgrade some of the information we capture as we make and edit pages. I've been hesitant to add things because it might be useful so I will suggest exactly what I'd like to see done with the extra information.

* Use a well-known uuid format for paragraph ids. http://en.wikipedia.org/wiki/Globally_unique_identifier. I'm struggling a little knowing what I get for this but I've hesitated calling id a uuid when I've made no attempt to format them as such. I suggest we use what ever we find but generate the documented "random" format. This would still be called "id".

* Add a sequence number to journal actions. These would be assigned at the point where actions first enter the journal. In normal operation that would be on the server side. With local storage it would be local. Where a back job directly updates files, I'm not sure. Right now the batch jobs I've written don't add journal actions in this case. This would be called "seq" as it is in CouchDB.

* Add a timestamp to actions. I suggest adding this at the time the action is first formed, usually on the client side in response to some user operation. Milliseconds since the epoch would seem to be the right javascript thing to use. I would use this to enhance the user experience but not otherwise change the behavior of the system. Examples would be saying "3 days ago" when hovering over an action or collating actions for all pages into a "Recent Changes" report. This would be called "date".