Skip to content

Apollo Tracing display full path on hover #2832

@BillBaird

Description

@BillBaird

Is your feature request related to a problem? Please describe.
As with the original Playground implementation, only the last two fields in a tracing path are displayed. In addition, when the combined string is long, it is truncated on the left.

Describe the solution you'd like
It would be nice if hovering the mouse over a path would display a popup with the full path. So, for a path like

          {
            "path": [
              "componentsByType",
              "items",
              0,
              "partition",
              "key"
            ],
            "parentType": "Partition",
            "fieldName": "key",
            "returnType": "String!",
            "startOffset": 28051600,
            "duration": 3799
          }

where only partition.key is displayed, it would be nice to have a popup indicate componentsByType.items.0.partition.key. This would make it much easier to understand detail in lengthy traces.

Describe alternatives you've considered

  • A horizontal scroll bar to be able to see items truncated on the left. This is not needed if a popup (tooltip) would display the full path when hovering over the path.

Additional context
See request #2831 for full trace output, and accompanying screen real estate suggestion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions