What happened?
The /insight command generates an HTML report where navigation tabs (table of contents) are displayed but clicking them does nothing - the page doesn't scroll to corresponding sections. The tabs show click animation feedback but content sections are missing.
The root cause is that the qualitative field in the generated insight data is an empty object {} instead of containing actual analysis data.
Current behavior:
- React components check
t.qualitative && to render navigation and sections
- An empty object
{} is truthy, so navigation tabs render
- Individual sections check for specific properties like
t.qualitative.improvements, t.qualitative.futureOpportunities, etc.
- Since these properties don't exist, no content sections render
- Result: Navigation tabs exist but point to nothing
What did you expect to happen?
Either:
- The
qualitative field should be null/undefined when no meaningful analysis is produced (no navigation shown), OR
- The navigation should only render when there's actual content to display
Client information
Qwen Code CLI version: [please check with /about]
Platform: Linux
Data: 124 sessions, 955 messages, 55 days of activity
Anything else we need to know?
Generated data structure shows qualitative: {} (empty) while other analysis fields exist at root level:
{
"qualitative": {},
"satisfaction": { "satisfied": 55, "frustrated": 10, ... },
"friction": { ... },
"primarySuccess": { ... },
"outcomes": { ... },
"topGoals": { ... }
}
Suggested fix: In the minified React code (insight.html line ~35), change:
t.qualitative && e.createElement(...)
to:
Object.keys(t.qualitative||{}).length > 0 && e.createElement(...)
Related issues:
What happened?
The
/insightcommand generates an HTML report where navigation tabs (table of contents) are displayed but clicking them does nothing - the page doesn't scroll to corresponding sections. The tabs show click animation feedback but content sections are missing.The root cause is that the
qualitativefield in the generated insight data is an empty object{}instead of containing actual analysis data.Current behavior:
t.qualitative &&to render navigation and sections{}is truthy, so navigation tabs rendert.qualitative.improvements,t.qualitative.futureOpportunities, etc.What did you expect to happen?
Either:
qualitativefield should benull/undefinedwhen no meaningful analysis is produced (no navigation shown), ORClient information
Anything else we need to know?
Generated data structure shows
qualitative: {}(empty) while other analysis fields exist at root level:{ "qualitative": {}, "satisfaction": { "satisfied": 55, "frustrated": 10, ... }, "friction": { ... }, "primarySuccess": { ... }, "outcomes": { ... }, "topGoals": { ... } }Suggested fix: In the minified React code (insight.html line ~35), change:
to:
Related issues:
undefineddue to LLM failures (fixed by PR fix(insight): handle individual LLM failures in qualitative insights (#2341) #2361)