mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 23:16:58 +08:00
Feat: Add log-detail page,Improve the style of chat boxes (#9119)
### What problem does this PR solve? Feat: Add log-detail page,Improve the style of chat boxes #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -170,13 +170,15 @@ function MessageItem({
|
||||
></ReferenceDocumentList>
|
||||
)}
|
||||
{isAssistant && currentEventListWithoutMessageById && (
|
||||
<WorkFlowTimeline
|
||||
currentEventListWithoutMessage={currentEventListWithoutMessageById(
|
||||
item.id,
|
||||
)}
|
||||
currentMessageId={item.id}
|
||||
canvasId={conversationId}
|
||||
/>
|
||||
<div className="mt-4">
|
||||
<WorkFlowTimeline
|
||||
currentEventListWithoutMessage={currentEventListWithoutMessageById(
|
||||
item.id,
|
||||
)}
|
||||
currentMessageId={item.id}
|
||||
canvasId={conversationId}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{isUser && (
|
||||
<UploadedMessageFiles files={item.files}></UploadedMessageFiles>
|
||||
|
||||
@ -143,6 +143,9 @@ const TimeRangePicker = ({
|
||||
const [date, setDate] = useState<DateRange | undefined>(
|
||||
selectDateRange || { from: today, to: today },
|
||||
);
|
||||
useEffect(() => {
|
||||
setDate(selectDateRange);
|
||||
}, [selectDateRange]);
|
||||
const onChange = (e: DateRange | undefined) => {
|
||||
if (!e) return;
|
||||
setDate(e);
|
||||
|
||||
Reference in New Issue
Block a user