Expose draft comment data to code manager (original) (raw)
Describe the problem and steps to reproduce it:
An imaginary UI flow for commenting might look like this:
- As a reviewer, click the line of a diff to enter a comment
- Type a comment, press save
- Refresh the browser page
What happened?
n/a
What did you expect to happen?
The UI should show the saved draft comment on the line of the diff.
Anything else we should know?
The current GET response does not return enough data to do this. We would need something like
- an array of all comments with...
- file path
- line number (either a normal, deleted, or added line number)
- canned response ID (when applicable)