Feat: Adjust the style of the note node #3221 (#9167)

### What problem does this PR solve?

Feat: Adjust the style of the note node #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-08-01 20:21:19 +08:00
committed by GitHub
parent 01bf799a59
commit 21ddcd3c39
14 changed files with 24 additions and 15 deletions

View File

@ -22,7 +22,7 @@ import {
import { ITraceData } from '@/interfaces/database/agent';
import { cn } from '@/lib/utils';
import { t } from 'i18next';
import { get, isEmpty } from 'lodash';
import { get, isEmpty, isEqual, uniqWith } from 'lodash';
import { useCallback, useEffect, useMemo, useState } from 'react';
import JsonView from 'react18-json-view';
import { Operator } from '../constant';
@ -96,7 +96,7 @@ function getInputsOrOutputs(
return inputsOrOutputs[0] || {};
}
return inputsOrOutputs;
return uniqWith(inputsOrOutputs, isEqual); // TODO: Violence should not be used to
}
export const WorkFlowTimeline = ({
currentEventListWithoutMessage,