mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
feat(insight): refactor InteractionStyle to include insights and update related components
This commit is contained in:
parent
af21e7fdd9
commit
2edce464ae
2 changed files with 5 additions and 6 deletions
|
|
@ -36,8 +36,6 @@ function InsightApp({ data }) {
|
|||
|
||||
<StatsRow data={data} />
|
||||
|
||||
<DashboardCards insights={data} />
|
||||
|
||||
{data.qualitative && (
|
||||
<>
|
||||
<ProjectAreas
|
||||
|
|
@ -48,11 +46,9 @@ function InsightApp({ data }) {
|
|||
</>
|
||||
)}
|
||||
|
||||
<HeatmapSection heatmap={data.heatmap} />
|
||||
|
||||
{data.qualitative && (
|
||||
<>
|
||||
<InteractionStyle qualitative={data.qualitative} />
|
||||
<InteractionStyle qualitative={data.qualitative} insights={data} />
|
||||
</>
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ function ProjectAreas({ qualitative, topGoals, topTools }) {
|
|||
);
|
||||
}
|
||||
|
||||
function InteractionStyle({ qualitative }) {
|
||||
function InteractionStyle({ qualitative, insights }) {
|
||||
const { interactionStyle } = qualitative;
|
||||
if (!interactionStyle) return null;
|
||||
|
||||
|
|
@ -147,6 +147,9 @@ function InteractionStyle({ qualitative }) {
|
|||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<DashboardCards insights={insights} />
|
||||
<HeatmapSection heatmap={insights.heatmap} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue