File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed
artifacts/artifact-node-sheet Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export function useStackColumns(): ColumnDef<Stack>[] {
2828 < StackSheet stackName = { name } stackId = { id } >
2929 < h2 className = "text-text-md font-semibold" > { name } </ h2 >
3030 </ StackSheet >
31+ < CopyButton copyText = { name } > </ CopyButton >
3132 </ div >
3233 < div className = "flex items-center gap-1" >
3334 < p className = "text-text-xs text-theme-text-secondary" > { id . split ( "-" ) [ 0 ] } </ p >
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ export function DataCard({ artifactVersionId }: Props) {
183183 ...componentQueries . componentDetail ( artifactStoreId ! ) ,
184184 enabled : ! ! artifactStoreId
185185 } ) ;
186+ const artifactStoreHref : string = routes . components . detail ( artifactStoreId || "" ) ;
186187
187188 if ( isArtifactVersionError ) {
188189 return < ErrorFallback err = { artifactVersionError } /> ;
@@ -208,14 +209,16 @@ export function DataCard({ artifactVersionId }: Props) {
208209 value = {
209210 < >
210211 { isStoreSuccess ? (
211- < Tag
212- emphasis = "subtle"
213- rounded = { false }
214- color = "grey"
215- className = "text-theme-text-primary"
216- >
217- { storeData ?. name }
218- </ Tag >
212+ < Link target = "_blank" to = { artifactStoreHref } >
213+ < Tag
214+ emphasis = "subtle"
215+ rounded = { false }
216+ color = "grey"
217+ className = "text-theme-text-primary"
218+ >
219+ { storeData ?. name }
220+ </ Tag >
221+ </ Link >
219222 ) : (
220223 < Skeleton className = "h-6 w-12" />
221224 ) }
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ function StackSetCommand({ name }: StackSetCommandProps) {
164164
165165 return (
166166 < section className = "px-5 pt-5" >
167- < CollapsibleCard title = { < span className = "text-text-lg" > Set this stack</ span > } >
167+ < CollapsibleCard title = { < span className = "text-text-lg" > Set this stack</ span > } initialOpen >
168168 < ul className = "space-y-5" >
169169 < li className = "space-y-2" >
170170 < div className = "flex items-center gap-2" >
You can’t perform that action at this time.
0 commit comments