Skip to content

Breadcrumbs - #51

Merged
nicosammito merged 4 commits into
mainfrom
feat/#34
Jan 10, 2026
Merged

Breadcrumbs#51
nicosammito merged 4 commits into
mainfrom
feat/#34

Conversation

@nicosammito

Copy link
Copy Markdown
Member

Close #34

@nicosammito nicosammito self-assigned this Jan 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8feca0bd57

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +112 to +116
if (third === "projects") return fourth === "create"
if (third === "members") return fourth === "add"
if (third === "roles") return fourth === "create"
if (third === "runtimes") return fourth === "create"
if (third === projectIndex) return fourth === "@tabs"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Treat project tab routes as routable without @tabs

Next.js parallel route segment names (like @tabs) do not appear in the URL returned by usePathname(), so for real URLs such as /namespace/:namespaceId/:projectId/flow the pathSegments array will never contain "@tabs". With the current checks, those paths are marked non-routable and resolveDestination trims them back to /namespace/:namespaceId/:projectId, causing breadcrumb entries for Flow (and flowId) pages to link to the project root instead of the current tab. This breaks breadcrumb navigation for all pages rendered under the @tabs slot.

Useful? React with 👍 / 👎.

@github-actions

Copy link
Copy Markdown

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/sculptor/-/pipelines/2255694575

Status: Passed
Duration: 2 minutes

@nicosammito
nicosammito merged commit a94f88f into main Jan 10, 2026
1 check passed
@nicosammito
nicosammito deleted the feat/#34 branch January 10, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Breadcrumbs

1 participant