- use the github API or use any git repo with an adapter (not included) that matches the parts of the github commit API schema that we use, currently an object of the form
response = {
files: {
patch: 'git diff as patch inserted here'
},
commit: {
message: 'git commit message as string here'
}
}
- given a JSON blob representing an object,
- template the code diff (
response.files.patch
) into a right pane with syntax highlighting - template the commit message (
response.commit.message
) through a markdown processor and into a left pane