Add new Contexts fields to spec and UI
See original GitHub issueAdd missing Contexts
(device, app, etc) to sdk spec and Sentry UI:
Example:
The spec should specify the unit (Mb, Celcius). Sentry’s UI can display the unit in such cases, for example
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Add a context to a custom field - Atlassian Support
To add a new context: Select > Issues. Under FIELDS, select Custom fields. Find the custom field you want to configure and select...
Read more >How to Create a User Interface Specification - Bridging the Gap
A user interface specification blends software requirements and design for information-rich pages within an application.
Read more >Accessing UI Context and Non UI Context Object Instances
System fields, like Id, Created, Created By; Fields exposed in the UI; Fields with Force Active property = True. Fields with Link Spec...
Read more >Text fields - Material Design
Text fields allow users to enter text into a UI. They typically appear in forms and dialogs. Principles. Discoverable.
Read more >Contexts Interface | Sentry Developer Documentation
When adding additional data to the event data model contexts are a good fit when you have all the data available at a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
removed the Android tag though, a Desktop App. could use the same fields
I’m afraid of it going to that repo to die. Since we’re adding these new fields here (and on unity and other SDKs) we could drive the initiative from here. We can move it there, perhaps create a single issue for all the known fields we’ve come up lately on the Mobile team’s SDKs. Maybe best to discuss on a grooming call?
Adding to the spec has the advantage of becoming a guideline for other SDKs and being the source of truth when it comes to adding proper support in the UI. Specifically a label (so a nice name shows up as opposed to
just_the_key
and also allowing for things like the unit being known, as we did for bytes values, and timestamps (X minutes before this event
). So we can showTemperature: 45c
and even a future feature that add a conversion to Fahrenheit. Or reads which metrics you prefer from your users settings and adjusts such things across Sentry.Now I’m really ahead of myself but we could start by adding the field to the protocol 😃