Skip to content

Add improvements for Godot View Hierarchy #88788

Open
@limbonaut

Description

@limbonaut

I'm working on the Sentry SDK for Godot Engine, and we're adding support for View Hierarchy feature as described in the RFC. You can check it out in the following PR:

We’d like to make some changes to the Sentry UI just for the Godot SDK. Here’s a visual guide:

Image

Requested changes:

  • Change header from "View Hierarchy" to "Scene Tree".
  • Hide or remove the right section since it's not needed for our use-case.
  • Use the name attribute from the JSON attachment for hierarchy item text.
  • Show icon of the Godot Engine on the left side.

Rendering system is specified as Godot in the JSON file. For reference: view-hierarchy.json and issue example.

I kept the JSON attributes named as the properties are named in the Godot Engine (check the links below):

  • name of a scene tree node - it is guaranteed to be unique within the same level of hierarchy
  • class corresponds to the core class of a scene tree node.

If needed, I can rename one or both to identifier and type as suggested in RFC. However, those two would be less recognizable for users.

Here's how it looks in Godot Engine:

Image

cc @bruno-garcia

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions