diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 38a0331..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,16 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "weekly" - groups: - nestjs: - patterns: - - "@nestjs/*" - next: - patterns: - - "next" - - "react" - - "react-dom" - open-pull-requests-limit: 10 diff --git a/apps/web/components/devinbox/CreateProjectModal.tsx b/apps/web/components/devinbox/CreateProjectModal.tsx index d039fa8..1c162c3 100644 --- a/apps/web/components/devinbox/CreateProjectModal.tsx +++ b/apps/web/components/devinbox/CreateProjectModal.tsx @@ -118,21 +118,46 @@ export function CreateProjectModal({ {/* Slug Field */}
- +
+ + {autoGenerateSlug ? ( + + ) : ( + + )} +
handleSlugChange(e.target.value)} - className="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 font-mono text-sm text-gray-900" + className={`w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 font-mono text-sm text-gray-900 ${ + autoGenerateSlug ? 'bg-gray-50' : '' + }`} placeholder="my-awesome-project" required disabled={loading} + readOnly={autoGenerateSlug} pattern="[a-z0-9-]+" />