123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032 |
- exports[`ProjectCard renders 1`] = `
- <ProjectCard
- organization={
- Object {
- "access": Array [
- "org:read",
- "org:write",
- "org:admin",
- "org:integrations",
- "project:read",
- "project:write",
- "project:admin",
- "team:read",
- "team:write",
- "team:admin",
- ],
- "features": Array [],
- "id": "3",
- "name": "Organization Name",
- "onboardingTasks": Array [],
- "projects": Array [],
- "scrapeJavaScript": true,
- "slug": "org-slug",
- "status": Object {
- "id": "active",
- "name": "active",
- },
- "teams": Array [],
- }
- }
- params={
- Object {
- "orgId": "org-slug",
- }
- }
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <ProjectCardWrapper
- data-test-id="project-slug"
- width={
- Array [
- "100%",
- "50%",
- "33%",
- "25%",
- ]
- }
- >
- <Base
- className="css-3jemnr-ProjectCardWrapper e1o95it02"
- data-test-id="project-slug"
- width={
- Array [
- "100%",
- "50%",
- "33%",
- "25%",
- ]
- }
- >
- <div
- className="css-3jemnr-ProjectCardWrapper e1o95it02"
- data-test-id="project-slug"
- is={null}
- >
- <StyledProjectCard>
- <div
- className="css-18be1td-StyledProjectCard e1o95it03"
- >
- <StyledProjectCardHeader>
- <div
- className="css-v59cbs-StyledProjectCardHeader e1o95it01"
- >
- <StyledIdBadge
- avatarSize={18}
- displayName={
- <span>
- project-slug
- </span>
- }
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <IdBadge
- avatarSize={18}
- className="css-1gy4gs4-StyledIdBadge e1o95it05"
- displayName={
- <span>
- project-slug
- </span>
- }
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <InlineErrorBoundary
- mini={true}
- >
- <ErrorBoundary
- className="css-e4um1y-InlineErrorBoundary e83vi020"
- mini={true}
- >
- <ProjectBadge
- avatarSize={18}
- className="css-1gy4gs4-StyledIdBadge e1o95it05"
- displayName={
- <span>
- project-slug
- </span>
- }
- hideAvatar={false}
- hideOverflow={true}
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <BaseBadge
- avatarProps={Object {}}
- avatarSize={18}
- className="css-1gy4gs4-StyledIdBadge e1o95it05"
- displayName={
- <span>
- project-slug
- </span>
- }
- hideAvatar={false}
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <BaseBadgeWrapper
- className="css-1gy4gs4-StyledIdBadge e1o95it05"
- >
- <div
- className="e1o95it05 css-18f42c1-BaseBadgeWrapper-StyledIdBadge e165dl3i0"
- >
- <StyledAvatar
- className="css-0"
- hasTooltip={false}
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- size={18}
- >
- <Avatar
- className="css-robds0-StyledAvatar e165dl3i1"
- hasTooltip={false}
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- size={18}
- >
- <ProjectAvatar
- className="css-robds0-StyledAvatar e165dl3i1"
- hasTooltip={false}
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- size={18}
- >
- <PlatformList
- className="css-robds0-StyledAvatar e165dl3i1"
- consistentWidth={false}
- direction="right"
- hasTooltip={false}
- max={1}
- platforms={
- Array [
- "javascript",
- ]
- }
- size={18}
- >
- <PlatformIcons
- className="css-robds0-StyledAvatar e165dl3i1"
- consistentWidth={false}
- direction="right"
- max={1}
- size={18}
- >
- <div
- className="e165dl3i1 css-1cou1l3-PlatformIcons-StyledAvatar ezvce7z0"
- direction="right"
- max={1}
- size={18}
- >
- <StyledPlatformIcon
- key="javascript"
- platform="javascript"
- size={18}
- >
- <Component
- className="css-13qi1e0-StyledPlatformIcon ezvce7z1"
- platform="javascript"
- size={18}
- >
- <Platformicon
- className="css-13qi1e0-StyledPlatformIcon ezvce7z1"
- platform="javascript"
- size="18px"
- >
- <img
- className="css-13qi1e0-StyledPlatformIcon ezvce7z1"
- height="18px"
- src={
- Object {
- "default": Object {
- "id": "test",
- "viewBox": Object {},
- },
- }
- }
- width="18px"
- />
- </Platformicon>
- </Component>
- </StyledPlatformIcon>
- </div>
- </PlatformIcons>
- </PlatformList>
- </ProjectAvatar>
- </Avatar>
- </StyledAvatar>
- <DisplayNameAndDescription>
- <div
- className="css-1yzfvrt-DisplayNameAndDescription e165dl3i2"
- >
- <DisplayName
- data-test-id="badge-display-name"
- >
- <span
- className="css-d0rtl9-DisplayName e165dl3i3"
- data-test-id="badge-display-name"
- >
- <span>
- project-slug
- </span>
- </span>
- </DisplayName>
- </div>
- </DisplayNameAndDescription>
- </div>
- </BaseBadgeWrapper>
- </BaseBadge>
- </ProjectBadge>
- </ErrorBoundary>
- </InlineErrorBoundary>
- </IdBadge>
- </StyledIdBadge>
- <withApi(BookmarkStar)
- organization={
- Object {
- "access": Array [
- "org:read",
- "org:write",
- "org:admin",
- "org:integrations",
- "project:read",
- "project:write",
- "project:admin",
- "team:read",
- "team:write",
- "team:admin",
- ],
- "features": Array [],
- "id": "3",
- "name": "Organization Name",
- "onboardingTasks": Array [],
- "projects": Array [],
- "scrapeJavaScript": true,
- "slug": "org-slug",
- "status": Object {
- "id": "active",
- "name": "active",
- },
- "teams": Array [],
- }
- }
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <BookmarkStar
- api={
- Client {
- "_chain": [Function],
- "_wrapRequest": [Function],
- "bulkUpdate": [Function],
- "handleRequestError": [Function],
- "hasProjectBeenRenamed": [Function],
- }
- }
- organization={
- Object {
- "access": Array [
- "org:read",
- "org:write",
- "org:admin",
- "org:integrations",
- "project:read",
- "project:write",
- "project:admin",
- "team:read",
- "team:write",
- "team:admin",
- ],
- "features": Array [],
- "id": "3",
- "name": "Organization Name",
- "onboardingTasks": Array [],
- "projects": Array [],
- "scrapeJavaScript": true,
- "slug": "org-slug",
- "status": Object {
- "id": "active",
- "name": "active",
- },
- "teams": Array [],
- }
- }
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <Star
- isBookmarked={false}
- onClick={[Function]}
- src="icon-star-small-filled"
- >
- <ForwardRef
- className="css-1lg61nd-InlineSvg-Star e5ekdrk0"
- isBookmarked={false}
- onClick={[Function]}
- src="icon-star-small-filled"
- >
- <svg
- className="css-1lg61nd-InlineSvg-Star e5ekdrk0"
- height="1em"
- onClick={[Function]}
- viewBox={Object {}}
- width="1em"
- >
- <use
- href="#test"
- xlinkHref="#test"
- />
- </svg>
- </ForwardRef>
- </Star>
- </BookmarkStar>
- </withApi(BookmarkStar)>
- </div>
- </StyledProjectCardHeader>
- <ChartContainer>
- <div
- className="css-1s8o1vf-ChartContainer e1o95it00"
- >
- <Chart
- noEvents={true}
- stats={
- Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ]
- }
- >
- <div>
- <StyledBarChart
- gap={1.5}
- height={60}
- label="events"
- points={
- Array [
- Object {
- "x": 1525042800,
- "y": 1,
- },
- Object {
- "x": 1525046400,
- "y": 2,
- },
- ]
- }
- >
- <BarChart
- className="css-h6aoq0-StyledBarChart e1aigaye0"
- gap={1.5}
- height={60}
- label="events"
- points={
- Array [
- Object {
- "x": 1525042800,
- "y": 1,
- },
- Object {
- "x": 1525046400,
- "y": 2,
- },
- ]
- }
- >
- <StackedBarChart
- barClasses={
- Array [
- "chart-bar",
- ]
- }
- className="css-h6aoq0-StyledBarChart e1aigaye0"
- gap={1.5}
- height={60}
- label="events"
- markers={Array []}
- points={
- Array [
- Object {
- "x": 1525042800,
- "y": Array [
- 1,
- ],
- },
- Object {
- "x": 1525046400,
- "y": Array [
- 2,
- ],
- },
- ]
- }
- series={Array []}
- width={null}
- >
- <StyledFigure
- className="css-h6aoq0-StyledBarChart e1aigaye0 barchart"
- style={
- Object {
- "height": 60,
- "width": null,
- }
- }
- >
- <figure
- className="e1aigaye0 barchart css-caakmb-StyledFigure-StyledBarChart e5t71581"
- style={
- Object {
- "height": 60,
- "width": null,
- }
- }
- >
- <span
- className="max-y"
- >
- <Count
- value={10}
- >
- <span>
- 10
- </span>
- </Count>
- </span>
- <span
- className="min-y"
- >
- 0
- </span>
- <SvgContainer>
- <div
- className="css-1jg1opr-SvgContainer e5t71582"
- >
- <StyledSvg
- overflow="visible"
- preserveAspectRatio="none"
- viewBox="0 0 100 400"
- >
- <svg
- className="css-e6bn68-StyledSvg e5t71580"
- overflow="visible"
- preserveAspectRatio="none"
- viewBox="0 0 100 400"
- >
- <Tooltip
- containerDisplayMode="inline-block"
- key="1525042800"
- position="bottom"
- title={
- <React.Fragment>
- <div
- style={
- Object {
- "width": "130px",
- }
- }
- >
- <div
- className="time-label"
- >
- <span>
- April 29, 2018
- <br />
- 11:00 PM
- →
- 11:59 PM
- </span>
- </div>
- </div>
- <div
- className="value-label"
- >
- 1
-
- events
- </div>
- </React.Fragment>
- }
- >
- <Manager>
- <Reference>
- <InnerReference
- setReferenceNode={[Function]}
- >
- <g
- aria-describedby="tooltip-123456"
- onBlur={[Function]}
- onFocus={[Function]}
- onMouseEnter={[Function]}
- onMouseLeave={[Function]}
- >
- <rect
- height="100%"
- opacity="0"
- width="52.3%"
- x="-1.5%"
- />
- <rect
- className="chart-bar barchart-rect"
- data-test-id="chart-column"
- height="9.9%"
- key="0"
- width="49.3%"
- x="0%"
- y="90.1%"
- >
- 1
- </rect>
- </g>
- </InnerReference>
- </Reference>
- </Manager>
- </Tooltip>
- <Tooltip
- containerDisplayMode="inline-block"
- key="1525046400"
- position="bottom"
- title={
- <React.Fragment>
- <div
- style={
- Object {
- "width": "130px",
- }
- }
- >
- <div
- className="time-label"
- >
- <span>
- April 30, 2018
- <br />
- 12:00 AM
- →
- 12:59 AM
- </span>
- </div>
- </div>
- <div
- className="value-label"
- >
- 2
-
- events
- </div>
- </React.Fragment>
- }
- >
- <Manager>
- <Reference>
- <InnerReference
- setReferenceNode={[Function]}
- >
- <g
- aria-describedby="tooltip-123456"
- onBlur={[Function]}
- onFocus={[Function]}
- onMouseEnter={[Function]}
- onMouseLeave={[Function]}
- >
- <rect
- height="100%"
- opacity="0"
- width="52.3%"
- x="49.3%"
- />
- <rect
- className="chart-bar barchart-rect"
- data-test-id="chart-column"
- height="19.8%"
- key="0"
- width="49.3%"
- x="50.8%"
- y="80.2%"
- >
- 2
- </rect>
- </g>
- </InnerReference>
- </Reference>
- </Manager>
- </Tooltip>
- </svg>
- </StyledSvg>
- </div>
- </SvgContainer>
- </figure>
- </StyledFigure>
- </StackedBarChart>
- </BarChart>
- </StyledBarChart>
- </div>
- </Chart>
- <NoEvents>
- <Container>
- <div
- className="css-1m9okvh-Container e1acggzn0"
- >
- <EmptyText
- align="center"
- justify="center"
- >
- <Base
- align="center"
- className="css-k1bbsy-EmptyText e1acggzn1"
- justify="center"
- >
- <div
- className="css-k1bbsy-EmptyText e1acggzn1"
- is={null}
- >
- No activity yet.
- </div>
- </Base>
- </EmptyText>
- </div>
- </Container>
- </NoEvents>
- </div>
- </ChartContainer>
- <Deploys
- organization={
- Object {
- "access": Array [
- "org:read",
- "org:write",
- "org:admin",
- "org:integrations",
- "project:read",
- "project:write",
- "project:admin",
- "team:read",
- "team:write",
- "team:admin",
- ],
- "features": Array [],
- "id": "3",
- "name": "Organization Name",
- "onboardingTasks": Array [],
- "projects": Array [],
- "scrapeJavaScript": true,
- "slug": "org-slug",
- "status": Object {
- "id": "active",
- "name": "active",
- },
- "teams": Array [],
- }
- }
- project={
- Object {
- "environments": Array [],
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "platform": "javascript",
- "slug": "project-slug",
- "stats": Array [
- Array [
- 1525042800,
- 1,
- ],
- Array [
- 1525046400,
- 2,
- ],
- ],
- "teams": Array [],
- }
- }
- >
- <NoDeploys>
- <DeployBox
- p={2}
- >
- <Base
- className="css-1y6xtyw-DeployBox elff1ar5"
- p={2}
- >
- <div
- className="css-1y6xtyw-DeployBox elff1ar5"
- is={null}
- >
- <Background
- align="center"
- justify="center"
- >
- <Base
- align="center"
- className="css-itelel-Background elff1ar6"
- justify="center"
- >
- <div
- className="css-itelel-Background elff1ar6"
- is={null}
- >
- <Button
- align="center"
- disabled={false}
- external={true}
- href="https://docs.sentry.io/learn/releases/"
- size="xsmall"
- >
- <StyledButton
- aria-disabled={false}
- aria-label="Track deploys"
- disabled={false}
- external={true}
- href="https://docs.sentry.io/learn/releases/"
- onClick={[Function]}
- role="button"
- size="xsmall"
- >
- <ForwardRef
- aria-disabled={false}
- aria-label="Track deploys"
- className="css-z6hjis-StyledButton-getColors edwq9my0"
- disabled={false}
- external={true}
- href="https://docs.sentry.io/learn/releases/"
- onClick={[Function]}
- role="button"
- size="xsmall"
- >
- <ForwardRef
- aria-disabled={false}
- aria-label="Track deploys"
- className="css-z6hjis-StyledButton-getColors edwq9my0"
- href="https://docs.sentry.io/learn/releases/"
- onClick={[Function]}
- rel="noreferrer noopener"
- role="button"
- size="xsmall"
- target="_blank"
- >
- <a
- aria-disabled={false}
- aria-label="Track deploys"
- className="css-z6hjis-StyledButton-getColors edwq9my0"
- href="https://docs.sentry.io/learn/releases/"
- onClick={[Function]}
- rel="noreferrer noopener"
- role="button"
- size="xsmall"
- target="_blank"
- >
- <ButtonLabel
- align="center"
- size="xsmall"
- >
- <Component
- align="center"
- className="css-1bqncjo-ButtonLabel edwq9my1"
- size="xsmall"
- >
- <span
- className="css-1bqncjo-ButtonLabel edwq9my1"
- >
- Track deploys
- </span>
- </Component>
- </ButtonLabel>
- </a>
- </ForwardRef>
- </ForwardRef>
- </StyledButton>
- </Button>
- </div>
- </Base>
- </Background>
- </div>
- </Base>
- </DeployBox>
- </NoDeploys>
- </Deploys>
- </div>
- </StyledProjectCard>
- </div>
- </Base>
- </ProjectCardWrapper>
- </ProjectCard>
- `;
|