feat(web): ui update
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 117 KiB |
@@ -48,7 +48,8 @@ const AboutMe = forwardRef<AboutMeRef>((_props, ref) => {
|
||||
|
||||
return (
|
||||
<RbCard
|
||||
title={t('userMemory.aboutMe')}
|
||||
title={t('userMemory.aboutMe')}
|
||||
headerClassName="rb:min-h-[46px]!"
|
||||
>
|
||||
{loading
|
||||
? <Skeleton className="rb:mt-4" />
|
||||
|
||||
@@ -68,6 +68,7 @@ const EndUserProfile = forwardRef<EndUserProfileRef, EndUserProfileProps>(({ onD
|
||||
onClick={handleEdit}
|
||||
></div>
|
||||
}
|
||||
headerClassName="rb:min-h-[46px]!"
|
||||
>
|
||||
{loading
|
||||
? <Skeleton />
|
||||
|
||||
@@ -63,6 +63,7 @@ const InterestDistribution: FC = () => {
|
||||
return (
|
||||
<RbCard
|
||||
title={t('userMemory.interestDistribution')}
|
||||
headerClassName="rb:min-h-[46px]!"
|
||||
>
|
||||
{loading
|
||||
? <Loading size={249} />
|
||||
|
||||
@@ -50,6 +50,7 @@ const MemoryInsight = forwardRef<MemoryInsightRef>((_props, ref) => {
|
||||
<RbCard
|
||||
title={t('userMemory.memoryInsight')}
|
||||
headerType="borderless"
|
||||
headerClassName="rb:min-h-[46px]!"
|
||||
>
|
||||
{loading
|
||||
? <Skeleton />
|
||||
|
||||
@@ -98,6 +98,7 @@ const NodeStatistics: FC = () => {
|
||||
<RbCard
|
||||
title={<>{t('userMemory.nodeStatistics')} <span className="rb:text-[#5B6167] rb:font-normal!">({t('userMemory.total')}: {total})</span></>}
|
||||
headerType="borderless"
|
||||
headerClassName="rb:min-h-[46px]!"
|
||||
>
|
||||
{loading
|
||||
? <Skeleton active />
|
||||
|
||||
@@ -14,8 +14,8 @@ interface PreferenceItem {
|
||||
confidence_score: number;
|
||||
supporting_evidence: string[];
|
||||
context_details: string;
|
||||
created_at: number | string; // TODO
|
||||
updated_at: number | string; // TODO
|
||||
created_at: number | string;
|
||||
updated_at: number | string;
|
||||
conversation_references: string[];
|
||||
category: string;
|
||||
}
|
||||
|
||||
@@ -151,6 +151,7 @@ const RelationshipNetwork:FC = () => {
|
||||
<RbCard
|
||||
title={t('userMemory.relationshipNetwork')}
|
||||
headerType="borderless"
|
||||
headerClassName="rb:min-h-[46px]!"
|
||||
// extra={
|
||||
// <div
|
||||
// onClick={handleFullScreen}
|
||||
@@ -247,6 +248,7 @@ const RelationshipNetwork:FC = () => {
|
||||
<RbCard
|
||||
title={t('userMemory.memoryDetails')}
|
||||
headerType="borderless"
|
||||
headerClassName="rb:min-h-[46px]!"
|
||||
bodyClassName='rb:p-0!'
|
||||
extra={selectedNode && <Button type="text" onClick={handleViewAll}>
|
||||
<div
|
||||
@@ -261,7 +263,7 @@ const RelationshipNetwork:FC = () => {
|
||||
url={detailEmpty}
|
||||
subTitle={t('userMemory.memoryDetailEmptyDesc')}
|
||||
className="rb:h-full rb:mx-10 rb:text-center"
|
||||
size={90}
|
||||
size={[197.81, 150]}
|
||||
/>
|
||||
: <>
|
||||
<div className="rb:bg-[#F6F8FC] rb:border-t rb:border-b rb:border-[#DFE4ED] rb:font-medium rb:py-2 rb:px-4 rb:h-10">{selectedNode.name}</div>
|
||||
|
||||
Reference in New Issue
Block a user