feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,6 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { Plus as ActionPlus } from '@/components/common/icons/ActionIcons';
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import {
|
||||
Banner,
|
||||
@@ -31,7 +32,7 @@ import {
|
||||
Tag,
|
||||
Toast,
|
||||
} from '@/components/ui';
|
||||
import { BellRing, Plus } from 'lucide-react';
|
||||
import { BellRing } from 'lucide-react';
|
||||
import { useIsMobile } from '../../hooks/common/useIsMobile';
|
||||
import {
|
||||
ALERT_DIM_TYPES,
|
||||
@@ -337,7 +338,7 @@ const QualityAlerts = ({ quality, t }) => {
|
||||
</span>
|
||||
</span>
|
||||
<Button
|
||||
icon={<Plus size={14} />}
|
||||
icon={<ActionPlus size={14} />}
|
||||
theme='solid'
|
||||
onClick={() => {
|
||||
setTestResult(null);
|
||||
|
||||
@@ -17,6 +17,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
SlidersHorizontal as ActionSlidersHorizontal,
|
||||
RotateCcw as ActionRotateCcw,
|
||||
RefreshCw as ActionRefreshCw,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, {
|
||||
useCallback,
|
||||
useEffect,
|
||||
@@ -33,7 +38,7 @@ import {
|
||||
Select,
|
||||
Tag,
|
||||
} from '@/components/ui';
|
||||
import { Filter, RefreshCw, RotateCcw, SlidersHorizontal } from 'lucide-react';
|
||||
import { Filter } from 'lucide-react';
|
||||
import {
|
||||
FAULTS,
|
||||
OUTCOMES,
|
||||
@@ -286,17 +291,17 @@ const QualityFilterBar = ({ quality, t, onOpenDetail }) => {
|
||||
/>
|
||||
<div className='flex flex-wrap items-center gap-2 ml-auto'>
|
||||
<Button
|
||||
icon={<SlidersHorizontal size={14} />}
|
||||
icon={<ActionSlidersHorizontal size={14} />}
|
||||
theme={moreOpen ? 'solid' : 'light'}
|
||||
onClick={() => setMoreOpen((v) => !v)}
|
||||
>
|
||||
{t('更多筛选')}
|
||||
</Button>
|
||||
<Button icon={<RotateCcw size={14} />} onClick={resetFilters}>
|
||||
<Button icon={<ActionRotateCcw size={14} />} onClick={resetFilters}>
|
||||
{t('重置')}
|
||||
</Button>
|
||||
<Button
|
||||
icon={<RefreshCw size={14} />}
|
||||
icon={<ActionRefreshCw size={14} />}
|
||||
loading={loading}
|
||||
onClick={refresh}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user