Labs/Bespin/DesignDocs/TimeMachine: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with ' = Time Machine = Time Machine is designed to solve 2 basic problems in Bespin: - Allow users to get the text back that someone else deleted - Allow viewing the evolution of som…')
 
No edit summary
Line 1: Line 1:
= Time Machine =
= Time Machine =


Line 14: Line 13:
This new server API allows clients to get at a list of changes to a file over time.
This new server API allows clients to get at a list of changes to a file over time.


The URL would probably match the /preview/at and /file/at style, so we would use {{{/history/at/project/path}}}
The URL would probably match the /preview/at and /file/at style, so we would use <tt>/history/at/project/path</tt>


A call to this URL would return a 404 or similar error if the request could not be completed. On success the JSON data structure would look like this:
A call to this URL would return a 404 or similar error if the request could not be completed. On success the JSON data structure would look like this:
Line 54: Line 53:
The current plan is to modify the '/file/at' URL to add a 'version' parameter, which specifies the version of the given file.
The current plan is to modify the '/file/at' URL to add a 'version' parameter, which specifies the version of the given file.


* {{{/file/at/project/path?version=id}}}
* <tt>/file/at/project/path?version=id</tt>


=== Issues ===
=== Issues ===
Line 64: Line 63:
= User Interface =
= User Interface =


See Ben's blog post
See Dions's blog post for example UI: http://almaer.com/blog/uploads/bespineditor_02_socialbar_090528b.png


Issues:
Issues:
Confirmed users
295

edits

Navigation menu