-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Problem Statement
Currently, the only way to enable absolute positioning for the View Hierarchy wireframe, is to choose a specific project type:
sentry/static/app/components/events/viewHierarchy/utils.tsx
Lines 44 to 47 in 5f9a15d
| export function getHierarchyDimensions( | |
| hierarchies: ViewHierarchyWindow[], | |
| useAbsolutePosition: boolean = false | |
| ): { |
sentry/static/app/components/events/viewHierarchy/wireframe.tsx
Lines 51 to 54 in 5f9a15d
| getHierarchyDimensions( | |
| hierarchy, | |
| ['flutter', 'dart-flutter'].includes(project?.platform ?? '') | |
| ), |
This means there is currently no way to have absolute positioning outside of those project types.
Solution Brainstorm
Absolute positioning should be dependent on rendering_system. Maybe we should also check rendering_system.includes('absolute') so this can be overridden from the SDKs without having to update a list in Sentry?
We should also document this in the RFC. Currently it doesn't even mention absolute/relative positioning!
Product Area
Issues
Metadata
Metadata
Assignees
Labels
Projects
Status