;
+ return could not load questions;
}
const getSecondaryText = (answer_count: Number) =>
diff --git a/plugins/tech-radar/src/components/RadarLegend/RadarLegendRing.tsx b/plugins/tech-radar/src/components/RadarLegend/RadarLegendRing.tsx
index 9ad8126ac4..78232a3a88 100644
--- a/plugins/tech-radar/src/components/RadarLegend/RadarLegendRing.tsx
+++ b/plugins/tech-radar/src/components/RadarLegend/RadarLegendRing.tsx
@@ -14,6 +14,7 @@
* limitations under the License.
*/
import { ClassNameMap } from '@material-ui/core/styles/withStyles';
+import Typography from '@material-ui/core/Typography/Typography';
import React from 'react';
import { Entry, Ring } from '../../utils/types';
import { RadarLegendLink } from './RadarLegendLink';
@@ -38,7 +39,7 @@ export const RadarLegendRing = ({
{ring.name}
{entries.length === 0 ? (
-
(empty)
+ (empty)
) : (
{entries.map(entry => (
diff --git a/plugins/tech-radar/src/components/RadarPage.tsx b/plugins/tech-radar/src/components/RadarPage.tsx
index 49f856eddd..03f33f9e4c 100644
--- a/plugins/tech-radar/src/components/RadarPage.tsx
+++ b/plugins/tech-radar/src/components/RadarPage.tsx
@@ -23,6 +23,7 @@ import {
Link,
} from '@backstage/core-components';
import { Grid, Input, makeStyles } from '@material-ui/core';
+import Typography from '@material-ui/core/Typography';
import React from 'react';
import { RadarComponent, TechRadarComponentProps } from './RadarComponent';
@@ -79,7 +80,7 @@ export function RadarPage(props: TechRadarPageProps) {
onChange={e => setSearchText(e.target.value)}
/>
-
+
This is used for visualizing the official guidelines of different
areas of software development such as languages, frameworks,
infrastructure and processes. You can find an explanation for the
@@ -88,7 +89,7 @@ export function RadarPage(props: TechRadarPageProps) {
Zalando Tech Radar
.
-
+
diff --git a/plugins/xcmetrics/src/components/BuildTimeline/BuildTimeline.tsx b/plugins/xcmetrics/src/components/BuildTimeline/BuildTimeline.tsx
index f00ee03d56..83c8288388 100644
--- a/plugins/xcmetrics/src/components/BuildTimeline/BuildTimeline.tsx
+++ b/plugins/xcmetrics/src/components/BuildTimeline/BuildTimeline.tsx
@@ -15,6 +15,7 @@
*/
import { createStyles, makeStyles, useTheme } from '@material-ui/core';
+import Typography from '@material-ui/core/Typography';
import React from 'react';
import {
Bar,
@@ -91,7 +92,7 @@ export const BuildTimeline = ({
width,
}: BuildTimelineProps) => {
const theme = useTheme();
- if (!targets.length) return
in favor of MUI
From e16f80524299e2af2d8cf01a3aa19d21360b29a3 Mon Sep 17 00:00:00 2001
From: Carlos Esteban Lopez
Date: Thu, 15 Dec 2022 12:43:54 -0500
Subject: [PATCH 3/6] fix: Set eslint-plugin-react to existing version in other
packages
Signed-off-by: Carlos Esteban Lopez
---
yarn.lock | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yarn.lock b/yarn.lock
index b64750defc..a549cab5a9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -22071,7 +22071,7 @@ __metadata:
languageName: node
linkType: hard
-"eslint-plugin-react@npm:^7.28.0, eslint-plugin-react@npm:^7.31.11":
+"eslint-plugin-react@npm:^7.28.0":
version: 7.31.11
resolution: "eslint-plugin-react@npm:7.31.11"
dependencies:
From 2bdd1f92c15b224f119a10bd1d428e2b3168a9ee Mon Sep 17 00:00:00 2001
From: Carlos Esteban Lopez
Date: Tue, 3 Jan 2023 12:43:54 -0500
Subject: [PATCH 4/6] fix: Add paragraph prop for bottom margin
Signed-off-by: Carlos Esteban Lopez
---
.../src/layout/Breadcrumbs/Breadcrumbs.stories.tsx | 10 +++++-----
.../EntityBazaarInfoContent.tsx | 2 +-
.../HomePageBazaarInfoCard/HomePageBazaarInfoCard.tsx | 2 +-
plugins/fossa/src/components/FossaCard/FossaCard.tsx | 5 +++--
.../components/WorkflowRunsTable/WorkflowRunsTable.tsx | 8 ++++++--
.../home/src/homePageComponents/RandomJoke/Content.tsx | 6 +++---
.../src/components/BuildsPage/lib/CITable/CITable.tsx | 6 +++---
.../CustomResources/ArgoRollouts/StepsProgress.tsx | 4 ++--
.../ListTasksPage/columns/CreatedAtColumn.tsx | 4 +++-
.../ListTasksPage/columns/OwnerEntityColumn.tsx | 2 +-
.../src/home/StackOverflowQuestions/Content.tsx | 4 ++--
.../src/components/RadarLegend/RadarLegendRing.tsx | 4 +++-
plugins/tech-radar/src/components/RadarPage.tsx | 2 +-
.../src/components/BuildTimeline/BuildTimeline.tsx | 2 +-
14 files changed, 35 insertions(+), 26 deletions(-)
diff --git a/packages/core-components/src/layout/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/core-components/src/layout/Breadcrumbs/Breadcrumbs.stories.tsx
index 00563be313..04363f2a4a 100644
--- a/packages/core-components/src/layout/Breadcrumbs/Breadcrumbs.stories.tsx
+++ b/packages/core-components/src/layout/Breadcrumbs/Breadcrumbs.stories.tsx
@@ -36,7 +36,7 @@ export default {
export const InHeader = () => (
Standard breadcrumbs
-
+
Underlined pages are links. This should show a hierarchical relationship.
@@ -61,14 +61,14 @@ export const OutsideOfHeader = () => {
const open = Boolean(anchorEl);
return (
-
+
It might be the case that you want to keep your breadcrumbs outside of
the header. In that case, they should be positioned above the title of
the page.
Standard breadcrumbs
-
+
Underlined pages are links. This should show a hierarchical
relationship.
@@ -82,7 +82,7 @@ export const OutsideOfHeader = () => {
Hidden breadcrumbs
-
+
Use this when you have more than three breadcrumbs. When user clicks on
ellipses, expand the breadcrumbs out.
@@ -96,7 +96,7 @@ export const OutsideOfHeader = () => {