Fix: Optimized the login page and fixed some known issues. #9869 (#10514)

### What problem does this PR solve?

Fix: Optimized the login page and fixed some known issues. #9869

- Added the FlipCard3D component to implement a 3D flip effect on the
login/registration forms.
- Adjusted the Spotlight component to support custom positioning and
color configurations.
- Updated the route to point to the new login page /login-next.
- Added a cancel interface to the auto-generate function.
- Fixed scroll bar issues in PDF preview.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-10-13 15:31:36 +08:00
committed by GitHub
parent 9c53b3336a
commit 77481ab3ab
17 changed files with 347 additions and 265 deletions

View File

@ -57,6 +57,8 @@ export default {
},
},
login: {
loginTitle: 'Sign in to Your Account',
signUpTitle: 'Create an Account',
login: 'Sign in',
signUp: 'Sign up',
loginDescription: 'Were so excited to see you again!',
@ -72,7 +74,8 @@ export default {
nicknamePlaceholder: 'Please input nickname',
register: 'Create an account',
continue: 'Continue',
title: 'Start building your smart assistants.',
title: 'A leading RAG engine for LLM context',
start: "Let's get started",
description:
'Sign up for free to explore top RAG technology. Create knowledge bases and AIs to empower your business.',
review: 'from 500+ reviews',
@ -114,7 +117,7 @@ export default {
generateRaptor:
'This will extract entities and relationships from all your documents in this dataset. The process may take a while to complete.',
generate: 'Generate',
raptor: 'Raptor',
raptor: 'RAPTOR',
processingType: 'Processing Type',
dataPipeline: 'Ingestion pipeline',
operations: 'Operations',
@ -128,7 +131,7 @@ export default {
fileName: 'File Name',
datasetLogs: 'Dataset',
fileLogs: 'File',
overview: 'Overview',
overview: 'Logs',
success: 'Success',
failed: 'Failed',
completed: 'Completed',
@ -270,7 +273,7 @@ export default {
reRankModelWaring: 'Re-rank model is very time consuming.',
},
knowledgeConfiguration: {
tocExtraction: 'toc toggle',
tocExtraction: 'TOC Enhance',
tocExtractionTip:
" For existing chunks, generate a hierarchical table of contents (one directory per file). During queries, when Directory Enhancement is activated, the system will use a large model to determine which directory items are relevant to the user's question, thereby identifying the relevant chunks.",
deleteGenerateModalContent: `
@ -1817,9 +1820,13 @@ Important structured information may include: names, dates, locations, events, k
},
datasetOverview: {
downloadTip: 'Files being downloaded from data sources. ',
processingTip: 'Files being processed by data flows.',
processingTip: 'Files being processed by data pipelines.',
totalFiles: 'Total Files',
downloading: 'Downloading',
downloadSuccessTip: 'Total successful downloads',
downloadFailedTip: 'Total failed downloads',
processingSuccessTip: 'Total successfully processed files',
processingFailedTip: 'Total failed processes',
processing: 'Processing',
},
},

View File

@ -49,6 +49,8 @@ export default {
promptPlaceholder: '请输入或使用 / 快速插入变量。',
},
login: {
loginTitle: '登录账户',
signUpTitle: '创建账户',
login: '登录',
signUp: '注册',
loginDescription: '很高兴再次见到您!',
@ -64,7 +66,8 @@ export default {
nicknamePlaceholder: '请输入名称',
register: '创建账户',
continue: '继续',
title: '开始构建您的智能助手',
title: 'A leading RAG engine for LLM context',
start: '立即开始',
description:
'免费注册以探索顶级 RAG 技术。 创建知识库和人工智能来增强您的业务',
review: '来自 500 多条评论',
@ -116,7 +119,7 @@ export default {
fileName: '文件名',
datasetLogs: '数据集',
fileLogs: '文件',
overview: '概览',
overview: '日志',
success: '成功',
failed: '失败',
completed: '已完成',
@ -255,7 +258,7 @@ export default {
theDocumentBeingParsedCannotBeDeleted: '正在解析的文档不能被删除',
},
knowledgeConfiguration: {
tocExtraction: '目录提取',
tocExtraction: '目录增强',
tocExtractionTip:
'对于已有的chunk生成层级结构的目录信息每个文件一个目录。在查询时激活`目录增强`后系统会用大模型去判断用户问题和哪些目录项相关从而找到相关的chunk。',
deleteGenerateModalContent: `
@ -1713,6 +1716,10 @@ Tokenizer 会根据所选方式将内容存储为对应的数据结构。`,
totalFiles: '文件总数',
downloading: '正在下载',
processing: '正在处理',
downloadSuccessTip: '下载成功总数',
downloadFailedTip: '下载失败总数',
processingSuccessTip: '处理成功的文件总数',
processingFailedTip: '处理失败的文件总数',
},
},
};