Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

ref: Use label instead of name for GitHub branches (#18471)

Kamil Ogórek63571ea0ed50
diff --git a/studio/components/interfaces/BranchManagement/BranchPanels.tsx b/studio/components/interfaces/BranchManagement/BranchPanels.tsx
index 88500274555..3d8c39c8d04 100644
--- a/studio/components/interfaces/BranchManagement/BranchPanels.tsx
+++ b/studio/components/interfaces/BranchManagement/BranchPanels.tsx
@@ -234,7 +234,7 @@ const PullRequestPanel = ({
<div>
<div className="flex items-center space-x-4">
<IconGitBranch className="text-brand-900" size={16} strokeWidth={2} />
- <p>{pr.branch}</p>
+ <p>{pr.label}</p>
<p className="text-light">
{daysFromNow > 1
? `Created on ${formattedCreatedAt}`
diff --git a/studio/data/api.d.ts b/studio/data/api.d.ts
index 46dddab2c52..1cd57912910 100644
--- a/studio/data/api.d.ts
+++ b/studio/data/api.d.ts
@@ -4155,7 +4155,9 @@ export interface components {
id: number
url: string
title: string
+ repo: string
branch: string
+ label: string
created_at: string
created_by?: string
}
@@ -9365,6 +9367,10 @@ export interface operations {
/** Gets github pull requests for a given repo */
GitHubPullRequestController_getPullRequests: {
parameters: {
+ query?: {
+ per_page?: number
+ page?: number
+ }
path: {
organization_integration_id: string
repo_owner: string