Skip to content

[bug] Nextjs route groups are not considered as a valid project #2936

@RestartDK

Description

@RestartDK

Describe the bug

When you import a nextjs project with route groups the validator fails to see if it's a valid nextjs project. For example:

src
└── app
    ├── (app)
    │   ├── about
    │   │   └── page.tsx
    │   ├── career
    │   │   ├── [id]
    │   │   │   └── page.tsx
    │   │   └── page.tsx
    │   ├── contact
    │   │   └── page.tsx
    │   ├── layout.tsx
    │   ├── news
    │   │   ├── [slug]
    │   │   │   └── page.tsx
    │   │   └── page.tsx
    │   ├── page.tsx
    │   ├── privacy
    │   │   └── page.tsx
    │   ├── projects
    │   │   └── page.tsx
    │   └── webcast
    │       └── page.tsx
    └── (dashboard)
        ├── admin
        │   └── page.tsx
        └── layout.tsx

Here it will not allow you to upload the nextjs project.

The expected behaviour should allow you to edit your projects regardless of route groups (as it technically only is a way to organise the app and does not implement any new functionalit).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions