refactor: Feature flag custom chat icons and custom banner spacing changes to stay in sync with DataStax Langflow (#4845)
fix chat icons and custom banner spacing
This commit is contained in:
parent
ee37ce04ef
commit
d49a1b24b5
2 changed files with 7 additions and 3 deletions
|
|
@ -24,9 +24,9 @@ export default function PageLayout({
|
|||
return (
|
||||
<div className="flex w-full flex-1 flex-col justify-between overflow-auto overflow-x-hidden bg-background">
|
||||
<div className="mx-auto flex w-full max-w-[1440px] flex-1 flex-col">
|
||||
<div className="flex flex-col gap-4 p-6 pt-10">
|
||||
<div className="flex flex-col gap-4 p-6 pt-0">
|
||||
<CustomBanner />
|
||||
<div className="flex w-full items-center justify-between gap-4 space-y-0.5 py-2">
|
||||
<div className="flex w-full items-center justify-between gap-4 space-y-0.5 pb-2 pt-10">
|
||||
<div className="flex w-full flex-col">
|
||||
<div className="flex items-center gap-2">
|
||||
{backTo && (
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@ import { ProfileIcon } from "@/components/core/appHeaderComponent/components/Pro
|
|||
import { ContentBlockDisplay } from "@/components/core/chatComponents/ContentBlockDisplay";
|
||||
import { TextShimmer } from "@/components/ui/TextShimmer";
|
||||
import { useUpdateMessage } from "@/controllers/API/queries/messages";
|
||||
import { CustomProfileIcon } from "@/customization/components/custom-profile-icon";
|
||||
import { ENABLE_DATASTAX_LANGFLOW } from "@/customization/feature-flags";
|
||||
import useFlowsManagerStore from "@/stores/flowsManagerStore";
|
||||
import useFlowStore from "@/stores/flowStore";
|
||||
import { useUtilityStore } from "@/stores/utilityStore";
|
||||
|
|
@ -441,8 +443,10 @@ export default function ChatMessage({
|
|||
) : (
|
||||
<ForwardedIconComponent name={chat.properties.icon} />
|
||||
)
|
||||
) : (
|
||||
) : !ENABLE_DATASTAX_LANGFLOW ? (
|
||||
<ProfileIcon />
|
||||
) : (
|
||||
<CustomProfileIcon />
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue