Only show chat sessions uptil last month in side pane

- Reduce chat title size
This commit is contained in:
Debanjum Singh Solanky
2024-08-03 16:13:55 +05:30
parent 75559a55aa
commit f28208d35b
2 changed files with 2 additions and 2 deletions

View File

@@ -335,7 +335,7 @@ function SessionsAndFiles(props: SessionsAndFilesProps) {
<ScrollArea> <ScrollArea>
<ScrollAreaScrollbar orientation="vertical" className="h-full w-2.5 border-l border-l-transparent p-[1px]" /> <ScrollAreaScrollbar orientation="vertical" className="h-full w-2.5 border-l border-l-transparent p-[1px]" />
<div className={styles.sessionsList}> <div className={styles.sessionsList}>
{props.subsetOrganizedData != null && Object.keys(props.subsetOrganizedData).map((timeGrouping) => ( {props.subsetOrganizedData != null && Object.keys(props.subsetOrganizedData).filter(tg => tg !== "All Time").map((timeGrouping) => (
<div key={timeGrouping} className={`my-4`}> <div key={timeGrouping} className={`my-4`}>
<div className={`text-muted-foreground text-sm font-bold p-[0.5rem]`}> <div className={`text-muted-foreground text-sm font-bold p-[0.5rem]`}>
{timeGrouping} {timeGrouping}

View File

@@ -159,7 +159,7 @@ function ChatBodyData(props: ChatBodyDataProps) {
} }
<div className={`w-full text-center justify-end content-end`}> <div className={`w-full text-center justify-end content-end`}>
<div className="items-center"> <div className="items-center">
<h1 className="text-2xl md:text-5xl text-center w-fit pb-6 px-4 mx-auto">{greeting}</h1> <h1 className="text-2xl md:text-3xl text-center w-fit pb-6 px-4 mx-auto">{greeting}</h1>
</div> </div>
{ {
!props.isMobileWidth && !props.isMobileWidth &&