diff --git a/.vscode/settings.json b/.vscode/settings.json index 86d2114..fb71070 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,11 @@ { "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}${separator}${profileName}${separator}${appName}", - "workbench.editor.labelFormat": "medium", + "workbench.editor.labelFormat": "default", + "workbench.editor.customLabels.enabled": true, + "workbench.editor.customLabels.patterns": { + "**/[[]...slug[]]/route.ts": "${dirname(1)}/slug/${filename}.${extname}", + "**/route.ts": "Route: ${dirname(1)}", + }, "files.exclude": { "**/.git": true, "**/.svn": true, @@ -9,7 +14,8 @@ "**/.DS_Store": true, "**/Thumbs.db": true, ".**": true, - "node_modules": true, + "node_modules": true }, - "hide-files.files": [], + "betterOpenEditors.HidePackagePath": true, + "betterOpenEditors.PackagePatterns": "**/components\n**/modules/\n**/app\n**/app/api\n**/app/admin\n**/models\n**/util/*\n**/util\n**/lib/*\n**/views" } \ No newline at end of file diff --git a/src/components/views/admin/post/CPostView.tsx b/src/components/views/admin/post/CPostView.tsx index b7dc421..e2a4ceb 100644 --- a/src/components/views/admin/post/CPostView.tsx +++ b/src/components/views/admin/post/CPostView.tsx @@ -6,7 +6,7 @@ import PostTable, { import { GetPostsAttributes, PostServerActions, -} from "@/app/lib/actions/entityManagement/post/postActions"; +} from "@/app/lib/actions/entitymanagement/post/postActions"; import { EditorState } from "@/components/client/admin/PostEditor"; import { Project } from "@/models"; import { ReactNode, useState } from "react"; diff --git a/src/components/views/admin/post/PostView.tsx b/src/components/views/admin/post/PostView.tsx index 457f4fa..ad30896 100644 --- a/src/components/views/admin/post/PostView.tsx +++ b/src/components/views/admin/post/PostView.tsx @@ -8,11 +8,11 @@ import { updatePost, GetPostsAttributes, PostServerActions, -} from "@/app/lib/actions/entityManagement/post/postActions"; -import { getProjects } from "@/app/lib/actions/entityManagement/post/projectActions"; +} from "@/app/lib/actions/entitymanagement/post/postActions"; +import { getProjects } from "@/app/lib/actions/entitymanagement/post/projectActions"; import { Bucket, Project, Post, dbSync, Attachment } from "@/models"; import { handleActionResult } from "@/app/lib/actions/clientActionHandler"; -import { CPostView } from "@/views/admin/post"; +import { CPostView } from "@/components/views/admin/post"; type Props = { children?: ReactNode;