Skip to content

Module Segment Headers Show Raw UUIDs Instead of Names in Analytics Export #9174

@R0hit-Sriram

Description

@R0hit-Sriram

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I export analytics with a module segment, the CSV column headers for module segments show raw module UUIDs instead of module names. The code iterates over label_details instead of module_details when resolving module segment headers.

Code pattern:
if segmented == MODULE_ID:
module = next((mod for mod in label_details # wrong: should be module_details
if str(mod[MODULE_ID]) == str(segm)), None)

What I expect is that module segment columns in the exported CSV show readable module names.

File: apps/api/plane/bgtasks/analytic_plot_export.py, line 280

Steps to reproduce

  1. Go to Analytics
    1. Set any X-axis and set Segment to "Module"
    1. Export the chart as CSV
    1. Open the CSV and observe module segment column headers are raw UUIDs

Environment

Production

Browser

Google Chrome

Variant

Cloud

Version

v0.17.0-dev

Metadata

Metadata

Assignees

Labels

planesync issues to Plane🐛bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions