846 feature request onboarding flow Redesign (#1058)
Some checks are pending
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run

Co-authored-by: 4pmtong <web_chentong@163.com>
This commit is contained in:
Douglas Lai 2026-02-06 14:03:32 +00:00 committed by GitHub
parent 09200a8cf6
commit 77112a227d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 4358 additions and 4008 deletions

View file

@ -12,13 +12,12 @@
// limitations under the License.
// ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
import { Button } from '@/components/ui/button';
import {
Dialog,
DialogContent,
DialogContentSection,
DialogFooter,
DialogHeader,
DialogTitle,
} from '@/components/ui/dialog';
import { t } from 'i18next';
@ -42,18 +41,20 @@ const InstallationErrorDialog = ({
if (backendError) {
return (
<Dialog open={true}>
<DialogContent className="bg-white-100%">
<DialogHeader>
<DialogTitle>{t('layout.backend-startup-failed')}</DialogTitle>
</DialogHeader>
<div className="mb-4 text-xs font-normal leading-tight text-text-label">
<div className="mb-1">
<span className="text-text-label/60">{backendError}</span>
<DialogContent size="sm">
<DialogHeader title={t('layout.backend-startup-failed')} />
<DialogContentSection>
<div className="text-xs font-normal leading-normal text-text-label">
<div className="mb-1">
<span className="text-text-label">{backendError}</span>
</div>
</div>
</div>
<DialogFooter>
<Button onClick={retryBackend}>{t('layout.retry')}</Button>
</DialogFooter>
</DialogContentSection>
<DialogFooter
showConfirmButton
confirmButtonText={t('layout.retry')}
onConfirm={retryBackend}
/>
</DialogContent>
</Dialog>
);
@ -61,18 +62,20 @@ const InstallationErrorDialog = ({
return (
<Dialog open={installationState == 'error'}>
<DialogContent className="bg-white-100%">
<DialogHeader>
<DialogTitle>{t('layout.installation-failed')}</DialogTitle>
</DialogHeader>
<div className="mb-4 text-xs font-normal leading-tight text-text-label">
<div className="mb-1">
<span className="text-text-label/60">{error}</span>
<DialogContent size="sm">
<DialogHeader title={t('layout.installation-failed')} />
<DialogContentSection>
<div className="text-xs font-normal leading-normal text-text-label">
<div className="mb-1">
<span className="text-text-label">{error}</span>
</div>
</div>
</div>
<DialogFooter>
<Button onClick={retryInstallation}>{t('layout.retry')}</Button>
</DialogFooter>
</DialogContentSection>
<DialogFooter
showConfirmButton
confirmButtonText={t('layout.retry')}
onConfirm={retryInstallation}
/>
</DialogContent>
</Dialog>
);