Repository navigation
fix: explain clone credential failures and show the clone environment #31693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a14548b
a28e794
d0f31db
1d7894d
a088d1f
b2f9619
704b80b
b3a8357
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -154,6 +154,7 @@ export function RemoteRepositorySummary(props: { | |
| readonly source: AddProjectRemoteSource; | ||
| readonly title: string; | ||
| readonly description: string; | ||
| readonly environmentLabel: string | null; | ||
| }) { | ||
| return ( | ||
| <div className="shrink-0 p-2 pb-0"> | ||
|
|
@@ -165,6 +166,11 @@ export function RemoteRepositorySummary(props: { | |
| <span className="flex min-w-0 flex-1 flex-col"> | ||
| <span className="truncate text-foreground text-sm">{props.title}</span> | ||
| <span className="truncate text-muted-foreground/85 text-xs">{props.description}</span> | ||
| {props.environmentLabel === null ? null : ( | ||
| <span className="truncate text-muted-foreground/85 text-xs"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep the full environment label visible. On a narrow screen,
|
||
| Clones on {props.environmentLabel} | ||
| </span> | ||
| )} | ||
| </span> | ||
| </div> | ||
| </div> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: pingdotgg/t3code
Length of output: 3569
Script executed:
Repository: pingdotgg/t3code
Length of output: 5111
Script executed:
Repository: pingdotgg/t3code
Length of output: 32778
Script executed:
Repository: pingdotgg/t3code
Length of output: 27811
Script executed:
Repository: pingdotgg/t3code
Length of output: 22397
Script executed:
Repository: pingdotgg/t3code
Length of output: 24543
Script executed:
Repository: pingdotgg/t3code
Length of output: 22460
Script executed:
Repository: pingdotgg/t3code
Length of output: 14169
Disambiguate duplicate environment labels in confirmation
Two connected environments can have the same label. The selection list distinguishes them by ID, but confirmation shows identical text for both. Show the selected environment ID when labels collide so users can confirm the clone target.