File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import styled from '@emotion/styled';
33import { PlatformIcon } from 'platformicons' ;
44
55import { Breadcrumbs , type Crumb } from 'sentry/components/breadcrumbs' ;
6+ import { FeatureBadge } from 'sentry/components/core/badge/featureBadge' ;
67import { Flex , Stack } from 'sentry/components/core/layout' ;
78import { Text } from 'sentry/components/core/text' ;
89import { Heading } from 'sentry/components/core/text/heading' ;
@@ -49,7 +50,10 @@ export function BuildCompareHeaderContent(props: BuildCompareHeaderContentProps)
4950 return (
5051 < Flex justify = "between" align = "center" gap = "lg" >
5152 < Stack gap = "lg" style = { { padding : `0 0 ${ theme . space . lg } 0` } } >
52- < Breadcrumbs crumbs = { breadcrumbs } />
53+ < Flex align = "center" gap = "sm" >
54+ < Breadcrumbs crumbs = { breadcrumbs } />
55+ < FeatureBadge type = "beta" />
56+ </ Flex >
5357 < Heading as = "h1" > Build comparison</ Heading >
5458 < Flex gap = "lg" wrap = "wrap" align = "center" >
5559 < Flex gap = "sm" align = "center" >
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React from 'react';
22import { Link } from 'react-router-dom' ;
33
44import { Breadcrumbs , type Crumb } from 'sentry/components/breadcrumbs' ;
5+ import { FeatureBadge } from 'sentry/components/core/badge/featureBadge' ;
56import { Button } from 'sentry/components/core/button' ;
67import { Flex } from 'sentry/components/core/layout' ;
78import DropdownButton from 'sentry/components/dropdownButton' ;
@@ -124,7 +125,10 @@ export function BuildDetailsHeaderContent(props: BuildDetailsHeaderContentProps)
124125 return (
125126 < React . Fragment >
126127 < Layout . HeaderContent >
127- < Breadcrumbs crumbs = { breadcrumbs } />
128+ < Flex align = "center" gap = "sm" >
129+ < Breadcrumbs crumbs = { breadcrumbs } />
130+ < FeatureBadge type = "beta" />
131+ </ Flex >
128132 < Layout . Title >
129133 { project && < IdBadge project = { project } avatarSize = { 28 } hideName /> }
130134 < Version version = { version } anchor = { false } truncate />
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
12import styled from '@emotion/styled' ;
23import type { Location } from 'history' ;
34import pick from 'lodash/pick' ;
@@ -92,9 +93,14 @@ function ReleaseHeader({
9293 < FeatureBadge type = "new" />
9394 </ BadgeWrapper >
9495 ) : (
95- < NavTabsBadge type = "default" >
96- { formatAbbreviatedNumber ( numberOfMobileBuilds ) }
97- </ NavTabsBadge >
96+ < React . Fragment >
97+ < NavTabsBadge type = "default" >
98+ { formatAbbreviatedNumber ( numberOfMobileBuilds ) }
99+ </ NavTabsBadge >
100+ < BadgeWrapper >
101+ < FeatureBadge type = "beta" />
102+ </ BadgeWrapper >
103+ </ React . Fragment >
98104 ) ,
99105 } ) ,
100106 textValue : t ( 'Builds %s' , numberOfMobileBuilds ) ,
You can’t perform that action at this time.
0 commit comments