mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 17:25:34 +08:00
Merge branch 'MetaCubeX:main' into main
This commit is contained in:
commit
a9d7d85b07
@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.90.0](https://github.com/MetaCubeX/metacubexd/compare/v1.89.0...v1.90.0) (2023-09-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **connections:** shorten the tab names ([1a37a10](https://github.com/MetaCubeX/metacubexd/commit/1a37a106f8c421829854ffcb75b64b7885b00005))
|
||||||
|
|
||||||
## [1.89.0](https://github.com/MetaCubeX/metacubexd/compare/v1.88.1...v1.89.0) (2023-09-12)
|
## [1.89.0](https://github.com/MetaCubeX/metacubexd/compare/v1.88.1...v1.89.0) (2023-09-12)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "metacubexd",
|
"name": "metacubexd",
|
||||||
"version": "1.89.0",
|
"version": "1.90.0",
|
||||||
"description": "Clash.Meta Dashboard, The Official One, XD",
|
"description": "Clash.Meta Dashboard, The Official One, XD",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
@ -5,7 +5,10 @@ export const ConnectionsTableDetailsModal: Component<{
|
|||||||
selectedConnectionID?: string
|
selectedConnectionID?: string
|
||||||
}> = (props) => {
|
}> = (props) => {
|
||||||
return (
|
return (
|
||||||
<dialog id="connections-table-details-modal" class="modal">
|
<dialog
|
||||||
|
id="connections-table-details-modal"
|
||||||
|
class="modal modal-bottom sm:modal-middle"
|
||||||
|
>
|
||||||
<div class="modal-box">
|
<div class="modal-box">
|
||||||
<Show when={props.selectedConnectionID}>
|
<Show when={props.selectedConnectionID}>
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -95,8 +95,11 @@ export const ConnectionsTableOrderingModal = (props: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<dialog id="connections-table-ordering-modal" class="modal">
|
<dialog
|
||||||
<div class="modal-box w-80" onContextMenu={(e) => e.preventDefault()}>
|
id="connections-table-ordering-modal"
|
||||||
|
class="modal modal-bottom sm:modal-middle"
|
||||||
|
>
|
||||||
|
<div class="modal-box" onContextMenu={(e) => e.preventDefault()}>
|
||||||
<DragDropProvider
|
<DragDropProvider
|
||||||
onDragStart={onDragStart}
|
onDragStart={onDragStart}
|
||||||
onDragEnd={onDragEnd as DragEventHandler}
|
onDragEnd={onDragEnd as DragEventHandler}
|
||||||
@ -115,15 +118,17 @@ export const ConnectionsTableOrderingModal = (props: {
|
|||||||
</DragOverlay>
|
</DragOverlay>
|
||||||
</DragDropProvider>
|
</DragDropProvider>
|
||||||
|
|
||||||
<Button
|
<div class="modal-action">
|
||||||
class="btn-neutral btn-sm ml-auto mt-4 block"
|
<Button
|
||||||
onClick={() => {
|
class="btn-neutral btn-sm ml-auto mt-4 block"
|
||||||
props.onOrderChange(CONNECTIONS_TABLE_INITIAL_COLUMN_ORDER)
|
onClick={() => {
|
||||||
props.onVisibleChange(CONNECTIONS_TABLE_INITIAL_COLUMN_VISIBILITY)
|
props.onOrderChange(CONNECTIONS_TABLE_INITIAL_COLUMN_ORDER)
|
||||||
}}
|
props.onVisibleChange(CONNECTIONS_TABLE_INITIAL_COLUMN_VISIBILITY)
|
||||||
>
|
}}
|
||||||
{t('reset')}
|
>
|
||||||
</Button>
|
{t('reset')}
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form method="dialog" class="modal-backdrop">
|
<form method="dialog" class="modal-backdrop">
|
||||||
|
@ -69,7 +69,6 @@ export default {
|
|||||||
switchEndpoint: 'Switch Endpoint',
|
switchEndpoint: 'Switch Endpoint',
|
||||||
switchLanguage: 'Switch Language',
|
switchLanguage: 'Switch Language',
|
||||||
latencyTestTimeoutDuration: 'Latency Test Timeout Duration',
|
latencyTestTimeoutDuration: 'Latency Test Timeout Duration',
|
||||||
closedConnections: 'Closed Connections',
|
|
||||||
all: 'All',
|
all: 'All',
|
||||||
sequence: 'Sequence',
|
sequence: 'Sequence',
|
||||||
payload: 'Payload',
|
payload: 'Payload',
|
||||||
@ -79,4 +78,6 @@ export default {
|
|||||||
global: 'Global',
|
global: 'Global',
|
||||||
rule: 'Rule',
|
rule: 'Rule',
|
||||||
direct: 'Direct',
|
direct: 'Direct',
|
||||||
|
active: 'Active',
|
||||||
|
closed: 'Closed',
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,6 @@ export default {
|
|||||||
switchEndpoint: '切换后端',
|
switchEndpoint: '切换后端',
|
||||||
switchLanguage: '切换语言',
|
switchLanguage: '切换语言',
|
||||||
latencyTestTimeoutDuration: '测速超时时间',
|
latencyTestTimeoutDuration: '测速超时时间',
|
||||||
closedConnections: '已关闭连接',
|
|
||||||
all: '全部',
|
all: '全部',
|
||||||
sequence: '序列号',
|
sequence: '序列号',
|
||||||
payload: '内容',
|
payload: '内容',
|
||||||
@ -79,4 +78,6 @@ export default {
|
|||||||
global: '全局',
|
global: '全局',
|
||||||
rule: '规则',
|
rule: '规则',
|
||||||
direct: '直连',
|
direct: '直连',
|
||||||
|
active: '活动',
|
||||||
|
closed: '已关闭',
|
||||||
}
|
}
|
||||||
|
@ -2,13 +2,13 @@ import { writeClipboard } from '@solid-primitives/clipboard'
|
|||||||
import { useI18n } from '@solid-primitives/i18n'
|
import { useI18n } from '@solid-primitives/i18n'
|
||||||
import { makePersisted } from '@solid-primitives/storage'
|
import { makePersisted } from '@solid-primitives/storage'
|
||||||
import {
|
import {
|
||||||
IconCircleX,
|
IconInfoSmall,
|
||||||
IconInfoCircle,
|
|
||||||
IconPlayerPause,
|
IconPlayerPause,
|
||||||
IconPlayerPlay,
|
IconPlayerPlay,
|
||||||
IconSettings,
|
IconSettings,
|
||||||
IconSortAscending,
|
IconSortAscending,
|
||||||
IconSortDescending,
|
IconSortDescending,
|
||||||
|
IconX,
|
||||||
IconZoomInFilled,
|
IconZoomInFilled,
|
||||||
IconZoomOutFilled,
|
IconZoomOutFilled,
|
||||||
} from '@tabler/icons-solidjs'
|
} from '@tabler/icons-solidjs'
|
||||||
@ -113,7 +113,7 @@ export default () => {
|
|||||||
modal?.showModal()
|
modal?.showModal()
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<IconInfoCircle size="16" />
|
<IconInfoSmall size="16" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
@ -131,7 +131,7 @@ export default () => {
|
|||||||
class="btn-circle btn-xs"
|
class="btn-circle btn-xs"
|
||||||
onClick={() => closeSingleConnectionAPI(row.original.id)}
|
onClick={() => closeSingleConnectionAPI(row.original.id)}
|
||||||
>
|
>
|
||||||
<IconCircleX size="16" />
|
<IconX size="16" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
@ -293,12 +293,12 @@ export default () => {
|
|||||||
const tabs = createMemo(() => [
|
const tabs = createMemo(() => [
|
||||||
{
|
{
|
||||||
type: ActiveTab.activeConnections,
|
type: ActiveTab.activeConnections,
|
||||||
name: t('activeConnections'),
|
name: t('active'),
|
||||||
count: activeConnections().length,
|
count: activeConnections().length,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: ActiveTab.closedConnections,
|
type: ActiveTab.closedConnections,
|
||||||
name: t('closedConnections'),
|
name: t('closed'),
|
||||||
count: closedConnections().length,
|
count: closedConnections().length,
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
@ -350,7 +350,7 @@ export default () => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<IconCircleX />
|
<IconX />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
Reference in New Issue
Block a user