diff --git a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/panel.tsx b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/panel.tsx index 35fafb2a79..2443641b8a 100644 --- a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/panel.tsx +++ b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/panel.tsx @@ -253,11 +253,11 @@ const Panel: FC = () => {
{t(`${I18N_PREFIX}.title`, { ns: 'app' })}
- +
- +
@@ -297,7 +297,7 @@ const Panel: FC = () => { {InUseProviderIcon && }
- +
diff --git a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/provider-config-modal.tsx b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/provider-config-modal.tsx index 5b740971cb..4845cf38df 100644 --- a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/provider-config-modal.tsx +++ b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/provider-config-modal.tsx @@ -649,7 +649,7 @@ const ProviderConfigModal: FC = ({ href={docURL[type]} > {t(`${I18N_PREFIX}.viewDocsLink`, { ns: 'app', key: t(`tracing.${type}.title`, { ns: 'app' }) })} - +
{isEdit && ( @@ -683,7 +683,7 @@ const ProviderConfigModal: FC = ({
diff --git a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/tracing-icon.tsx b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/tracing-icon.tsx index cdc0f753a6..ed097f9333 100644 --- a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/tracing-icon.tsx +++ b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/tracing-icon.tsx @@ -21,7 +21,7 @@ const TracingIcon: FC = ({ const sizeClass = sizeClassMap[size] return (
- +
) } diff --git a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/workflow/page.tsx b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/workflow/page.tsx index 6c9386a44e..35b13b99c8 100644 --- a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/workflow/page.tsx +++ b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/workflow/page.tsx @@ -2,7 +2,7 @@ import WorkflowApp from '@/app/components/workflow-app' const Page = () => { return ( -
+
) diff --git a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/pipeline/page.tsx b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/pipeline/page.tsx index f3028cbad0..79add77466 100644 --- a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/pipeline/page.tsx +++ b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/pipeline/page.tsx @@ -3,7 +3,7 @@ import RagPipeline from '@/app/components/rag-pipeline' const PipelinePage = () => { return ( -
+
) diff --git a/web/app/(humanInputLayout)/form/[token]/form.tsx b/web/app/(humanInputLayout)/form/[token]/form.tsx index 76dcd24293..0eb62b1cb2 100644 --- a/web/app/(humanInputLayout)/form/[token]/form.tsx +++ b/web/app/(humanInputLayout)/form/[token]/form.tsx @@ -99,11 +99,11 @@ const FormContent = () => { if (success) { return ( -
+
- +
{t('humanInput.thanks', { ns: 'share' })}
@@ -127,11 +127,11 @@ const FormContent = () => { if (expired) { return ( -
+
-
- +
+
{t('humanInput.sorry', { ns: 'share' })}
@@ -155,11 +155,11 @@ const FormContent = () => { if (submitted) { return ( -
+
-
- +
+
{t('humanInput.sorry', { ns: 'share' })}
@@ -183,11 +183,11 @@ const FormContent = () => { if (rateLimitExceeded) { return ( -
+
-
- +
+
{t('humanInput.rateLimitExceeded', { ns: 'share' })}
@@ -209,11 +209,11 @@ const FormContent = () => { if (!formData) { return ( -
+
-
- +
+
{t('humanInput.formNotFound', { ns: 'share' })}
diff --git a/web/app/(shareLayout)/components/authenticated-layout.tsx b/web/app/(shareLayout)/components/authenticated-layout.tsx index 3ee5d52603..af05e93771 100644 --- a/web/app/(shareLayout)/components/authenticated-layout.tsx +++ b/web/app/(shareLayout)/components/authenticated-layout.tsx @@ -82,7 +82,7 @@ const AuthenticatedLayout = ({ children }: { children: React.ReactNode }) => { if (userCanAccessApp && !userCanAccessApp.result) { return (
- + {t('userProfile.logout', { ns: 'common' })}
) diff --git a/web/app/(shareLayout)/components/splash.tsx b/web/app/(shareLayout)/components/splash.tsx index 86d676721a..0c98767a48 100644 --- a/web/app/(shareLayout)/components/splash.tsx +++ b/web/app/(shareLayout)/components/splash.tsx @@ -94,7 +94,7 @@ const Splash: FC = ({ children }) => { if (message) { return (
- + {code === '403' ? t('userProfile.logout', { ns: 'common' }) : t('login.backToHome', { ns: 'share' })}
) diff --git a/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx b/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx index d5b3237b12..a921a21d3a 100644 --- a/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx +++ b/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx @@ -59,8 +59,8 @@ export default function CheckCode() { return (
-
- +
+

{t('checkCode.checkYourEmail', { ns: 'login' })}

diff --git a/web/app/(shareLayout)/webapp-reset-password/page.tsx b/web/app/(shareLayout)/webapp-reset-password/page.tsx index 2174ac0e8e..d905f8d213 100644 --- a/web/app/(shareLayout)/webapp-reset-password/page.tsx +++ b/web/app/(shareLayout)/webapp-reset-password/page.tsx @@ -61,8 +61,8 @@ export default function CheckCode() { return (
-
- +
+

{t('resetPassword', { ns: 'login' })}

diff --git a/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx b/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx index 9a290f8789..df9309095a 100644 --- a/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx +++ b/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx @@ -164,8 +164,8 @@ const ChangePasswordForm = () => { {showSuccess && (
-
- +
+

{t('passwordChangedTip', { ns: 'login' })} diff --git a/web/app/(shareLayout)/webapp-signin/check-code/page.tsx b/web/app/(shareLayout)/webapp-signin/check-code/page.tsx index c8d3351ded..050911e2fa 100644 --- a/web/app/(shareLayout)/webapp-signin/check-code/page.tsx +++ b/web/app/(shareLayout)/webapp-signin/check-code/page.tsx @@ -97,8 +97,8 @@ export default function CheckCode() { return (
-
- +
+

{t('checkCode.checkYourEmail', { ns: 'login' })}

diff --git a/web/app/(shareLayout)/webapp-signin/components/sso-auth.tsx b/web/app/(shareLayout)/webapp-signin/components/sso-auth.tsx index 53ff80ced5..52625bbdfb 100644 --- a/web/app/(shareLayout)/webapp-signin/components/sso-auth.tsx +++ b/web/app/(shareLayout)/webapp-signin/components/sso-auth.tsx @@ -75,7 +75,7 @@ const SSOAuth: FC = ({ disabled={isLoading} className="w-full" > - + {t('withSSO', { ns: 'login' })} ) diff --git a/web/app/(shareLayout)/webapp-signin/normalForm.tsx b/web/app/(shareLayout)/webapp-signin/normalForm.tsx index 9b7b64eac5..676db018a9 100644 --- a/web/app/(shareLayout)/webapp-signin/normalForm.tsx +++ b/web/app/(shareLayout)/webapp-signin/normalForm.tsx @@ -57,9 +57,9 @@ const NormalForm = () => {
-
- - +
+ +

{t('licenseLost', { ns: 'login' })}

{t('licenseLostTip', { ns: 'login' })}

@@ -73,9 +73,9 @@ const NormalForm = () => {
-
- - +
+ +

{t('licenseExpired', { ns: 'login' })}

{t('licenseExpiredTip', { ns: 'login' })}

@@ -89,9 +89,9 @@ const NormalForm = () => {
-
- - +
+ +

{t('licenseInactive', { ns: 'login' })}

{t('licenseInactiveTip', { ns: 'login' })}

@@ -156,8 +156,8 @@ const NormalForm = () => { {allMethodsAreDisabled && ( <>
-
- +
+

{t('noLoginMethod', { ns: 'login' })}

{t('noLoginMethodTip', { ns: 'login' })}

diff --git a/web/app/(shareLayout)/webapp-signin/page.tsx b/web/app/(shareLayout)/webapp-signin/page.tsx index a1e14ed815..cc0a34cd93 100644 --- a/web/app/(shareLayout)/webapp-signin/page.tsx +++ b/web/app/(shareLayout)/webapp-signin/page.tsx @@ -63,7 +63,7 @@ const WebSSOForm: FC = () => { return (
- + {t('login.backToHome', { ns: 'share' })}
) diff --git a/web/app/account/(commonLayout)/account-page/email-change-modal.tsx b/web/app/account/(commonLayout)/account-page/email-change-modal.tsx index 83bca6a8cb..8d8f3b8d4c 100644 --- a/web/app/account/(commonLayout)/account-page/email-change-modal.tsx +++ b/web/app/account/(commonLayout)/account-page/email-change-modal.tsx @@ -196,7 +196,7 @@ const EmailChangeModal = ({ onClose, email }: Props) => { !open && onClose()}>
- +
{step === STEP.start && ( <> diff --git a/web/app/account/(commonLayout)/account-page/index.tsx b/web/app/account/(commonLayout)/account-page/index.tsx index b85fb1abba..b0719e169a 100644 --- a/web/app/account/(commonLayout)/account-page/index.tsx +++ b/web/app/account/(commonLayout)/account-page/index.tsx @@ -159,14 +159,14 @@ export default function AccountPage() {

{t('account.myAccount', { ns: 'common' })}

-
+

{userProfile.name} {isEducationAccount && ( - -

) } -
+
{t('account.langGeniusAccount', { ns: 'common' })}
{t('account.langGeniusAccountTip', { ns: 'common' })}
diff --git a/web/app/account/(commonLayout)/avatar.tsx b/web/app/account/(commonLayout)/avatar.tsx index b0cdd853eb..197a00f822 100644 --- a/web/app/account/(commonLayout)/avatar.tsx +++ b/web/app/account/(commonLayout)/avatar.tsx @@ -61,7 +61,7 @@ export default function AppSelector() { {userProfile.name} {isEducationAccount && ( - )} diff --git a/web/app/account/(commonLayout)/header.tsx b/web/app/account/(commonLayout)/header.tsx index 37c1dcdd23..13d9779e9c 100644 --- a/web/app/account/(commonLayout)/header.tsx +++ b/web/app/account/(commonLayout)/header.tsx @@ -37,9 +37,9 @@ const Header = () => {
diff --git a/web/app/account/oauth/authorize/page.tsx b/web/app/account/oauth/authorize/page.tsx index 55666db193..97dabb46a9 100644 --- a/web/app/account/oauth/authorize/page.tsx +++ b/web/app/account/oauth/authorize/page.tsx @@ -127,14 +127,14 @@ export default function OAuthAuthorize() {
{authAppInfo?.app_icon && (
- app icon + app icon
)}
{isLoggedIn &&
{t('connect', { ns: 'oauth' })}
} -
{authAppInfo?.app_label[language] || authAppInfo?.app_label?.en_US || t('unknownApp', { ns: 'oauth' })}
+
{authAppInfo?.app_label[language] || authAppInfo?.app_label?.en_US || t('unknownApp', { ns: 'oauth' })}
{!isLoggedIn &&
{t('tips.notLoggedIn', { ns: 'oauth' })}
}
{isLoggedIn ? `${authAppInfo?.app_label[language] || authAppInfo?.app_label?.en_US || t('unknownApp', { ns: 'oauth' })} ${t('tips.loggedIn', { ns: 'oauth' })}` : t('tips.needLogin', { ns: 'oauth' })}
@@ -159,7 +159,7 @@ export default function OAuthAuthorize() { const Icon = SCOPE_INFO_MAP[scope] return (
- {Icon ? : } + {Icon ? : } {Icon!.label}
) diff --git a/web/app/components/app-sidebar/app-info/app-info-trigger.tsx b/web/app/components/app-sidebar/app-info/app-info-trigger.tsx index 0e0d085e30..32a7eba388 100644 --- a/web/app/components/app-sidebar/app-info/app-info-trigger.tsx +++ b/web/app/components/app-sidebar/app-info/app-info-trigger.tsx @@ -36,16 +36,16 @@ const AppInfoTrigger = ({ appDetail, expand, onClick }: AppInfoTriggerProps) =>
{expand && (
-
- +
+
)}
{!expand && (
-
- +
+
)} diff --git a/web/app/components/app-sidebar/app-info/app-operations.tsx b/web/app/components/app-sidebar/app-info/app-operations.tsx index 2e3270a222..a215f35d78 100644 --- a/web/app/components/app-sidebar/app-info/app-operations.tsx +++ b/web/app/components/app-sidebar/app-info/app-operations.tsx @@ -149,7 +149,7 @@ const AppOperations = ({ className="gap-px focus-visible:ring-inset" tabIndex={-1} > - + {t('operation.more', { ns: 'common' })} @@ -183,7 +183,7 @@ const AppOperations = ({ )} > <> - + {t('operation.more', { ns: 'common' })} diff --git a/web/app/components/app-sidebar/app-sidebar-dropdown.tsx b/web/app/components/app-sidebar/app-sidebar-dropdown.tsx index e0661b9c52..a46e07e5fe 100644 --- a/web/app/components/app-sidebar/app-sidebar-dropdown.tsx +++ b/web/app/components/app-sidebar/app-sidebar-dropdown.tsx @@ -59,7 +59,7 @@ const AppSidebarDropdown = ({ navigation, appInfoActions }: Props) => { background={appDetail.icon_background} imageUrl={appDetail.icon_url} /> - + { imageUrl={appDetail.icon_url} />
-
- +
+
diff --git a/web/app/components/app-sidebar/basic.tsx b/web/app/components/app-sidebar/basic.tsx index 3c7a7d2098..6610c7a0a0 100644 --- a/web/app/components/app-sidebar/basic.tsx +++ b/web/app/components/app-sidebar/basic.tsx @@ -46,13 +46,13 @@ const ICON_MAP = { app: , api: (
- +
), dataset: , webapp: (
- +
), notion: , diff --git a/web/app/components/app-sidebar/nav-link/__tests__/index.spec.tsx b/web/app/components/app-sidebar/nav-link/__tests__/index.spec.tsx index fe46290002..1a3e826e10 100644 --- a/web/app/components/app-sidebar/nav-link/__tests__/index.spec.tsx +++ b/web/app/components/app-sidebar/nav-link/__tests__/index.spec.tsx @@ -109,8 +109,8 @@ describe('NavLink Animation and Layout Issues', () => { expect(expandedIconWrapper).not.toHaveClass('-ml-1') // Icon itself maintains consistent classes - no margin changes - expect(iconElement).toHaveClass('h-4') - expect(iconElement).toHaveClass('w-4') + expect(iconElement).toHaveClass('size-4') + expect(iconElement).toHaveClass('size-4') expect(iconElement).toHaveClass('shrink-0') // This wrapper approach eliminates the icon margin shift issue @@ -168,8 +168,8 @@ describe('NavLink Animation and Layout Issues', () => { expect(iconWrapper).toHaveClass('-ml-1') // Icon itself has consistent classes - expect(iconElement).toHaveClass('h-4') - expect(iconElement).toHaveClass('w-4') + expect(iconElement).toHaveClass('size-4') + expect(iconElement).toHaveClass('size-4') expect(iconElement).toHaveClass('shrink-0') rerender() @@ -180,8 +180,8 @@ describe('NavLink Animation and Layout Issues', () => { expect(expandedIconWrapper).not.toHaveClass('-ml-1') // Icon classes remain consistent - no margin shifts - expect(iconElement).toHaveClass('h-4') - expect(iconElement).toHaveClass('w-4') + expect(iconElement).toHaveClass('size-4') + expect(iconElement).toHaveClass('size-4') expect(iconElement).toHaveClass('shrink-0') }) }) diff --git a/web/app/components/app-sidebar/nav-link/index.tsx b/web/app/components/app-sidebar/nav-link/index.tsx index a2f737da16..38845ed746 100644 --- a/web/app/components/app-sidebar/nav-link/index.tsx +++ b/web/app/components/app-sidebar/nav-link/index.tsx @@ -44,7 +44,7 @@ const NavLink = ({ const renderIcon = () => (
-
) diff --git a/web/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx b/web/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx index 639854ae0a..b6944370e1 100644 --- a/web/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx +++ b/web/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx @@ -21,7 +21,7 @@ const EditItem: FC = ({ onChange, }) => { const { t } = useTranslation() - const avatar = type === EditItemType.Query ? : + const avatar = type === EditItemType.Query ? : const name = type === EditItemType.Query ? t('addModal.queryName', { ns: 'appAnnotation' }) : t('addModal.answerName', { ns: 'appAnnotation' }) const placeholder = type === EditItemType.Query ? t('addModal.queryPlaceholder', { ns: 'appAnnotation' }) : t('addModal.answerPlaceholder', { ns: 'appAnnotation' }) diff --git a/web/app/components/app/annotation/add-annotation-modal/index.tsx b/web/app/components/app/annotation/add-annotation-modal/index.tsx index f94b072e39..4be9cc2146 100644 --- a/web/app/components/app/annotation/add-annotation-modal/index.tsx +++ b/web/app/components/app/annotation/add-annotation-modal/index.tsx @@ -103,7 +103,7 @@ const AddAnnotationModal: FC = ({
@@ -127,7 +127,7 @@ const AddAnnotationModal: FC = ({
)} -
+
@@ -183,7 +183,7 @@ const EditAnnotationModal: FC = ({ { annotationId ? ( -
+
setShowModal(true)} diff --git a/web/app/components/app/annotation/header-opts/index.tsx b/web/app/components/app/annotation/header-opts/index.tsx index 6814c3692c..ab1ed04ce0 100644 --- a/web/app/components/app/annotation/header-opts/index.tsx +++ b/web/app/components/app/annotation/header-opts/index.tsx @@ -186,7 +186,7 @@ const HeaderOptions: FC = ({ return (
@@ -194,7 +194,7 @@ const HeaderOptions: FC = ({ aria-label={t('operation.more', { ns: 'common' })} className="mr-0 box-border inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border-[0.5px] border-components-button-secondary-border bg-components-button-secondary-bg p-0 text-components-button-secondary-text shadow-xs backdrop-blur-[5px] hover:border-components-button-secondary-border-hover hover:bg-components-button-secondary-bg-hover data-popup-open:border-components-button-secondary-border-hover data-popup-open:bg-components-button-secondary-bg-hover" > - + = (props) => { {isChatApp && ( <>
- +
{t('name', { ns: 'appAnnotation' })}
= (props) => {
setIsShowEdit(true)}> - +
)} diff --git a/web/app/components/app/annotation/list.tsx b/web/app/components/app/annotation/list.tsx index 361d410698..96267158a6 100644 --- a/web/app/components/app/annotation/list.tsx +++ b/web/app/components/app/annotation/list.tsx @@ -49,13 +49,13 @@ function AnnotationTableRow({
{item.question} {item.answer} @@ -65,13 +65,13 @@ function AnnotationTableRow({ e.stopPropagation()}>
onView(item)}> - + onRemoveClick(item.id)} > - +
diff --git a/web/app/components/app/annotation/view-annotation-modal/hit-history-no-data.tsx b/web/app/components/app/annotation/view-annotation-modal/hit-history-no-data.tsx index 5d3d88d3ff..e361e72f9c 100644 --- a/web/app/components/app/annotation/view-annotation-modal/hit-history-no-data.tsx +++ b/web/app/components/app/annotation/view-annotation-modal/hit-history-no-data.tsx @@ -9,7 +9,7 @@ const HitHistoryNoData: FC = () => { return (
- +
{t('viewModal.noHitHistory', { ns: 'appAnnotation' })}
diff --git a/web/app/components/app/annotation/view-annotation-modal/index.tsx b/web/app/components/app/annotation/view-annotation-modal/index.tsx index 712fb29c2e..c67b00709a 100644 --- a/web/app/components/app/annotation/view-annotation-modal/index.tsx +++ b/web/app/components/app/annotation/view-annotation-modal/index.tsx @@ -241,7 +241,7 @@ const ViewAnnotationModal: FC = ({
@@ -278,7 +278,7 @@ const ViewAnnotationModal: FC = ({
{id && ( -
+
setShowModal(true)} diff --git a/web/app/components/app/app-access-control/access-control-dialog.tsx b/web/app/components/app/app-access-control/access-control-dialog.tsx index 8fa022a78b..a863935f90 100644 --- a/web/app/components/app/app-access-control/access-control-dialog.tsx +++ b/web/app/components/app/app-access-control/access-control-dialog.tsx @@ -32,7 +32,7 @@ const AccessControlDialog = ({ className, )} > - + {children}
diff --git a/web/app/components/app/app-access-control/add-member-or-group-pop.tsx b/web/app/components/app/app-access-control/add-member-or-group-pop.tsx index 1e3a992136..ec72896967 100644 --- a/web/app/components/app/app-access-control/add-member-or-group-pop.tsx +++ b/web/app/components/app/app-access-control/add-member-or-group-pop.tsx @@ -111,7 +111,7 @@ export default function AddMemberOrGroupDialog() { size="small" className="flex h-6 w-auto shrink-0 items-center gap-x-0.5 rounded-md border-0 bg-transparent px-2 py-0 text-xs font-medium text-components-button-secondary-accent-text hover:bg-state-accent-hover focus-visible:bg-state-accent-hover focus-visible:ring-2 focus-visible:ring-state-accent-solid data-open:bg-state-accent-hover" > -