Skip to content

Improve automatic tagging of Composables #855

@romtsn

Description

@romtsn

Description

Currently our automatic tagging through the compiler plugin is suboptimal, because we're using a Composable name for SentryTag which can be default composable names like Image/Text/Slider etc. and which don't uniquely identify the composable.

We could use filename + function name + lineno to uniquely identify composables and make the ViewHierarchies and Transactions better represent what components are being traced.

Prior art: https://github.com/VKCOM/vkompose/blob/master/compiler-plugin/compose-test-tag/applier/plugin/src/main/kotlin/com/vk/compiler/plugin/compose/test/tag/applier/TestTagApplier.kt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions