Skip to content

How should my app attach user feedback to the exact output being discussed?

Attach feedback to an immutable asset version and the relevant submitted request, not just a project ID. If the user switches outputs while a feedback form is open, preserve or explicitly update that association. Otherwise a complaint about one result can be stored against another.

PRESERVE API DATA ACCURATELYAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Capture the review target; Handle target changes deliberately; Validate the association server-side.
Workflow diagram: Capture the review target → Handle target changes deliberately → Validate the association server-side. Read the article for evidence and limits.

Feedback can race with selection

A review panel may stay open while a background result arrives or the user chooses a different thumbnail. A generic submit handler that reads selected_asset at submission time can attach the comment to the wrong output, degrading both support and product evaluation.

What to do next

  1. 01

    Capture the review target

    When opening feedback, store the asset version, attempt identity and brief context in the form state. Show a thumbnail or concise version label so the user can see exactly which output the comment concerns.

  2. 02

    Handle target changes deliberately

    If the gallery selection changes, either keep the feedback target fixed with a visible label or ask the user to move the unsent comment. Do not silently follow the current selection during final submission.

  3. 03

    Validate the association server-side

    Check that the user can review the referenced asset and that it belongs to the intended application context. Preserve the submitted target and timestamp so later reports do not rejoin comments through a mutable project selection pointer.

A concrete example

Illustrative example: the user opens feedback on output A, then views B to compare. Submitting the still-labeled A form records the comment on A. The application never infers that viewing B changed the subject of the comment.

Before you call it ready

  • Feedback targets an immutable asset.
  • Selection changes have explicit semantics.
  • Historical reports do not use today's selection.

When to stop or choose another method

Stop associating feedback through whichever output happens to be selected when the submit callback runs.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation