diff --git a/eslint.config.mjs b/eslint.config.mjs index 03a04c84e4..3414e42e95 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -361,7 +361,15 @@ export default tseslint.config( } } ], - '@typescript-eslint/no-deprecated': 'warn', + '@typescript-eslint/no-deprecated': [ + 'warn', + { + allow: [ + // Allow the deprecated Grid component from mui since JMP does not support CSS gap on some OSs + { from: '@mui/material/Grid', name: 'Grid' } + ] + } + ], '@typescript-eslint/no-floating-promises': 'error', '@typescript-eslint/prefer-string-starts-ends-with': 'error' } diff --git a/src/apps/dashboard/routes/plugins/index.tsx b/src/apps/dashboard/routes/plugins/index.tsx index ddad16117f..2cf45a4967 100644 --- a/src/apps/dashboard/routes/plugins/index.tsx +++ b/src/apps/dashboard/routes/plugins/index.tsx @@ -1,10 +1,9 @@ -import Settings from '@mui/icons-material/Settings'; import Alert from '@mui/material/Alert'; import Box from '@mui/material/Box'; +import Button from '@mui/material/Button'; import Chip from '@mui/material/Chip'; import Divider from '@mui/material/Divider'; -import Grid from '@mui/material/Grid2'; -import IconButton from '@mui/material/IconButton/IconButton'; +import Grid from '@mui/material/Grid'; import Stack from '@mui/material/Stack'; import Typography from '@mui/material/Typography'; import React, { useCallback, useMemo, useState } from 'react'; @@ -20,7 +19,6 @@ import { PluginStatusOption } from 'apps/dashboard/features/plugins/constants/pl import Loading from 'components/loading/LoadingComponent'; import Page from 'components/Page'; import globalize from 'lib/globalize'; - /** * The list of primary/main categories. * Any category not in this list will be added to the "other" category. @@ -101,35 +99,53 @@ export const Component = () => { ) : ( - - - - {globalize.translate('TabPlugins')} - + + {globalize.translate('TabPlugins')} + - - - - + - { value={searchQuery} onChange={onSearchChange} /> - - + + { {filteredPlugins.length > 0 ? ( - + {filteredPlugins.map(plugin => ( - + diff --git a/src/strings/en-us.json b/src/strings/en-us.json index fe3c153e8c..8bfb5b80cf 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1075,6 +1075,7 @@ "LyricDownloadersHelp": "Enable and rank your preferred lyric downloaders in order of priority.", "ManageLibrary": "Manage library", "ManageRecording": "Manage recording", + "ManageRepositories": "Manage Repositories", "MapChannels": "Map Channels", "MarkPlayed": "Mark played", "MarkUnplayed": "Mark unplayed",