core icon indicating copy to clipboard operation
core copied to clipboard

more metrics for swaps and bridge

Open ghgoodreau opened this issue 1 month ago • 0 comments

Explanation

References

Checklist

  • [ ] I've updated the test suite for new or updated code as appropriate
  • [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • [ ] I've communicated my changes to consumers by updating changelogs for packages I've changed
  • [ ] I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

[!NOTE] Adds new Asset Picker Opened and Asset Selected metrics events and wires them into the bridge controller analytics pipeline.

  • Metrics/Telemetry:
    • Add new events in utils/metrics/constants.ts: AssetPickerOpened, AssetSelected.
    • Extend RequiredEventContextFromClient in utils/metrics/types.ts with payloads for the new events and include them in EventPropertiesFromControllerState.
  • Bridge Controller (bridge-controller.ts):
    • Handle AssetPickerOpened and AssetSelected in #getEventProperties, returning base properties only.

Written by Cursor Bugbot for commit 822d45bbebc481715f490e2601e1ec1945df89e3. This will update automatically on new commits. Configure here.

ghgoodreau avatar Dec 10 '25 03:12 ghgoodreau