Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

feat: Remove `docs_` prefix from URL (#10888)

René Wangba6a5475bc1c
diff --git a/locales/ar/common.json b/locales/ar/common.json
index 0ee6bf25441..9224b548bc4 100644
--- a/locales/ar/common.json
+++ b/locales/ar/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "أدخل سؤالك في الحقل أعلاه لبدء المحادثة مع الذكاء الاصطناعي",
"aiModeHint": "اضغط Enter لطرح سؤال على Lobe AI",
"aiModePlaceholder": "اطرح سؤالاً على الذكاء الاصطناعي...",
+ "askAI": "اسأل الذكاء الاصطناعي",
"community": "المجتمع",
"communitySupport": "دعم المجتمع",
"context": {
@@ -154,6 +155,10 @@
"settings": "الإعدادات"
},
"discover": "استكشاف",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "الذاكرة",
"navigate": "التنقل",
"newAgent": "إنشاء مساعد جديد",
diff --git a/locales/bg-BG/common.json b/locales/bg-BG/common.json
index 9efcc6135dc..e89abfbb599 100644
--- a/locales/bg-BG/common.json
+++ b/locales/bg-BG/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Въведете въпроса си в полето по-горе, за да започнете разговор с AI",
"aiModeHint": "Натиснете Enter, за да попитате Lobe AI",
"aiModePlaceholder": "Задайте въпрос на AI...",
+ "askAI": "Попитай AI",
"community": "Общност",
"communitySupport": "Общностна поддръжка",
"context": {
@@ -154,6 +155,10 @@
"settings": "Настройки"
},
"discover": "Открий",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Памет",
"navigate": "Навигация",
"newAgent": "Създай агент",
diff --git a/locales/de-DE/common.json b/locales/de-DE/common.json
index d72647c4731..0269464d33a 100644
--- a/locales/de-DE/common.json
+++ b/locales/de-DE/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Gib deine Frage oben ein, um mit der KI zu chatten",
"aiModeHint": "Drücken Sie Enter, um Lobe AI zu fragen",
"aiModePlaceholder": "Stelle der KI eine Frage...",
+ "askAI": "KI fragen",
"community": "Community",
"communitySupport": "Community-Support",
"context": {
@@ -154,6 +155,10 @@
"settings": "Einstellungen"
},
"discover": "Entdecken",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Erinnerung",
"navigate": "Navigieren",
"newAgent": "Neuen Assistenten erstellen",
diff --git a/locales/en-US/common.json b/locales/en-US/common.json
index 31e1d669697..babc278c804 100644
--- a/locales/en-US/common.json
+++ b/locales/en-US/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Type your question above to start chatting with AI",
"aiModeHint": "Press Enter to ask Lobe AI",
"aiModePlaceholder": "Ask AI anything...",
+ "askAI": "Ask AI",
"community": "Community",
"communitySupport": "Community Support",
"context": {
@@ -154,6 +155,10 @@
"settings": "Settings"
},
"discover": "Discover",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Memory",
"navigate": "Navigate",
"newAgent": "Create New Assistant",
diff --git a/locales/es-ES/common.json b/locales/es-ES/common.json
index 90d47537869..d2d5dadd3db 100644
--- a/locales/es-ES/common.json
+++ b/locales/es-ES/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Escribe tu pregunta en el cuadro de arriba para comenzar a conversar con la IA",
"aiModeHint": "Presiona Enter para preguntar a Lobe AI",
"aiModePlaceholder": "Hazle una pregunta a la IA...",
+ "askAI": "Preguntar a la IA",
"community": "Comunidad",
"communitySupport": "Soporte de la comunidad",
"context": {
@@ -154,6 +155,10 @@
"settings": "Configuración"
},
"discover": "Descubrir",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Memoria",
"navigate": "Navegar",
"newAgent": "Nuevo asistente",
diff --git a/locales/fa-IR/common.json b/locales/fa-IR/common.json
index b781a383946..bb66d55cec9 100644
--- a/locales/fa-IR/common.json
+++ b/locales/fa-IR/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "برای شروع گفتگو با هوش مصنوعی، سوال خود را در کادر بالا وارد کنید",
"aiModeHint": "Enter را فشار دهید تا از Lobe AI بپرسید",
"aiModePlaceholder": "سوالی از هوش مصنوعی بپرسید...",
+ "askAI": "پرسیدن از هوش مصنوعی",
"community": "انجمن",
"communitySupport": "پشتیبانی جامعه",
"context": {
@@ -154,6 +155,10 @@
"settings": "تنظیمات"
},
"discover": "کشف",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "حافظه",
"navigate": "ناوبری",
"newAgent": "دستیار جدید",
diff --git a/locales/fr-FR/common.json b/locales/fr-FR/common.json
index 82ed54659a3..019373587f1 100644
--- a/locales/fr-FR/common.json
+++ b/locales/fr-FR/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Saisissez votre question dans le champ ci-dessus pour commencer à discuter avec l'IA",
"aiModeHint": "Appuyez sur Entrée pour interroger Lobe AI",
"aiModePlaceholder": "Posez une question à l'IA...",
+ "askAI": "Demander à l'IA",
"community": "Communauté",
"communitySupport": "Support communautaire",
"context": {
@@ -154,6 +155,10 @@
"settings": "Paramètres"
},
"discover": "Découvrir",
+ "keyboard": {
+ "ESC": "ÉCHAP",
+ "Tab": "Tab"
+ },
"memory": "Mémoire",
"navigate": "Naviguer",
"newAgent": "Nouvel assistant",
diff --git a/locales/it-IT/common.json b/locales/it-IT/common.json
index 220aa698f37..c3a3abf2557 100644
--- a/locales/it-IT/common.json
+++ b/locales/it-IT/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Inserisci la tua domanda nel campo sopra per iniziare a conversare con l'AI",
"aiModeHint": "Premi Invio per chiedere a Lobe AI",
"aiModePlaceholder": "Fai una domanda all'AI...",
+ "askAI": "Chiedi all'AI",
"community": "Comunità",
"communitySupport": "Supporto della comunità",
"context": {
@@ -154,6 +155,10 @@
"settings": "Impostazioni"
},
"discover": "Scopri",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Memoria",
"navigate": "Naviga",
"newAgent": "Nuovo assistente",
diff --git a/locales/ja-JP/common.json b/locales/ja-JP/common.json
index 861af956d39..467af567e56 100644
--- a/locales/ja-JP/common.json
+++ b/locales/ja-JP/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "上の入力欄に質問を入力して、AIとの対話を始めましょう",
"aiModeHint": "EnterキーでLobe AIに質問",
"aiModePlaceholder": "AIに質問する...",
+ "askAI": "AIに質問する",
"community": "コミュニティ",
"communitySupport": "コミュニティサポート",
"context": {
@@ -154,6 +155,10 @@
"settings": "設定"
},
"discover": "発見",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "メモリー",
"navigate": "ナビゲート",
"newAgent": "新しいエージェントを作成",
diff --git a/locales/ko-KR/common.json b/locales/ko-KR/common.json
index 490a14adf7f..97c95ed81cd 100644
--- a/locales/ko-KR/common.json
+++ b/locales/ko-KR/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "위의 입력창에 질문을 입력하여 AI와 대화를 시작하세요",
"aiModeHint": "Enter 키를 눌러 Lobe AI에게 질문하세요",
"aiModePlaceholder": "AI에게 질문하기...",
+ "askAI": "AI에게 질문하기",
"community": "커뮤니티",
"communitySupport": "커뮤니티 지원",
"context": {
@@ -154,6 +155,10 @@
"settings": "설정"
},
"discover": "탐색",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "기억",
"navigate": "탐색",
"newAgent": "새 에이전트 만들기",
diff --git a/locales/nl-NL/common.json b/locales/nl-NL/common.json
index 9f8dbd66320..0e87449cf0e 100644
--- a/locales/nl-NL/common.json
+++ b/locales/nl-NL/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Typ je vraag in het invoerveld hierboven om een gesprek met de AI te starten",
"aiModeHint": "Druk op Enter om Lobe AI te vragen",
"aiModePlaceholder": "Stel een vraag aan de AI...",
+ "askAI": "Vraag het aan AI",
"community": "Community",
"communitySupport": "Communityondersteuning",
"context": {
@@ -154,6 +155,10 @@
"settings": "Instellingen"
},
"discover": "Ontdekken",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Geheugen",
"navigate": "Navigeren",
"newAgent": "Nieuwe Assistent",
diff --git a/locales/pl-PL/common.json b/locales/pl-PL/common.json
index 66d672dfa1b..13979d25917 100644
--- a/locales/pl-PL/common.json
+++ b/locales/pl-PL/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Wpisz swoje pytanie w polu powyżej, aby rozpocząć rozmowę z AI",
"aiModeHint": "Naciśnij Enter, aby zapytać Lobe AI",
"aiModePlaceholder": "Zadaj pytanie AI...",
+ "askAI": "Zapytaj AI",
"community": "Społeczność",
"communitySupport": "Wsparcie społeczności",
"context": {
@@ -154,6 +155,10 @@
"settings": "Ustawienia"
},
"discover": "Odkrywaj",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Pamięć",
"navigate": "Nawigacja",
"newAgent": "Nowy asystent",
diff --git a/locales/pt-BR/common.json b/locales/pt-BR/common.json
index 6370fa7423b..c36eed27767 100644
--- a/locales/pt-BR/common.json
+++ b/locales/pt-BR/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Digite sua pergunta na caixa acima para começar a conversar com a IA",
"aiModeHint": "Pressione Enter para perguntar ao Lobe AI",
"aiModePlaceholder": "Pergunte algo à IA...",
+ "askAI": "Perguntar à IA",
"community": "Comunidade",
"communitySupport": "Suporte da Comunidade",
"context": {
@@ -154,6 +155,10 @@
"settings": "Configurações"
},
"discover": "Descobrir",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Memória",
"navigate": "Navegar",
"newAgent": "Novo Assistente",
diff --git a/locales/ru-RU/common.json b/locales/ru-RU/common.json
index 4bbd7f597e4..413fd623a63 100644
--- a/locales/ru-RU/common.json
+++ b/locales/ru-RU/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Введите свой вопрос в поле выше, чтобы начать диалог с ИИ",
"aiModeHint": "Нажмите Enter, чтобы задать вопрос Lobe AI",
"aiModePlaceholder": "Задайте вопрос ИИ...",
+ "askAI": "Спросить ИИ",
"community": "Сообщество",
"communitySupport": "Поддержка сообщества",
"context": {
@@ -154,6 +155,10 @@
"settings": "Настройки"
},
"discover": "Обзор",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Память",
"navigate": "Навигация",
"newAgent": "Создать помощника",
diff --git a/locales/tr-TR/common.json b/locales/tr-TR/common.json
index 2453e406b83..eaa2ff24f64 100644
--- a/locales/tr-TR/common.json
+++ b/locales/tr-TR/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Yukarıdaki giriş kutusuna sorunuzu yazarak yapay zeka ile sohbet etmeye başlayın",
"aiModeHint": "Enter tuşuna basarak Lobe AI'ye sor",
"aiModePlaceholder": "Yapay zekaya soru sor...",
+ "askAI": "Yapay Zekaya Sor",
"community": "Topluluk",
"communitySupport": "Topluluk Desteği",
"context": {
@@ -154,6 +155,10 @@
"settings": "Ayarlar"
},
"discover": "Keşfet",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Hafıza",
"navigate": "Gezin",
"newAgent": "Yeni Asistan Oluştur",
diff --git a/locales/vi-VN/common.json b/locales/vi-VN/common.json
index fef9ddc4b29..c72b8439c87 100644
--- a/locales/vi-VN/common.json
+++ b/locales/vi-VN/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "Nhập câu hỏi của bạn vào ô phía trên để bắt đầu trò chuyện với AI",
"aiModeHint": "Nhấn Enter để hỏi Lobe AI",
"aiModePlaceholder": "Đặt câu hỏi cho AI...",
+ "askAI": "Hỏi AI",
"community": "Cộng đồng",
"communitySupport": "Hỗ trợ cộng đồng",
"context": {
@@ -154,6 +155,10 @@
"settings": "Cài đặt"
},
"discover": "Khám phá",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "Ký ức",
"navigate": "Điều hướng",
"newAgent": "Tạo trợ lý mới",
diff --git a/locales/zh-CN/common.json b/locales/zh-CN/common.json
index 272c6ae6ca0..4e32a87a4da 100644
--- a/locales/zh-CN/common.json
+++ b/locales/zh-CN/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "在上方输入框中输入你的问题,开始与 AI 对话",
"aiModeHint": "Enter to ask Lobe AI",
"aiModePlaceholder": "向 AI 提问...",
+ "askAI": "问 AI",
"community": "社区",
"communitySupport": "社区支持",
"context": {
@@ -154,6 +155,10 @@
"settings": "设置"
},
"discover": "发现",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "记忆",
"navigate": "导航",
"newAgent": "新建助手",
diff --git a/locales/zh-TW/common.json b/locales/zh-TW/common.json
index fea3c44cb69..191e9f839c6 100644
--- a/locales/zh-TW/common.json
+++ b/locales/zh-TW/common.json
@@ -140,6 +140,7 @@
"aiModeEmptyState": "在上方輸入框中輸入你的問題,開始與 AI 對話",
"aiModeHint": "按 Enter 向 Lobe AI 詢問",
"aiModePlaceholder": "向 AI 提問...",
+ "askAI": "詢問 AI",
"community": "社群",
"communitySupport": "社群支援",
"context": {
@@ -154,6 +155,10 @@
"settings": "設定"
},
"discover": "探索",
+ "keyboard": {
+ "ESC": "ESC",
+ "Tab": "Tab"
+ },
"memory": "記憶",
"navigate": "導覽",
"newAgent": "新增助手",
diff --git a/packages/builtin-agents/src/agents/page-agent/systemRole.ts b/packages/builtin-agents/src/agents/page-agent/systemRole.ts
index b1e79cbbf77..9f25dc0ef14 100644
--- a/packages/builtin-agents/src/agents/page-agent/systemRole.ts
+++ b/packages/builtin-agents/src/agents/page-agent/systemRole.ts
@@ -5,9 +5,7 @@
*/
export const systemRoleTemplate = `You are a helpful document (page) editing assistant. Your role is to:
- Help users write, edit, and improve their pages
-- Provide suggestions for better clarity, structure, and style
- Answer questions about the page content
- Help with formatting and organization
-- Summarize or expand on sections as needed
Be concise and helpful. Focus on improving the page quality.`;
diff --git a/src/app/[variants]/(main)/page/_layout/Body/useDropdownMenu.tsx b/src/app/[variants]/(main)/page/_layout/Body/useDropdownMenu.tsx
index d7fe61b8d1b..f1269e208e9 100644
--- a/src/app/[variants]/(main)/page/_layout/Body/useDropdownMenu.tsx
+++ b/src/app/[variants]/(main)/page/_layout/Body/useDropdownMenu.tsx
@@ -2,7 +2,7 @@
import { Icon } from '@lobehub/ui';
import type { MenuProps } from '@lobehub/ui';
-import { Check, Hash, LucideCheck } from 'lucide-react';
+import { Hash, LucideCheck } from 'lucide-react';
import { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -32,21 +32,21 @@ export const useDropdownMenu = (): MenuProps['items'] => {
}));
return [
- {
- icon: <Icon icon={Check} style={{ opacity: !showOnlyPagesNotInLibrary ? 1 : 0 }} />,
- key: 'all',
- label: t('pageList.filter.all'),
- onClick: () => setShowOnlyPagesNotInLibrary(false),
- },
- {
- icon: <Icon icon={Check} style={{ opacity: showOnlyPagesNotInLibrary ? 1 : 0 }} />,
- key: 'onlyInPages',
- label: t('pageList.filter.onlyInPages'),
- onClick: () => setShowOnlyPagesNotInLibrary(true),
- },
- {
- type: 'divider' as const,
- },
+ // {
+ // icon: <Icon icon={Check} style={{ opacity: !showOnlyPagesNotInLibrary ? 1 : 0 }} />,
+ // key: 'all',
+ // label: t('pageList.filter.all'),
+ // onClick: () => setShowOnlyPagesNotInLibrary(false),
+ // },
+ // {
+ // icon: <Icon icon={Check} style={{ opacity: showOnlyPagesNotInLibrary ? 1 : 0 }} />,
+ // key: 'onlyInPages',
+ // label: t('pageList.filter.onlyInPages'),
+ // onClick: () => setShowOnlyPagesNotInLibrary(true),
+ // },
+ // {
+ // type: 'divider' as const,
+ // },
{
children: pageSizeItems,
icon: <Icon icon={Hash} />,
diff --git a/src/app/[variants]/(main)/page/index.tsx b/src/app/[variants]/(main)/page/index.tsx
index c3b51a7ec78..fbc6bfcff66 100644
--- a/src/app/[variants]/(main)/page/index.tsx
+++ b/src/app/[variants]/(main)/page/index.tsx
@@ -15,7 +15,7 @@ const PagesPage = memo(() => {
return (
<Suspense fallback={<Loading debugId="PagesPage" />}>
- <PageExplorer pageId={id} />
+ <PageExplorer pageId={`docs_${id}`} />
</Suspense>
);
});
diff --git a/src/app/[variants]/(main)/settings/about/index.tsx b/src/app/[variants]/(main)/settings/about/index.tsx
index d091dd5363c..54f489148cf 100644
--- a/src/app/[variants]/(main)/settings/about/index.tsx
+++ b/src/app/[variants]/(main)/settings/about/index.tsx
@@ -1,6 +1,6 @@
'use client';
-import { SiDiscord, SiGithub, SiMedium, SiRss, SiX } from '@icons-pack/react-simple-icons';
+import { SiDiscord, SiGithub, SiRss, SiX, SiYoutube } from '@icons-pack/react-simple-icons';
import { Flexbox, Form } from '@lobehub/ui';
import { Divider } from 'antd';
import { createStyles } from 'antd-style';
@@ -92,10 +92,10 @@ const Page = memo<{ mobile?: boolean }>(({ mobile }) => {
},
{
- href: SOCIAL_URL.medium,
- icon: SiMedium,
- label: 'Medium',
- value: 'medium',
+ href: SOCIAL_URL.youtube,
+ icon: SiYoutube,
+ label: 'YouTube',
+ value: 'youtube',
},
]}
/>
diff --git a/src/features/CommandMenu/components/CommandInput.tsx b/src/features/CommandMenu/components/CommandInput.tsx
index 51db4e23806..ce16ef8bc43 100644
--- a/src/features/CommandMenu/components/CommandInput.tsx
+++ b/src/features/CommandMenu/components/CommandInput.tsx
@@ -84,11 +84,11 @@ const CommandInput = memo(() => {
/>
{viewMode !== 'ai-chat' && search.trim() ? (
<>
- <span style={{ fontSize: '14px', opacity: 0.6 }}>Ask AI</span>
- <Tag>Tab</Tag>
+ <span style={{ fontSize: '14px', opacity: 0.6 }}>{t('cmdk.askAI')}</span>
+ <Tag>{t('cmdk.keyboard.Tab')}</Tag>
</>
) : (
- <Tag>ESC</Tag>
+ <Tag>{t('cmdk.keyboard.ESC')}</Tag>
)}
</div>
</>
diff --git a/src/features/CommandMenu/useCommandMenu.ts b/src/features/CommandMenu/useCommandMenu.ts
index 57f43160473..31ea3c193c6 100644
--- a/src/features/CommandMenu/useCommandMenu.ts
+++ b/src/features/CommandMenu/useCommandMenu.ts
@@ -1,6 +1,6 @@
import { useDebounce } from 'ahooks';
import { useEffect, useMemo } from 'react';
-import { useLocation, useNavigate } from 'react-router-dom';
+import { useNavigate } from 'react-router-dom';
import useSWR from 'swr';
import type { SearchResult } from '@/database/repositories/search';
@@ -34,7 +34,6 @@ export const useCommandMenu = () => {
} = useCommandMenuContext();
const navigate = useNavigate();
- const location = useLocation();
const switchThemeMode = useGlobalStore((s) => s.switchThemeMode);
const createAgent = useAgentStore((s) => s.createAgent);
const refreshAgentList = useHomeStore((s) => s.refreshAgentList);
diff --git a/src/locales/default/common.ts b/src/locales/default/common.ts
index 45f3c5d83f3..8fe632cace3 100644
--- a/src/locales/default/common.ts
+++ b/src/locales/default/common.ts
@@ -143,6 +143,7 @@ export default {
aiModeEmptyState: '在上方输入框中输入你的问题,开始与 AI 对话',
aiModeHint: 'Enter to ask Lobe AI',
aiModePlaceholder: '向 AI 提问...',
+ askAI: '问 AI',
community: '社区',
communitySupport: '社区支持',
context: {
@@ -157,6 +158,10 @@ export default {
settings: '设置',
},
discover: '发现',
+ keyboard: {
+ ESC: 'ESC',
+ Tab: 'Tab',
+ },
memory: '记忆',
navigate: '导航',
newAgent: '新建助手',
diff --git a/src/store/file/slices/document/action.ts b/src/store/file/slices/document/action.ts
index c067fc69904..bc068149ee9 100644
--- a/src/store/file/slices/document/action.ts
+++ b/src/store/file/slices/document/action.ts
@@ -16,7 +16,9 @@ const ALLOWED_DOCUMENT_FILE_TYPES = new Set(['custom/document', 'application/pdf
const EDITOR_DOCUMENT_FILE_TYPE = 'custom/document';
const updateUrl = (docId: string | null) => {
- const newPath = docId ? `/page/${docId}` : '/page';
+ const dryPageId = docId?.replace('docs_', '');
+
+ const newPath = dryPageId ? `/page/${dryPageId}` : '/page';
window.history.replaceState({}, '', newPath);
};