Skip to content

Expose draft comment data to code manager #6647

@kumar303

Description

@kumar303

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions