@backstage-community/plugin-azure-devops 0.13.2 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/alpha/plugin.esm.js +6 -6
  3. package/dist/alpha/plugin.esm.js.map +1 -1
  4. package/dist/alpha.d.ts +13 -12
  5. package/dist/components/AzureGitTagsIcon/AzureGitTagsIcon.esm.js +2 -2
  6. package/dist/components/AzureGitTagsIcon/AzureGitTagsIcon.esm.js.map +1 -1
  7. package/dist/components/AzurePipelinesIcon/AzurePipelinesIcon.esm.js +25 -22
  8. package/dist/components/AzurePipelinesIcon/AzurePipelinesIcon.esm.js.map +1 -1
  9. package/dist/components/AzurePullRequestsIcon/AzurePullRequestsIcon.esm.js +64 -58
  10. package/dist/components/AzurePullRequestsIcon/AzurePullRequestsIcon.esm.js.map +1 -1
  11. package/dist/components/BuildTable/BuildTable.esm.js +91 -44
  12. package/dist/components/BuildTable/BuildTable.esm.js.map +1 -1
  13. package/dist/components/BuildTable/lib/BuildLogDrawer/BuildLogDrawer.esm.js +21 -5
  14. package/dist/components/BuildTable/lib/BuildLogDrawer/BuildLogDrawer.esm.js.map +1 -1
  15. package/dist/components/BuildTable/lib/EmptyBuildResults/EmptyBuildResults.esm.js +27 -0
  16. package/dist/components/BuildTable/lib/EmptyBuildResults/EmptyBuildResults.esm.js.map +1 -0
  17. package/dist/components/EntityPageAzureGitTags/EntityPageAzureGitTags.esm.js +5 -5
  18. package/dist/components/EntityPageAzureGitTags/EntityPageAzureGitTags.esm.js.map +1 -1
  19. package/dist/components/EntityPageAzurePipelines/EntityPageAzurePipelines.esm.js +14 -5
  20. package/dist/components/EntityPageAzurePipelines/EntityPageAzurePipelines.esm.js.map +1 -1
  21. package/dist/components/EntityPageAzurePullRequests/EntityPageAzurePullRequests.esm.js +5 -5
  22. package/dist/components/EntityPageAzurePullRequests/EntityPageAzurePullRequests.esm.js.map +1 -1
  23. package/dist/components/GitTagTable/GitTagTable.esm.js +12 -6
  24. package/dist/components/GitTagTable/GitTagTable.esm.js.map +1 -1
  25. package/dist/components/PullRequestStatusButtonGroup/PullRequestStatusButtonGroup.esm.js +30 -26
  26. package/dist/components/PullRequestStatusButtonGroup/PullRequestStatusButtonGroup.esm.js.map +1 -1
  27. package/dist/components/PullRequestTable/PullRequestTable.esm.js +30 -19
  28. package/dist/components/PullRequestTable/PullRequestTable.esm.js.map +1 -1
  29. package/dist/components/PullRequestsPage/PullRequestsPage.esm.js +20 -16
  30. package/dist/components/PullRequestsPage/PullRequestsPage.esm.js.map +1 -1
  31. package/dist/components/PullRequestsPage/lib/AutoCompleteIcon/AutoCompleteIcon.esm.js +2 -2
  32. package/dist/components/PullRequestsPage/lib/AutoCompleteIcon/AutoCompleteIcon.esm.js.map +1 -1
  33. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCard.esm.js +37 -28
  34. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCard.esm.js.map +1 -1
  35. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardPolicies.esm.js +2 -2
  36. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardPolicies.esm.js.map +1 -1
  37. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardPolicy.esm.js +11 -7
  38. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardPolicy.esm.js.map +1 -1
  39. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardReviewer.esm.js +2 -2
  40. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardReviewer.esm.js.map +1 -1
  41. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardReviewers.esm.js +2 -2
  42. package/dist/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardReviewers.esm.js.map +1 -1
  43. package/dist/components/PullRequestsPage/lib/PullRequestGrid/PullRequestGrid.esm.js +5 -5
  44. package/dist/components/PullRequestsPage/lib/PullRequestGrid/PullRequestGrid.esm.js.map +1 -1
  45. package/dist/components/PullRequestsPage/lib/PullRequestGridColumn/PullRequestGridColumn.esm.js +10 -7
  46. package/dist/components/PullRequestsPage/lib/PullRequestGridColumn/PullRequestGridColumn.esm.js.map +1 -1
  47. package/dist/components/ReadmeCard/ReadmeCard.esm.js +14 -13
  48. package/dist/components/ReadmeCard/ReadmeCard.esm.js.map +1 -1
  49. package/dist/index.d.ts +7 -9
  50. package/package.json +14 -14
@@ -1 +1 @@
1
- {"version":3,"file":"PullRequestCardReviewers.esm.js","sources":["../../../../../src/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardReviewers.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { PullRequestCardReviewer } from './PullRequestCardReviewer';\nimport React from 'react';\nimport { Reviewer } from '@backstage-community/plugin-azure-devops-common';\nimport { reviewerFilter } from '../utils';\nimport { styled } from '@material-ui/core/styles';\n\nconst PullRequestCardReviewersContainer = styled('div')({\n '& > *': {\n marginTop: 4,\n marginBottom: 4,\n },\n});\n\ntype PullRequestCardReviewersProps = {\n reviewers: Reviewer[];\n};\n\nexport const PullRequestCardReviewers = ({\n reviewers,\n}: PullRequestCardReviewersProps) => (\n <PullRequestCardReviewersContainer>\n {reviewers.filter(reviewerFilter).map(reviewer => (\n <PullRequestCardReviewer key={reviewer.id} reviewer={reviewer} />\n ))}\n </PullRequestCardReviewersContainer>\n);\n"],"names":[],"mappings":";;;;;AAsBA,MAAM,iCAAA,GAAoC,MAAO,CAAA,KAAK,CAAE,CAAA;AAAA,EACtD,OAAS,EAAA;AAAA,IACP,SAAW,EAAA,CAAA;AAAA,IACX,YAAc,EAAA;AAAA;AAElB,CAAC,CAAA;AAMM,MAAM,2BAA2B,CAAC;AAAA,EACvC;AACF,CAAA,qBACG,KAAA,CAAA,aAAA,CAAA,iCAAA,EAAA,IAAA,EACE,SAAU,CAAA,MAAA,CAAO,cAAc,CAAE,CAAA,GAAA,CAAI,CACpC,QAAA,qBAAA,KAAA,CAAA,aAAA,CAAC,2BAAwB,GAAK,EAAA,QAAA,CAAS,EAAI,EAAA,QAAA,EAAoB,CAChE,CACH;;;;"}
1
+ {"version":3,"file":"PullRequestCardReviewers.esm.js","sources":["../../../../../src/components/PullRequestsPage/lib/PullRequestCard/PullRequestCardReviewers.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { PullRequestCardReviewer } from './PullRequestCardReviewer';\nimport { Reviewer } from '@backstage-community/plugin-azure-devops-common';\nimport { reviewerFilter } from '../utils';\nimport { styled } from '@material-ui/core/styles';\n\nconst PullRequestCardReviewersContainer = styled('div')({\n '& > *': {\n marginTop: 4,\n marginBottom: 4,\n },\n});\n\ntype PullRequestCardReviewersProps = {\n reviewers: Reviewer[];\n};\n\nexport const PullRequestCardReviewers = ({\n reviewers,\n}: PullRequestCardReviewersProps) => (\n <PullRequestCardReviewersContainer>\n {reviewers.filter(reviewerFilter).map(reviewer => (\n <PullRequestCardReviewer key={reviewer.id} reviewer={reviewer} />\n ))}\n </PullRequestCardReviewersContainer>\n);\n"],"names":[],"mappings":";;;;;AAqBA,MAAM,iCAAA,GAAoC,MAAO,CAAA,KAAK,CAAE,CAAA;AAAA,EACtD,OAAS,EAAA;AAAA,IACP,SAAW,EAAA,CAAA;AAAA,IACX,YAAc,EAAA;AAAA;AAElB,CAAC,CAAA;AAMM,MAAM,2BAA2B,CAAC;AAAA,EACvC;AACF,CAAA,qBACG,GAAA,CAAA,iCAAA,EAAA,EACE,QAAU,EAAA,SAAA,CAAA,MAAA,CAAO,cAAc,CAAE,CAAA,GAAA,CAAI,CACpC,QAAA,qBAAA,GAAA,CAAC,uBAA0C,EAAA,EAAA,QAAA,EAAA,EAAb,QAAS,CAAA,EAAwB,CAChE,CACH,EAAA;;;;"}
@@ -1,5 +1,5 @@
1
+ import { jsx } from 'react/jsx-runtime';
1
2
  import { PullRequestGridColumn } from '../PullRequestGridColumn/PullRequestGridColumn.esm.js';
2
- import React from 'react';
3
3
  import { styled } from '@material-ui/core/styles';
4
4
 
