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

View Hierarchy absolute positioning should be dependent on rendering_system rather than project.platform #83291

Open
timfish opened this issue Jan 11, 2025 · 1 comment · May be fixed by #83292

Comments

@timfish
Copy link
Contributor

timfish commented Jan 11, 2025

Problem Statement

Currently, the only way to enable absolute positioning for the View Hierarchy wireframe, is to choose a specific project type:

export function getHierarchyDimensions(
hierarchies: ViewHierarchyWindow[],
useAbsolutePosition: boolean = false
): {

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

@getsantry
Copy link
Contributor

getsantry bot commented Jan 11, 2025

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 11, 2025
@timfish timfish changed the title View Hierarchy relative/absolute positioning should be dependent on rendering_system rather than project.platform View Hierarchy absolute positioning should be dependent on rendering_system rather than project.platform Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

Successfully merging a pull request may close this issue.

1 participant