Skip to content

Snapshot Diff: Use flow-renderer persistentHighlight instead of auto-clearing highlights #7073

@andypalmi

Description

@andypalmi

Description

The flow-renderer's compare() auto-clears node and tab glow highlights after 10 seconds. In the snapshot diff viewer, the user navigates between changes and needs highlights to persist until moving to the next one.

Changes

  • Pass persistentHighlight: true to flowRenderer.compare()
  • Store clearHighlight reference from the comparison result for manual cleanup (falls back to no-op on older renderer versions)

Dependencies

Parent issue

Part of #7062

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions