fix: minor glitches (#900)

* feat: show actual proxy name instead of proxy group when hovering on a group outbound

* fix: open empty edit form and save will cause `UID not found`

* chore: tauri.conf.json json schema

* chore: missing locales
This commit is contained in:
dongchengjie 2024-04-20 18:02:15 +08:00 committed by GitHub
parent 9d741cdd63
commit f71b51e64a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 17 additions and 3 deletions

View File

@ -1,4 +1,5 @@
{ {
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"package": { "package": {
"productName": "Clash Verge", "productName": "Clash Verge",
"version": "1.5.11" "version": "1.5.11"

View File

@ -1,9 +1,11 @@
{ {
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"tauri": { "tauri": {
"systemTray": { "systemTray": {
"iconPath": "icons/tray-icon.png" "iconPath": "icons/tray-icon.png"
}, },
"bundle": { "bundle": {
"identifier": "io.github.clash-verge-rev.clash-verge-rev",
"targets": ["deb", "appimage", "updater"], "targets": ["deb", "appimage", "updater"],
"deb": { "deb": {
"depends": ["openssl"], "depends": ["openssl"],

View File

@ -1,10 +1,12 @@
{ {
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"tauri": { "tauri": {
"systemTray": { "systemTray": {
"iconPath": "icons/mac-tray-icon.png", "iconPath": "icons/mac-tray-icon.png",
"iconAsTemplate": true "iconAsTemplate": true
}, },
"bundle": { "bundle": {
"identifier": "io.github.clash-verge-rev.clash-verge-rev",
"targets": ["app", "dmg", "updater"], "targets": ["app", "dmg", "updater"],
"macOS": { "macOS": {
"frameworks": [], "frameworks": [],

View File

@ -1,9 +1,11 @@
{ {
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"tauri": { "tauri": {
"systemTray": { "systemTray": {
"iconPath": "icons/tray-icon.png" "iconPath": "icons/tray-icon.png"
}, },
"bundle": { "bundle": {
"identifier": "io.github.clash-verge-rev.clash-verge-rev",
"targets": ["nsis", "updater"], "targets": ["nsis", "updater"],
"windows": { "windows": {
"certificateThumbprint": null, "certificateThumbprint": null,

View File

@ -8,7 +8,6 @@ import {
deleteConnection, deleteConnection,
getGroupProxyDelays, getGroupProxyDelays,
} from "@/services/api"; } from "@/services/api";
import { Box } from "@mui/material";
import { useProfiles } from "@/hooks/use-profiles"; import { useProfiles } from "@/hooks/use-profiles";
import { useVerge } from "@/hooks/use-verge"; import { useVerge } from "@/hooks/use-verge";
import { BaseEmpty } from "../base"; import { BaseEmpty } from "../base";

View File

@ -86,7 +86,10 @@ export const ProxyItemMini = (props: Props) => {
}, },
]} ]}
> >
<Box title={proxy.name} sx={{ overflow: "hidden" }}> <Box
title={`${proxy.name}\n${proxy.now ?? ""}`}
sx={{ overflow: "hidden" }}
>
<Typography <Typography
variant="body2" variant="body2"
component="div" component="div"

View File

@ -104,7 +104,6 @@ export const TestItem = (props: Props) => {
}} }}
> >
<TestBox <TestBox
onClick={onEditTest}
onContextMenu={(event) => { onContextMenu={(event) => {
const { clientX, clientY } = event; const { clientX, clientY } = event;
setPosition({ top: clientY, left: clientX }); setPosition({ top: clientY, left: clientX });

View File

@ -18,6 +18,8 @@
"direct": "direct", "direct": "direct",
"script": "script", "script": "script",
"Create Test": "Create Test",
"Edit Test": "Edit Test",
"Edit": "Edit", "Edit": "Edit",
"Icon": "Icon", "Icon": "Icon",
"Test URL": "Test URL", "Test URL": "Test URL",

View File

@ -18,6 +18,8 @@
"direct": "прямой", "direct": "прямой",
"script": "скриптовый", "script": "скриптовый",
"Create Test": "Создать тест",
"Edit Test": "Редактировать тест",
"Edit": "Редактировать", "Edit": "Редактировать",
"Icon": "Икона", "Icon": "Икона",
"Test URL": "Тестовый URL", "Test URL": "Тестовый URL",

View File

@ -18,6 +18,8 @@
"direct": "直连", "direct": "直连",
"script": "脚本", "script": "脚本",
"Create Test": "新建测试",
"Edit Test": "编辑测试",
"Edit": "编辑", "Edit": "编辑",
"Icon": "图标", "Icon": "图标",
"Test URL": "测试地址", "Test URL": "测试地址",