mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 02:23:53 +02:00
refactor(ux): combined sources to one section
- Renamed "Documents" section to "Sources" in the dashboard layout. - Updated routing for adding sources and managing documents. - Refactored the connectors and documents upload pages to redirect to the new sources section. - Added localization support for the new "Sources" terminology in English and Chinese.
This commit is contained in:
parent
ed348b1bf9
commit
8c54ca27d7
16 changed files with 1188 additions and 1332 deletions
|
|
@ -36,13 +36,9 @@ export function NavMain({ items }: { items: NavItem[] }) {
|
|||
const titleMap: Record<string, string> = {
|
||||
Researcher: "researcher",
|
||||
"Manage LLMs": "manage_llms",
|
||||
Documents: "documents",
|
||||
"Upload Documents": "upload_documents",
|
||||
"Add Webpages": "add_webpages",
|
||||
"Add Youtube Videos": "add_youtube",
|
||||
Sources: "sources",
|
||||
"Add Sources": "add_sources",
|
||||
"Manage Documents": "manage_documents",
|
||||
Connectors: "connectors",
|
||||
"Add Connector": "add_connector",
|
||||
"Manage Connectors": "manage_connectors",
|
||||
Podcasts: "podcasts",
|
||||
Logs: "logs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue