Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: dataset sidebar (#2048)
zxhlyhf7a2f7a72799
diff --git a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsxindex bd93da43e75..86e3197d9ee 100644--- a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx+++ b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx@@ -55,8 +55,8 @@ const LikedItem = ({isMobile,}: ILikedItemProps) => {return (- <Link className={classNames(s.itemWrapper, 'px-0 sm:px-3 justify-center sm:justify-start')} href={`/app/${detail?.id}/overview`}>- <div className={classNames(s.iconWrapper, 'mr-0 sm:mr-2')}>+ <Link className={classNames(s.itemWrapper, 'px-0', isMobile && 'justify-center')} href={`/app/${detail?.id}/overview`}>+ <div className={classNames(s.iconWrapper, 'mr-0')}><AppIcon size='tiny' icon={detail?.icon} background={detail?.icon_background}/>{type === 'app' && (<div className={s.statusPoint}>@@ -64,7 +64,7 @@ const LikedItem = ({</div>)}</div>- {!isMobile && <div className={s.appInfo}>{detail?.name || '--'}</div>}+ {!isMobile && <div className={classNames(s.appInfo, 'ml-2')}>{detail?.name || '--'}</div>}</Link>)}@@ -197,14 +197,14 @@ const DatasetDetailLayout: FC<IAppDetailLayoutProps> = (props) => {return <Loading />return (- <div className='flex overflow-hidden'>+ <div className='grow flex overflow-hidden'>{!hideSideBar && <AppSideBartitle={datasetRes?.name || '--'}icon={datasetRes?.icon || 'https://static.dify.ai/images/dataset-default-icon.png'}icon_background={datasetRes?.icon_background || '#F5F5F5'}desc={datasetRes?.description || '--'}navigation={navigation}- extraInfo={<ExtraInfo isMobile={isMobile} relatedApps={relatedApps} />}+ extraInfo={mode => <ExtraInfo isMobile={mode === 'collapse'} relatedApps={relatedApps} />}iconType={datasetRes?.data_source_type === DataSourceType.NOTION ? 'notion' : 'dataset'}/>}<DatasetDetailContext.Provider value={{diff --git a/web/app/components/app-sidebar/index.tsx b/web/app/components/app-sidebar/index.tsxindex 1c6b8446844..73c812cc4b0 100644--- a/web/app/components/app-sidebar/index.tsx+++ b/web/app/components/app-sidebar/index.tsx@@ -20,7 +20,7 @@ export type IAppDetailNavProps = {icon: NavIconselectedIcon: NavIcon}>- extraInfo?: React.ReactNode+ extraInfo?: (modeState: string) => React.ReactNode}const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInfo, iconType = 'app' }: IAppDetailNavProps) => {@@ -72,7 +72,7 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf<NavLink key={index} mode={modeState} iconMap={{ selected: item.selectedIcon, normal: item.icon }} name={item.name} href={item.href} />)})}- {extraInfo ?? null}+ {extraInfo && extraInfo(modeState)}</nav>{!isMobile && (diff --git a/web/app/components/billing/pricing/plan-item.tsx b/web/app/components/billing/pricing/plan-item.tsxindex c2222579c4b..bd7c265cc03 100644--- a/web/app/components/billing/pricing/plan-item.tsx+++ b/web/app/components/billing/pricing/plan-item.tsx@@ -107,7 +107,6 @@ const PlanItem: FC<Props> = ({<div>{t('billing.plansCommon.supportItems.emailSupport')}</div><div className='mt-3.5 flex items-center space-x-1'><div>+ {t('billing.plansCommon.supportItems.logoChange')}</div>- <div>{comingSoon}</div></div><div className='mt-3.5 flex items-center space-x-1'><div className='flex items-center'>@@ -135,7 +134,6 @@ const PlanItem: FC<Props> = ({<div>{t('billing.plansCommon.supportItems.priorityEmail')}</div><div className='mt-3.5 flex items-center space-x-1'><div>+ {t('billing.plansCommon.supportItems.logoChange')}</div>- <div>{comingSoon}</div></div><div className='mt-3.5 flex items-center space-x-1'><div>+ {t('billing.plansCommon.supportItems.SSOAuthentication')}</div>