Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Breadcrumb Logging for .NET MAUI's ImageButton #3803

Open
dalnoki opened this issue Nov 28, 2024 · 1 comment
Open

Enhanced Breadcrumb Logging for .NET MAUI's ImageButton #3803

dalnoki opened this issue Nov 28, 2024 · 1 comment

Comments

@dalnoki
Copy link

dalnoki commented Nov 28, 2024

Problem Statement

A customer frequently encounters the message Microsoft.Maui.Controls.BindableObject Cannot convert to type ‘Microsoft.Maui.Aspect’ in their Sentry breadcrumbs. They suspect that this issue arises because Sentry cannot interpret the ImageButton type from .NET MAUI. This type includes an Aspect property similar to the Image type, but it lacks text or title properties.

Image

Solution Brainstorm

The customer suggested a potential improvement: when an ImageButton triggers an event, log the following details in the breadcrumbs:

  • ImageButton.Command
  • ImageButton.Source

This additional context would provide valuable insights into user actions performed via the ImageButton.

@jamescrosswell
Copy link
Collaborator

Thanks for the suggestion @dalnoki . It looks like it would be a nice improvement. It might take a little while before we can work on this though (unless one of our users has the time to make a PR).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Waiting for: Product Owner
Development

No branches or pull requests

3 participants