5
5
  const GridDiv = styled("div")(({ theme }) => ({
@@ -16,13 +16,13 @@ const GridDiv = styled("div")(({ theme }) => ({
16
16
  const PullRequestGrid = ({
17
17
  pullRequestGroups
18
18
  }) => {
19
- return /* @__PURE__ */ React.createElement(GridDiv, null, pullRequestGroups.map((pullRequestGroup, index) => /* @__PURE__ */ React.createElement(
19
+ return /* @__PURE__ */ jsx(GridDiv, { children: pullRequestGroups.map((pullRequestGroup, index) => /* @__PURE__ */ jsx(
20
20
  PullRequestGridColumn,
21
21
  {
22
- key: index,
23
22
  pullRequestGroup
24
- }
25
- )));
23
+ },
24
+ index
25
+ )) });
26
26
  };
27
27
 
28
28
  export { PullRequestGrid };
@@ -1 +1 @@
1
- {"version":3,"file":"PullRequestGrid.esm.js","sources":["../../../../../src/components/PullRequestsPage/lib/PullRequestGrid/PullRequestGrid.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { PullRequestGridColumn } from '../PullRequestGridColumn';\nimport { PullRequestGroup } from '../types';\nimport React from 'react';\nimport { styled } from '@material-ui/core/styles';\n\nconst GridDiv = styled('div')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n '& > *': {\n marginRight: theme.spacing(2),\n },\n '& > :last-of-type': {\n marginRight: 0,\n },\n}));\n\ntype PullRequestGridProps = {\n pullRequestGroups: PullRequestGroup[];\n};\n\nexport const PullRequestGrid = ({\n pullRequestGroups,\n}: PullRequestGridProps) => {\n return (\n <GridDiv>\n {pullRequestGroups.map((pullRequestGroup, index) => (\n <PullRequestGridColumn\n key={index}\n pullRequestGroup={pullRequestGroup}\n />\n ))}\n </GridDiv>\n );\n};\n"],"names":[],"mappings":";;;;AAqBA,MAAM,UAAU,MAAO,CAAA,KAAK,EAAE,CAAC,EAAE,OAAa,MAAA;AAAA,EAC5C,OAAS,EAAA,MAAA;AAAA,EACT,aAAe,EAAA,KAAA;AAAA,EACf,cAAgB,EAAA,eAAA;AAAA,EAChB,OAAS,EAAA;AAAA,IACP,WAAA,EAAa,KAAM,CAAA,OAAA,CAAQ,CAAC;AAAA,GAC9B;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,WAAa,EAAA;AAAA;AAEjB,CAAE,CAAA,CAAA;AAMK,MAAM,kBAAkB,CAAC;AAAA,EAC9B;AACF,CAA4B,KAAA;AAC1B,EAAA,2CACG,OACE,EAAA,IAAA,EAAA,iBAAA,CAAkB,GAAI,CAAA,CAAC,kBAAkB,KACxC,qBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MACC,GAAK,EAAA,KAAA;AAAA,MACL;AAAA;AAAA,GAEH,CACH,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"PullRequestGrid.esm.js","sources":["../../../../../src/components/PullRequestsPage/lib/PullRequestGrid/PullRequestGrid.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { PullRequestGridColumn } from '../PullRequestGridColumn';\nimport { PullRequestGroup } from '../types';\nimport { styled } from '@material-ui/core/styles';\n\nconst GridDiv = styled('div')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n '& > *': {\n marginRight: theme.spacing(2),\n },\n '& > :last-of-type': {\n marginRight: 0,\n },\n}));\n\ntype PullRequestGridProps = {\n pullRequestGroups: PullRequestGroup[];\n};\n\nexport const PullRequestGrid = ({\n pullRequestGroups,\n}: PullRequestGridProps) => {\n return (\n <GridDiv>\n {pullRequestGroups.map((pullRequestGroup, index) => (\n <PullRequestGridColumn\n key={index}\n pullRequestGroup={pullRequestGroup}\n />\n ))}\n </GridDiv>\n );\n};\n"],"names":[],"mappings":";;;;AAoBA,MAAM,UAAU,MAAO,CAAA,KAAK,EAAE,CAAC,EAAE,OAAa,MAAA;AAAA,EAC5C,OAAS,EAAA,MAAA;AAAA,EACT,aAAe,EAAA,KAAA;AAAA,EACf,cAAgB,EAAA,eAAA;AAAA,EAChB,OAAS,EAAA;AAAA,IACP,WAAA,EAAa,KAAM,CAAA,OAAA,CAAQ,CAAC;AAAA,GAC9B;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,WAAa,EAAA;AAAA;AAEjB,CAAE,CAAA,CAAA;AAMK,MAAM,kBAAkB,CAAC;AAAA,EAC9B;AACF,CAA4B,KAAA;AAC1B,EAAA,2BACG,OACE,EAAA,EAAA,QAAA,EAAA,iBAAA,CAAkB,GAAI,CAAA,CAAC,kBAAkB,KACxC,qBAAA,GAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MAEC;AAAA,KAAA;AAAA,IADK;AAAA,GAGR,CACH,EAAA,CAAA;AAEJ;;;;"}
@@ -1,8 +1,8 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
1
2
  import Paper from '@material-ui/core/Paper';
2
3
  import Typography from '@material-ui/core/Typography';
3
4
  import { withStyles, styled } from '@material-ui/core/styles';
4
5
  import { PullRequestCard } from '../PullRequestCard/PullRequestCard.esm.js';
5
- import React from 'react';
6
6
 
7
7
  const ColumnPaper = withStyles((theme) => ({
8
8
  root: {
@@ -34,16 +34,19 @@ const PullRequestCardContainer = styled("div")(({ theme }) => ({
34
34
  const PullRequestGridColumn = ({
35
35
  pullRequestGroup
36
36
  }) => {
37
- const columnTitle = /* @__PURE__ */ React.createElement(ColumnTitleDiv, null, /* @__PURE__ */ React.createElement(Typography, { variant: "h5" }, pullRequestGroup.title));
38
- const pullRequests = /* @__PURE__ */ React.createElement(PullRequestCardContainer, null, pullRequestGroup.pullRequests.map((pullRequest) => /* @__PURE__ */ React.createElement(
37
+ const columnTitle = /* @__PURE__ */ jsx(ColumnTitleDiv, { children: /* @__PURE__ */ jsx(Typography, { variant: "h5", children: pullRequestGroup.title }) });
38
+ const pullRequests = /* @__PURE__ */ jsx(PullRequestCardContainer, { children: pullRequestGroup.pullRequests.map((pullRequest) => /* @__PURE__ */ jsx(
39
39
  PullRequestCard,
40
40
  {
41
- key: pullRequest.pullRequestId,
42
41
  pullRequest,
43
42
  simplified: pullRequestGroup.simplified
44
- }
45
- )));
46
- return /* @__PURE__ */ React.createElement(ColumnPaper, null, columnTitle, pullRequests);
43
+ },
44
+ pullRequest.pullRequestId
45
+ )) });
46
+ return /* @__PURE__ */ jsxs(ColumnPaper, { children: [
47
+ columnTitle,
48
+ pullRequests
49
+ ] });
47
50
  };
48
51
 
49
52
  export { PullRequestCardContainer, PullRequestGridColumn };
@@ -1 +1 @@
1
- {"version":3,"file":"PullRequestGridColumn.esm.js","sources":["../../../../../src/components/PullRequestsPage/lib/PullRequestGridColumn/PullRequestGridColumn.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Paper from '@material-ui/core/Paper';\nimport Typography from '@material-ui/core/Typography';\nimport { styled, withStyles } from '@material-ui/core/styles';\n\nimport { PullRequestCard } from '../PullRequestCard';\nimport { PullRequestGroup } from '../types';\nimport React from 'react';\n\nconst ColumnPaper = withStyles(theme => ({\n root: {\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n padding: theme.spacing(2),\n backgroundColor:\n theme.palette.type === 'dark'\n ? theme.palette.grey[800]\n : theme.palette.grey[300],\n height: '100%',\n },\n}))(Paper);\n\nconst ColumnTitleDiv = styled('div')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n marginBottom: theme.spacing(2),\n}));\n\nexport const PullRequestCardContainer = styled('div')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n '& > *': {\n marginBottom: theme.spacing(2),\n },\n '& > :last-of-type': {\n marginBottom: 0,\n },\n}));\n\ntype PullRequestGridColumnProps = {\n pullRequestGroup: PullRequestGroup;\n};\n\nexport const PullRequestGridColumn = ({\n pullRequestGroup,\n}: PullRequestGridColumnProps) => {\n const columnTitle = (\n <ColumnTitleDiv>\n <Typography variant=\"h5\">{pullRequestGroup.title}</Typography>\n </ColumnTitleDiv>\n );\n\n const pullRequests = (\n <PullRequestCardContainer>\n {pullRequestGroup.pullRequests.map(pullRequest => (\n <PullRequestCard\n key={pullRequest.pullRequestId}\n pullRequest={pullRequest}\n simplified={pullRequestGroup.simplified}\n />\n ))}\n </PullRequestCardContainer>\n );\n\n return (\n <ColumnPaper>\n {columnTitle}\n {pullRequests}\n </ColumnPaper>\n );\n};\n"],"names":[],"mappings":";;;;;;AAwBA,MAAM,WAAA,GAAc,WAAW,CAAU,KAAA,MAAA;AAAA,EACvC,IAAM,EAAA;AAAA,IACJ,OAAS,EAAA,MAAA;AAAA,IACT,aAAe,EAAA,QAAA;AAAA,IACf,IAAM,EAAA,CAAA;AAAA,IACN,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,IACxB,eACE,EAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,KAAS,MACnB,GAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,CAAK,GAAG,CAAA,GACtB,KAAM,CAAA,OAAA,CAAQ,KAAK,GAAG,CAAA;AAAA,IAC5B,MAAQ,EAAA;AAAA;AAEZ,CAAA,CAAE,EAAE,KAAK,CAAA;AAET,MAAM,iBAAiB,MAAO,CAAA,KAAK,EAAE,CAAC,EAAE,OAAa,MAAA;AAAA,EACnD,OAAS,EAAA,MAAA;AAAA,EACT,aAAe,EAAA,KAAA;AAAA,EACf,UAAY,EAAA,QAAA;AAAA,EACZ,cAAgB,EAAA,eAAA;AAAA,EAChB,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,CAAC;AAC/B,CAAE,CAAA,CAAA;AAEK,MAAM,2BAA2B,MAAO,CAAA,KAAK,EAAE,CAAC,EAAE,OAAa,MAAA;AAAA,EACpE,OAAS,EAAA,MAAA;AAAA,EACT,aAAe,EAAA,QAAA;AAAA,EACf,OAAS,EAAA;AAAA,IACP,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,CAAC;AAAA,GAC/B;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,YAAc,EAAA;AAAA;AAElB,CAAE,CAAA;AAMK,MAAM,wBAAwB,CAAC;AAAA,EACpC;AACF,CAAkC,KAAA;AAChC,EAAM,MAAA,WAAA,uCACH,cACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,cAAW,OAAQ,EAAA,IAAA,EAAA,EAAM,gBAAiB,CAAA,KAAM,CACnD,CAAA;AAGF,EAAA,MAAM,+BACH,KAAA,CAAA,aAAA,CAAA,wBAAA,EAAA,IAAA,EACE,gBAAiB,CAAA,YAAA,CAAa,IAAI,CACjC,WAAA,qBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,eAAA;AAAA,IAAA;AAAA,MACC,KAAK,WAAY,CAAA,aAAA;AAAA,MACjB,WAAA;AAAA,MACA,YAAY,gBAAiB,CAAA;AAAA;AAAA,GAEhC,CACH,CAAA;AAGF,EACE,uBAAA,KAAA,CAAA,aAAA,CAAC,WACE,EAAA,IAAA,EAAA,WAAA,EACA,YACH,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"PullRequestGridColumn.esm.js","sources":["../../../../../src/components/PullRequestsPage/lib/PullRequestGridColumn/PullRequestGridColumn.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Paper from '@material-ui/core/Paper';\nimport Typography from '@material-ui/core/Typography';\nimport { styled, withStyles } from '@material-ui/core/styles';\n\nimport { PullRequestCard } from '../PullRequestCard';\nimport { PullRequestGroup } from '../types';\n\nconst ColumnPaper = withStyles(theme => ({\n root: {\n display: 'flex',\n flexDirection: 'column',\n flex: 1,\n padding: theme.spacing(2),\n backgroundColor:\n theme.palette.type === 'dark'\n ? theme.palette.grey[800]\n : theme.palette.grey[300],\n height: '100%',\n },\n}))(Paper);\n\nconst ColumnTitleDiv = styled('div')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n marginBottom: theme.spacing(2),\n}));\n\nexport const PullRequestCardContainer = styled('div')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n '& > *': {\n marginBottom: theme.spacing(2),\n },\n '& > :last-of-type': {\n marginBottom: 0,\n },\n}));\n\ntype PullRequestGridColumnProps = {\n pullRequestGroup: PullRequestGroup;\n};\n\nexport const PullRequestGridColumn = ({\n pullRequestGroup,\n}: PullRequestGridColumnProps) => {\n const columnTitle = (\n <ColumnTitleDiv>\n <Typography variant=\"h5\">{pullRequestGroup.title}</Typography>\n </ColumnTitleDiv>\n );\n\n const pullRequests = (\n <PullRequestCardContainer>\n {pullRequestGroup.pullRequests.map(pullRequest => (\n <PullRequestCard\n key={pullRequest.pullRequestId}\n pullRequest={pullRequest}\n simplified={pullRequestGroup.simplified}\n />\n ))}\n </PullRequestCardContainer>\n );\n\n return (\n <ColumnPaper>\n {columnTitle}\n {pullRequests}\n </ColumnPaper>\n );\n};\n"],"names":[],"mappings":";;;;;;AAuBA,MAAM,WAAA,GAAc,WAAW,CAAU,KAAA,MAAA;AAAA,EACvC,IAAM,EAAA;AAAA,IACJ,OAAS,EAAA,MAAA;AAAA,IACT,aAAe,EAAA,QAAA;AAAA,IACf,IAAM,EAAA,CAAA;AAAA,IACN,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,IACxB,eACE,EAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,KAAS,MACnB,GAAA,KAAA,CAAM,OAAQ,CAAA,IAAA,CAAK,GA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,WAAA;AAAA,IACA;AAAA,GACH,EAAA,CAAA;AAEJ;;;;"}
@@ -1,15 +1,16 @@
1
+ import { jsx } from 'react/jsx-runtime';
1
2
  import Box from '@material-ui/core/Box';
2
3
  import Button from '@material-ui/core/Button';
3
4
  import { makeStyles } from '@material-ui/core/styles';
4
5
  import { Progress, InfoCard, MarkdownContent, EmptyState, ErrorPanel } from '@backstage/core-components';
5
6
  import { useEntity } from '@backstage/plugin-catalog-react';
6
- import React from 'react';
7
7
  import '../../api/AzureDevOpsApi.esm.js';
8
8
  import '@backstage/errors';
9
9
  import '@backstage/core-plugin-api';
10
10
  import 'react-use/esm/useAsync';
11
11
  import 'react-use/esm/useAsyncRetry';
12
12
  import 'react-use/esm/useInterval';
13
+ import 'react';
13
14
  import '@backstage-community/plugin-azure-devops-common';
14
15
  import '@backstage/catalog-model';
15
16
  import 'luxon';
@@ -41,45 +42,45 @@ function isNotFoundError(error) {
41
42
  }
42
43
  const ReadmeCardError = ({ error }) => {
43
44
  if (isNotFoundError(error)) {
44
- return /* @__PURE__ */ React.createElement(
45
+ return /* @__PURE__ */ jsx(
45
46
  EmptyState,
46
47
  {
47
48
  title: "No README available for this entity",
48
49
  missing: "field",
49
50
  description: "You can add a README to your entity by following the Azure DevOps documentation.",
50
- action: /* @__PURE__ */ React.createElement(
51
+ action: /* @__PURE__ */ jsx(
51
52
  Button,
52
53
  {
53
54
  variant: "contained",
54
55
  color: "primary",
55
- href: "https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops"
56
- },
57
- "Read more"
56
+ href: "https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops",
57
+ children: "Read more"
58
+ }
58
59
  )
59
60
  }
60
61
  );
61
62
  }
62
- return /* @__PURE__ */ React.createElement(ErrorPanel, { title: error.message, error });
63
+ return /* @__PURE__ */ jsx(ErrorPanel, { title: error.message, error });
63
64
  };
64
65
  const ReadmeCard = (props) => {
65
66
  const classes = useStyles();
66
67
  const { entity } = useEntity();
67
68
  const { loading, error, item: value } = useReadme(entity);
68
69
  if (loading) {
69
- return /* @__PURE__ */ React.createElement(Progress, null);
70
+ return /* @__PURE__ */ jsx(Progress, {});
70
71
  } else if (error) {
71
- return /* @__PURE__ */ React.createElement(ReadmeCardError, { error });
72
+ return /* @__PURE__ */ jsx(ReadmeCardError, { error });
72
73
  }
73
- return /* @__PURE__ */ React.createElement(
74
+ return /* @__PURE__ */ jsx(
74
75
  InfoCard,
75
76
  {
76
77
  title: "Readme",
77
78
  deepLink: {
78
79
  link: value.url,
79
80
  title: "Readme"
80
- }
81
- },
82
- /* @__PURE__ */ React.createElement(Box, { className: classes.readMe, sx: { maxHeight: props.maxHeight } }, /* @__PURE__ */ React.createElement(MarkdownContent, { content: value?.content ?? "" }))
81
+ },
82
+ children: /* @__PURE__ */ jsx(Box, { className: classes.readMe, sx: { maxHeight: props.maxHeight }, children: /* @__PURE__ */ jsx(MarkdownContent, { content: value?.content ?? "" }) })
83
+ }
83
84
  );
84
85
  };
85
86
 
@@ -1 +1 @@
1
- {"version":3,"file":"ReadmeCard.esm.js","sources":["../../../src/components/ReadmeCard/ReadmeCard.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Button from '@material-ui/core/Button';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n InfoCard,\n Progress,\n MarkdownContent,\n EmptyState,\n ErrorPanel,\n} from '@backstage/core-components';\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport React from 'react';\n\nimport { useReadme } from '../../hooks';\n\nconst useStyles = makeStyles(theme => ({\n readMe: {\n overflowY: 'auto',\n paddingRight: theme.spacing(1),\n '&::-webkit-scrollbar-track': {\n backgroundColor: '#F5F5F5',\n borderRadius: '5px',\n },\n '&::-webkit-scrollbar': {\n width: '5px',\n backgroundColor: '#F5F5F5',\n borderRadius: '5px',\n },\n '&::-webkit-scrollbar-thumb': {\n border: '1px solid #555555',\n backgroundColor: '#555',\n borderRadius: '4px',\n },\n },\n}));\n\ntype Props = {\n maxHeight?: number;\n};\n\ntype ErrorProps = {\n error: Error;\n};\n\nfunction isNotFoundError(error: any): boolean {\n return error?.response?.status === 404;\n}\n\nconst ReadmeCardError = ({ error }: ErrorProps) => {\n if (isNotFoundError(error)) {\n return (\n <EmptyState\n title=\"No README available for this entity\"\n missing=\"field\"\n description=\"You can add a README to your entity by following the Azure DevOps documentation.\"\n action={\n <Button\n variant=\"contained\"\n color=\"primary\"\n href=\"https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops\"\n >\n Read more\n </Button>\n }\n />\n );\n }\n return <ErrorPanel title={error.message} error={error} />;\n};\n\nexport const ReadmeCard = (props: Props) => {\n const classes = useStyles();\n const { entity } = useEntity();\n const { loading, error, item: value } = useReadme(entity);\n\n if (loading) {\n return <Progress />;\n } else if (error) {\n return <ReadmeCardError error={error} />;\n }\n\n return (\n <InfoCard\n title=\"Readme\"\n deepLink={{\n link: value!.url,\n title: 'Readme',\n }}\n >\n <Box className={classes.readMe} sx={{ maxHeight: props.maxHeight }}>\n <MarkdownContent content={value?.content ?? ''} />\n </Box>\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AA+BA,MAAM,SAAA,GAAY,WAAW,CAAU,KAAA,MAAA;AAAA,EACrC,MAAQ,EAAA;AAAA,IACN,SAAW,EAAA,MAAA;AAAA,IACX,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,IAC7B,4BAA8B,EAAA;AA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AAI,UAAU,MAAM,CAAA;AAExD,EAAA,IAAI,OAAS,EAAA;AACX,IAAA,2CAAQ,QAAS,EAAA,IAAA,CAAA;AAAA,aACR,KAAO,EAAA;AAChB,IAAO,uBAAA,KAAA,CAAA,aAAA,CAAC,mBAAgB,KAAc,EAAA,CAAA;AAAA;AAGxC,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,KAAM,EAAA,QAAA;AAAA,MACN,QAAU,EAAA;AAAA,QACR,MAAM,KAAO,CAAA,GAAA;AAAA,QACb,KAAO,EAAA;AAAA;AACT,KAAA;AAAA,wCAEC,GAAI,EAAA,EAAA,SAAA,EAAW,OAAQ,CAAA,MAAA,EAAQ,IAAI,EAAE,SAAA,EAAW,KAAM,CAAA,SAAA,sBACpD,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA,EAAgB,SAAS,KAAO,EAAA,OAAA,IAAW,IAAI,CAClD;AAAA,GACF;AAEJ;;;;"}
1
+ {"version":3,"file":"ReadmeCard.esm.js","sources":["../../../src/components/ReadmeCard/ReadmeCard.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Button from '@material-ui/core/Button';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n InfoCard,\n Progress,\n MarkdownContent,\n EmptyState,\n ErrorPanel,\n} from '@backstage/core-components';\nimport { useEntity } from '@backstage/plugin-catalog-react';\n\nimport { useReadme } from '../../hooks';\n\nconst useStyles = makeStyles(theme => ({\n readMe: {\n overflowY: 'auto',\n paddingRight: theme.spacing(1),\n '&::-webkit-scrollbar-track': {\n backgroundColor: '#F5F5F5',\n borderRadius: '5px',\n },\n '&::-webkit-scrollbar': {\n width: '5px',\n backgroundColor: '#F5F5F5',\n borderRadius: '5px',\n },\n '&::-webkit-scrollbar-thumb': {\n border: '1px solid #555555',\n backgroundColor: '#555',\n borderRadius: '4px',\n },\n },\n}));\n\ntype Props = {\n maxHeight?: number;\n};\n\ntype ErrorProps = {\n error: Error;\n};\n\nfunction isNotFoundError(error: any): boolean {\n return error?.response?.status === 404;\n}\n\nconst ReadmeCardError = ({ error }: ErrorProps) => {\n if (isNotFoundError(error)) {\n return (\n <EmptyState\n title=\"No README available for this entity\"\n missing=\"field\"\n description=\"You can add a README to your entity by following the Azure DevOps documentation.\"\n action={\n <Button\n variant=\"contained\"\n color=\"primary\"\n href=\"https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops\"\n >\n Read more\n </Button>\n }\n />\n );\n }\n return <ErrorPanel title={error.message} error={error} />;\n};\n\nexport const ReadmeCard = (props: Props) => {\n const classes = useStyles();\n const { entity } = useEntity();\n const { loading, error, item: value } = useReadme(entity);\n\n if (loading) {\n return <Progress />;\n } else if (error) {\n return <ReadmeCardError error={error} />;\n }\n\n return (\n <InfoCard\n title=\"Readme\"\n deepLink={{\n link: value!.url,\n title: 'Readme',\n }}\n >\n <Box className={classes.readMe} sx={{ maxHeight: props.maxHeight }}>\n <MarkdownContent content={value?.content ?? ''} />\n </Box>\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA8BA,MAAM,SAAA,GAAY,WAAW,CAAU,KAAA,MAAA;AAAA,EACrC,MAAQ,EAAA;AAAA,IACN,SAAW,EAAA,MAAA;AAAA,IACX,YAAA,EAAc,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,IAC7B,4BAA8B,EAAA;AAAA,MAC5B,eAAiB,EAAA,SAAA;AAAA,MACjB,YAA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Q,QAAS,EAAA,EAAA,CAAA;AAAA,aACR,KAAO,EAAA;AAChB,IAAO,uBAAA,GAAA,CAAC,mBAAgB,KAAc,EAAA,CAAA;AAAA;AAGxC,EACE,uBAAA,GAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,KAAM,EAAA,QAAA;AAAA,MACN,QAAU,EAAA;AAAA,QACR,MAAM,KAAO,CAAA,GAAA;AAAA,QACb,KAAO,EAAA;AAAA,OACT;AAAA,MAEA,8BAAC,GAAI,EAAA,EAAA,SAAA,EAAW,OAAQ,CAAA,MAAA,EAAQ,IAAI,EAAE,SAAA,EAAW,KAAM,CAAA,SAAA,IACrD,QAAC,kBAAA,GAAA,CAAA,eAAA,EAAA,EAAgB,SAAS,KAAO,EAAA,OAAA,IAAW,IAAI,CAClD,EAAA;AAAA;AAAA,GACF;AAEJ;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- /// <reference types="react" />
2
- import * as React from 'react';
3
- import React__default from 'react';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
2
  import { DashboardPullRequest, RepoBuildOptions, RepoBuild, GitTag, PullRequestOptions, PullRequest, Team, BuildRunOptions, BuildRun, ReadmeConfig, Readme } from '@backstage-community/plugin-azure-devops-common';
5
3
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
6
4
  import { DiscoveryApi, FetchApi } from '@backstage/core-plugin-api';
@@ -109,24 +107,24 @@ declare const AzurePullRequestsPage: (props: {
109
107
  pollingInterval?: number | undefined;
110
108
  defaultColumnConfigs?: PullRequestColumnConfig[] | undefined;
111
109
  teamsLimit?: number | undefined;
112
- }) => React.JSX.Element;
110
+ }) => react_jsx_runtime.JSX.Element;
113
111
  /** @public */
114
112
  declare const EntityAzurePipelinesContent: (props: {
115
113
  defaultLimit?: number | undefined;
116
- }) => React.JSX.Element;
114
+ }) => react_jsx_runtime.JSX.Element;
117
115
  /** @public */
118
- declare const EntityAzureGitTagsContent: () => React.JSX.Element;
116
+ declare const EntityAzureGitTagsContent: () => react_jsx_runtime.JSX.Element;
119
117
  /** @public */
120
118
  declare const EntityAzurePullRequestsContent: (props: {
121
119
  defaultLimit?: number | undefined;
122
- }) => React.JSX.Element;
120
+ }) => react_jsx_runtime.JSX.Element;
123
121
  /** @public */
124
122
  declare const EntityAzureReadmeCard: (props: {
125
123
  maxHeight?: number | undefined;
126
- }) => React.JSX.Element;
124
+ }) => react_jsx_runtime.JSX.Element;
127
125
 
128
126
  /** @public */
129
- declare const AzurePullRequestsIcon: (props: SvgIconProps) => React__default.JSX.Element;
127
+ declare const AzurePullRequestsIcon: (props: SvgIconProps) => react_jsx_runtime.JSX.Element;
130
128
 
131
129
  /** @public */
132
130
  declare const azureDevOpsApiRef: _backstage_core_plugin_api.ApiRef<AzureDevOpsApi>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-azure-devops",
3
- "version": "0.13.2",
3
+ "version": "0.15.0",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "azure-devops",
@@ -42,11 +42,11 @@
42
42
  "types": "./dist/index.d.ts",
43
43
  "typesVersions": {
44
44
  "*": {
45
- "*": [
46
- "dist/index.d.ts"
47
- ],
48
45
  "alpha": [
49
46
  "dist/alpha.d.ts"
47
+ ],
48
+ "package.json": [
49
+ "package.json"
50
50
  ]
51
51
  }
52
52
  },
@@ -63,15 +63,15 @@
63
63
  "test": "backstage-cli package test"
64
64
  },
65
65
  "dependencies": {
66
- "@backstage-community/plugin-azure-devops-common": "^0.9.0",
66
+ "@backstage-community/plugin-azure-devops-common": "^0.10.0",
67
67
  "@backstage/catalog-model": "^1.7.3",
68
- "@backstage/core-compat-api": "^0.4.0",
69
- "@backstage/core-components": "^0.17.0",
70
- "@backstage/core-plugin-api": "^1.10.5",
68
+ "@backstage/core-compat-api": "^0.4.1",
69
+ "@backstage/core-components": "^0.17.1",
70
+ "@backstage/core-plugin-api": "^1.10.6",
71
71
  "@backstage/errors": "^1.2.7",
72
- "@backstage/frontend-plugin-api": "^0.10.0",
73
- "@backstage/plugin-catalog-react": "^1.16.0",
74
- "@backstage/plugin-permission-react": "^0.4.32",
72
+ "@backstage/frontend-plugin-api": "^0.10.1",
73
+ "@backstage/plugin-catalog-react": "^1.17.0",
74
+ "@backstage/plugin-permission-react": "^0.4.33",
75
75
  "@material-ui/core": "^4.12.2",
76
76
  "@material-ui/icons": "^4.9.1",
77
77
  "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
@@ -80,9 +80,9 @@
80
80
  "react-use": "^17.2.4"
81
81
  },
82
82
  "devDependencies": {
83
- "@backstage/cli": "^0.31.0",
84
- "@backstage/dev-utils": "^1.1.8",
85
- "@backstage/test-utils": "^1.7.6",
83
+ "@backstage/cli": "^0.32.0",
84
+ "@backstage/dev-utils": "^1.1.9",
85
+ "@backstage/test-utils": "^1.7.7",
86
86
  "@testing-library/dom": "^10.0.0",
87
87
  "@testing-library/jest-dom": "^6.0.0",
88
88
  "@testing-library/react": "^15.0.0",