Skip to content

Add branch landing page and switcher for repo-backed namespaces#1917

Merged
shangyian merged 4 commits intoDataJunction:mainfrom
shangyian:branch-namespaces-ui
Mar 25, 2026
Merged

Add branch landing page and switcher for repo-backed namespaces#1917
shangyian merged 4 commits intoDataJunction:mainfrom
shangyian:branch-namespaces-ui

Conversation

@shangyian
Copy link
Copy Markdown
Collaborator

@shangyian shangyian commented Mar 25, 2026

Summary

When viewing a git-root namespace (one that backs a repo but is not itself a branch), the namespace page now shows a branch landing view instead of the flat node table: branch cards with node counts, invalid counts, and last-deployed timestamps, plus a preview of the default branch's nodes grouped by type (metrics, cubes, dimensions, transforms).

When viewing a branch namespace, the last breadcrumb segment becomes a dropdown that lets you switch directly to any other branch. Node names in branch namespace tables are shown relative to the namespace (e.g. revenue instead of acme.main.revenue).

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 25, 2026

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit 3db52c9
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/69c38e3b7be6d20008ca4168

@shangyian shangyian changed the title Add better namespace ui for repo root Add branch landing page and switcher for repo-backed namespaces Mar 25, 2026
@shangyian shangyian marked this pull request as ready for review March 25, 2026 07:39
@shangyian shangyian merged commit 7c970db into DataJunction:main Mar 25, 2026
17 checks passed
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.

1 participant