Skip to content

Preserve composer edits during in-flight refresh #13

Description

@mchwang

Problem

Copilot's current-head review of PR #11 returned no findings but raised a summary concern that edits made while Refresh is in flight may be discarded when the refreshed review renders.

The submission path has regressions for preserving drafts edited during an in-flight action, but Refresh needs its own reproducible check before changing behavior.

Acceptance criteria

  • Add a browser regression that holds /api/review, edits the current question or change-request draft after Refresh starts, then releases the response.
  • Preserve the newer draft, selected mode, and valid snippet attachment when rendering the refreshed state.
  • If the refreshed state invalidates an attachment or item, retain the text and explain what must be reselected instead of silently clearing the draft.
  • Confirm navigation and persisted review state still come from the refreshed response.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions