diff --git a/frontend/src/TestHelpers/theme.ts b/frontend/src/TestHelpers/theme.ts
index 24acc770c..f3dd511d8 100644
--- a/frontend/src/TestHelpers/theme.ts
+++ b/frontend/src/TestHelpers/theme.ts
@@ -8,7 +8,7 @@ export const theme = createTheme({
main: process.env.REACT_APP_PRIMARY_COLOR || '#000',
},
success: {
- main: green['500'],
+ main: green['800'],
...green,
},
},
diff --git a/frontend/src/__tests__/Common/ModalButton.spec.js b/frontend/src/__tests__/Common/ModalButton.spec.js
index 0385aae23..f2211ee9f 100644
--- a/frontend/src/__tests__/Common/ModalButton.spec.js
+++ b/frontend/src/__tests__/Common/ModalButton.spec.js
@@ -1,6 +1,5 @@
import { StyledEngineProvider, ThemeProvider } from '@mui/material/styles';
import { fireEvent, render } from '@testing-library/react';
-import React from 'react';
import { MemoryRouter } from 'react-router-dom';
import ModalButton from '../../components/common/ModalButton';
import { theme } from '../../TestHelpers/theme';
diff --git a/frontend/src/components/Activity/ActivityItem.tsx b/frontend/src/components/Activity/ActivityItem.tsx
index 427ff7a93..248fd78f4 100644
--- a/frontend/src/components/Activity/ActivityItem.tsx
+++ b/frontend/src/components/Activity/ActivityItem.tsx
@@ -78,7 +78,7 @@ export function ActivityItemPure(props: ActivityItemPureProps) {
const groupPath = `apps/${props.appId}/groups/${props.groupId}`;
subtitle = t('activity|GROUP');
name = (
-
+
{props.groupName}
);
diff --git a/frontend/src/components/Applications/ApplicationItemGroupItem.tsx b/frontend/src/components/Applications/ApplicationItemGroupItem.tsx
index 81dab19f2..3a5fe2c76 100644
--- a/frontend/src/components/Applications/ApplicationItemGroupItem.tsx
+++ b/frontend/src/components/Applications/ApplicationItemGroupItem.tsx
@@ -53,6 +53,7 @@ function ApplicationItemGroupItem(props: { group: Group; appName: string }) {
className={classes.groupLink}
to={{ pathname: `/apps/${props.group.application_id}/groups/${props.group.id}` }}
component={RouterLink}
+ underline="hover"
>
{props.group.name}
@@ -66,6 +67,7 @@ function ApplicationItemGroupItem(props: { group: Group; appName: string }) {
}}
component={RouterLink}
className={classes.instanceLink}
+ underline="hover"
>
{instanceCountContent}
diff --git a/frontend/src/components/Instances/Common.tsx b/frontend/src/components/Instances/Common.tsx
index d8f0d50d6..86e44077f 100644
--- a/frontend/src/components/Instances/Common.tsx
+++ b/frontend/src/components/Instances/Common.tsx
@@ -46,7 +46,7 @@ export function InstanceCountLabel(props: {
{!instanceListView && countText > 0 ? (
{!props.loading && (
-
+
{t('instances|See all instances')}
diff --git a/frontend/src/components/Instances/Details.tsx b/frontend/src/components/Instances/Details.tsx
index 625615b16..7ba4fa02d 100644
--- a/frontend/src/components/Instances/Details.tsx
+++ b/frontend/src/components/Instances/Details.tsx
@@ -403,6 +403,7 @@ function DetailsView(props: DetailsViewProps) {
className={classes.link}
to={`/apps/${application.id}`}
component={RouterLink}
+ underline="hover"
>
{application.name}
@@ -415,6 +416,7 @@ function DetailsView(props: DetailsViewProps) {
className={classes.link}
to={`/apps/${application.id}/groups/${group.id}`}
component={RouterLink}
+ underline="hover"
>
{group.name}
diff --git a/frontend/src/components/Instances/Item.tsx b/frontend/src/components/Instances/Item.tsx
index 002c4ed59..06334e735 100644
--- a/frontend/src/components/Instances/Item.tsx
+++ b/frontend/src/components/Instances/Item.tsx
@@ -105,7 +105,7 @@ function Item(props: ItemProps) {
-
+
{instanceName}
diff --git a/frontend/src/components/Main.tsx b/frontend/src/components/Main.tsx
index 7ab250c8c..70ed61fd1 100644
--- a/frontend/src/components/Main.tsx
+++ b/frontend/src/components/Main.tsx
@@ -38,7 +38,7 @@ const useStyle = makeStyles(() => ({
function SkipLink() {
const classes = useStyle();
return (
-
+
Skip to main content
);
diff --git a/frontend/src/components/Packages/EditDialog.tsx b/frontend/src/components/Packages/EditDialog.tsx
index d6bb31b13..fa7310486 100644
--- a/frontend/src/components/Packages/EditDialog.tsx
+++ b/frontend/src/components/Packages/EditDialog.tsx
@@ -12,7 +12,7 @@ import Grid from '@mui/material/Grid';
import InputLabel from '@mui/material/InputLabel';
import ListItemText from '@mui/material/ListItemText';
import MenuItem from '@mui/material/MenuItem';
-import MuiSelect from '@mui/material/Select';
+import MuiSelect, { SelectChangeEvent } from '@mui/material/Select';
import makeStyles from '@mui/styles/makeStyles';
import { Field, Form, Formik } from 'formik';
import { Select, TextField } from 'formik-material-ui';
@@ -74,11 +74,11 @@ function EditDialog(props: EditDialogProps) {
});
}
- function handlePackageTypeChange(event: React.ChangeEvent<{ name?: string; value: unknown }>) {
+ function handlePackageTypeChange(event: SelectChangeEvent) {
setPackageType(event.target.value as number);
}
- function handleArchChange(event: React.ChangeEvent<{ name?: string; value: unknown }>) {
+ function handleArchChange(event: SelectChangeEvent) {
setArch(event.target.value as number);
}
//@todo add better types
diff --git a/frontend/src/components/common/AutoCompletePicker/AutoCompletePicker.tsx b/frontend/src/components/common/AutoCompletePicker/AutoCompletePicker.tsx
index bab264973..ca4c53be4 100644
--- a/frontend/src/components/common/AutoCompletePicker/AutoCompletePicker.tsx
+++ b/frontend/src/components/common/AutoCompletePicker/AutoCompletePicker.tsx
@@ -41,7 +41,6 @@ function renderInput(inputProps: RenderInputProps) {
return (
{props.cardMainLinkLabel}
diff --git a/frontend/src/components/common/SectionHeader/SectionHeader.tsx b/frontend/src/components/common/SectionHeader/SectionHeader.tsx
index aa25208f8..14525ee50 100644
--- a/frontend/src/components/common/SectionHeader/SectionHeader.tsx
+++ b/frontend/src/components/common/SectionHeader/SectionHeader.tsx
@@ -61,7 +61,7 @@ export default function SectionHeader(props: SectionHeaderProps) {
className={classes.breadCrumbsItem}
key={'breadcrumb_' + index}
>
-
+
{label}
diff --git a/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx b/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx
index 46848b7c4..ee1a8eccb 100644
--- a/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx
+++ b/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx
@@ -48,7 +48,6 @@ function renderInput(inputProps: RenderInputProps) {
return (
@@ -28,8 +27,8 @@ export default function LocaleSelect(props: LocaleSelectProps) {
const { t, i18n } = useTranslation('frequent');
const theme = useTheme();
- const changeLng = (event: React.ChangeEvent<{ value: unknown }>) => {
- const lng = event.target.value as string;
+ const changeLng = (event: SelectChangeEvent) => {
+ const lng = event.target.value;
i18n.changeLanguage(lng);
document.body.dir = i18n.dir();
diff --git a/frontend/src/i18n/ThemeProviderNexti18n.tsx b/frontend/src/i18n/ThemeProviderNexti18n.tsx
index d3368bc49..3238be024 100644
--- a/frontend/src/i18n/ThemeProviderNexti18n.tsx
+++ b/frontend/src/i18n/ThemeProviderNexti18n.tsx
@@ -30,7 +30,7 @@ function getLocale(locale: string): typeof enUS {
/** Like a ThemeProvider but uses reacti18next for the language selection
* Because Material UI is localized as well.
*/
-const ThemeProviderNexti18n: React.FunctionComponent<{ theme: Theme }> = props => {
+const ThemeProviderNexti18n: React.FC> = props => {
const { i18n } = useTranslation();
const [lang, setLang] = useState(i18n.language);
diff --git a/frontend/src/lib/themes.ts b/frontend/src/lib/themes.ts
index 434b01579..6ed02212a 100644
--- a/frontend/src/lib/themes.ts
+++ b/frontend/src/lib/themes.ts
@@ -20,7 +20,7 @@ const lightTheme = createTheme({
main: process.env.REACT_APP_PRIMARY_COLOR ? process.env.REACT_APP_PRIMARY_COLOR : '#2C98F0',
},
success: {
- main: green['500'],
+ main: green['800'],
...green,
},
},
diff --git a/frontend/src/stores/ActivityStore.tsx b/frontend/src/stores/ActivityStore.tsx
index b38c52302..9fb637c70 100644
--- a/frontend/src/stores/ActivityStore.tsx
+++ b/frontend/src/stores/ActivityStore.tsx
@@ -134,7 +134,7 @@ class ActivityStore extends Store {
description: (
Instance{' '}
-
+
{entry.instance_id}
{' '}
reported an error while processing update to version {entry.version}