Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/renderer/src/main/public/locales/en/history.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
"configured": "Configured",
"protocolType": "Protocol Type",
"all": "All",
"favorites": "Favorites",
"favoriteSuccess": "Favorite successful",
"cancelFavoriteSuccess": "Favorite removed",
"onlyFavorites": "Only Favorites",
"resetRequestID": "Reset Request ID",
"doNotResetRequestID": "Do Not Reset Request ID",
"saveFile": "Save File",
Expand All @@ -63,6 +67,8 @@
"batchTestPoCTemplate": "Batch Test PoC Template",
"tagColor": "Tag Color",
"removeColor": "Remove Color",
"favorite": "Favorite",
"cancelFavorite": "Cancel Favorite",
"sendToComparer": "Send to Comparer",
"sendToComparerLeft": "Send to Left Comparer",
"sendToComparerRight": "Send to Right Comparer and Navigate",
Expand Down
3 changes: 3 additions & 0 deletions app/renderer/src/main/public/locales/en/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@
"chromePath": "Chrome Startup Path",
"chromePathDesc": "If Chrome cannot be started, please configure the Chrome startup path",
"configured": "Configured",
"mcp": "Yak Mcp",
"mcpDesc": "May affect the use of some features",
"systemProxy": "System Proxy",
"statusRefreshInterval": "Status Refresh Interval",
"zoomScale": "Zoom Scale Adjustment",
Expand Down Expand Up @@ -346,6 +348,7 @@
"started": "MCP service started: {{serverUrl}}",
"error": "MCP service error: {{message}}",
"stopped": "MCP service stopped: {{message}}",
"MCPStopped": "Yak Mcp service stopped",
"serviceStopped": "Service stopped",
"urlRequired": "Startup address cannot be empty",
"urlFormatError": "Startup address format error, e.g. 127.0.0.1:11432",
Expand Down
6 changes: 6 additions & 0 deletions app/renderer/src/main/public/locales/zh/history.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
"configured": "已配置",
"protocolType": "协议类型",
"all": "全部",
"favorites": "收藏夹",
"favoriteSuccess": "收藏成功",
"cancelFavoriteSuccess": "取消收藏成功",
"onlyFavorites": "仅收藏夹",
"resetRequestID": "重置请求 ID",
"doNotResetRequestID": "不重置请求 ID",
"saveFile": "保存文件",
Expand All @@ -63,6 +67,8 @@
"batchTestPoCTemplate": "批量检测 PoC 模版",
"tagColor": "标注颜色",
"removeColor": "移除颜色",
"favorite": "收藏",
"cancelFavorite": "取消收藏",
"sendToComparer": "发送到对比器",
"sendToComparerLeft": "发送到对比器左侧",
"sendToComparerRight": "发送到对比器右侧并跳转",
Expand Down
3 changes: 3 additions & 0 deletions app/renderer/src/main/public/locales/zh/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@
"chromePath": "Chrome 启动路径",
"chromePathDesc": "如无法启动 Chrome,请配置 Chrome 启动路径",
"configured": "已配置",
"mcp": "Yak Mcp",
"mcpDesc": "可能会影响部分功能的使用",
"systemProxy": "系统代理",
"statusRefreshInterval": "状态刷新间隔时间",
"zoomScale": "缩放比例调整",
Expand Down Expand Up @@ -346,6 +348,7 @@
"started": "MCP 服务已启动:{{serverUrl}}",
"error": "MCP 服务错误:{{message}}",
"stopped": "MCP 服务已停止:{{message}}",
"MCPStopped": "Yak Mcp服务已停用",
"serviceStopped": "服务已停止",
"urlRequired": "启动地址不能为空",
"urlFormatError": "启动地址格式错误,例如:127.0.0.1:11432",
Expand Down
44 changes: 20 additions & 24 deletions app/renderer/src/main/src/assets/icon/colors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -785,30 +785,26 @@ export const IconSolidAIIcon = (props: Partial<IconProps>) => {
return <Icon component={IconSolidAI} {...props} />
}

const IconSolidAI = () => (
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
<path
fillRule="evenodd"
clipRule="evenodd"
d="M2.59998 0.600098C1.49541 0.600098 0.599976 1.49553 0.599976 2.6001V11.4001C0.599976 12.5047 1.49541 13.4001 2.59998 13.4001H11.4C12.5045 13.4001 13.4 12.5047 13.4 11.4001V2.6001C13.4 1.49553 12.5045 0.600098 11.4 0.600098H2.59998ZM7.34563 9.11923H4.36744L3.80528 10.9661C3.78424 11.0351 3.74499 11.0948 3.69298 11.1371C3.64096 11.1794 3.57875 11.2021 3.51499 11.202H2.50741C2.45785 11.2019 2.40905 11.188 2.36517 11.1616C2.32129 11.1352 2.28363 11.0971 2.25541 11.0504C2.22719 11.0037 2.20925 10.9498 2.20312 10.8935C2.19698 10.8371 2.20284 10.7798 2.22019 10.7266L4.65159 3.26004C4.69509 3.12549 4.77341 3.00938 4.87608 2.92726C4.97874 2.84513 5.10084 2.80092 5.22603 2.80054H6.52697C6.65261 2.8007 6.77518 2.845 6.87816 2.92748C6.98115 3.00995 7.05961 3.12664 7.10295 3.26181L9.51438 10.7266C9.53173 10.7798 9.53759 10.8371 9.53146 10.8935C9.52532 10.9498 9.50738 11.0037 9.47916 11.0504C9.45095 11.0971 9.41329 11.1352 9.3694 11.1616C9.32552 11.188 9.27672 11.2019 9.22716 11.202H8.18733C8.12338 11.2019 8.06104 11.179 8.009 11.1364C7.95696 11.0938 7.91782 11.0336 7.89704 10.9643L7.34563 9.11923ZM6.88485 7.59457L5.9341 4.41146H5.80815L4.83591 7.59457H6.88485ZM10.502 2.80054H11.4927C11.5742 2.80054 11.6523 2.83763 11.7099 2.90367C11.7676 2.9697 11.7999 3.05927 11.7999 3.15265V10.8499C11.7999 10.9433 11.7676 11.0328 11.7099 11.0989C11.6523 11.1649 11.5742 11.202 11.4927 11.202H10.502C10.4206 11.202 10.3424 11.1649 10.2848 11.0989C10.2272 11.0328 10.1948 10.9433 10.1948 10.8499V3.15265C10.1948 3.05927 10.2272 2.9697 10.2848 2.90367C10.3424 2.83763 10.4206 2.80054 10.502 2.80054Z"
fill="url(#paint0_linear_32108_18432)"
/>
<defs>
<linearGradient
id="paint0_linear_32108_18432"
x1="1.63998"
y1="0.600089"
x2="15.5209"
y2="12.0032"
gradientUnits="userSpaceOnUse"
>
<stop offset="0.083042" stopColor="#FFB263" />
<stop offset="0.498498" stopColor="#D084FF" />
<stop offset="1" stopColor="#45A6FF" />
</linearGradient>
</defs>
</svg>
)
const IconSolidAI = () => {
const id = uuidv4()
return (
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
<path
fillRule="evenodd"
clipRule="evenodd"
d="M2.59998 0.600098C1.49541 0.600098 0.599976 1.49553 0.599976 2.6001V11.4001C0.599976 12.5047 1.49541 13.4001 2.59998 13.4001H11.4C12.5045 13.4001 13.4 12.5047 13.4 11.4001V2.6001C13.4 1.49553 12.5045 0.600098 11.4 0.600098H2.59998ZM7.34563 9.11923H4.36744L3.80528 10.9661C3.78424 11.0351 3.74499 11.0948 3.69298 11.1371C3.64096 11.1794 3.57875 11.2021 3.51499 11.202H2.50741C2.45785 11.2019 2.40905 11.188 2.36517 11.1616C2.32129 11.1352 2.28363 11.0971 2.25541 11.0504C2.22719 11.0037 2.20925 10.9498 2.20312 10.8935C2.19698 10.8371 2.20284 10.7798 2.22019 10.7266L4.65159 3.26004C4.69509 3.12549 4.77341 3.00938 4.87608 2.92726C4.97874 2.84513 5.10084 2.80092 5.22603 2.80054H6.52697C6.65261 2.8007 6.77518 2.845 6.87816 2.92748C6.98115 3.00995 7.05961 3.12664 7.10295 3.26181L9.51438 10.7266C9.53173 10.7798 9.53759 10.8371 9.53146 10.8935C9.52532 10.9498 9.50738 11.0037 9.47916 11.0504C9.45095 11.0971 9.41329 11.1352 9.3694 11.1616C9.32552 11.188 9.27672 11.2019 9.22716 11.202H8.18733C8.12338 11.2019 8.06104 11.179 8.009 11.1364C7.95696 11.0938 7.91782 11.0336 7.89704 10.9643L7.34563 9.11923ZM6.88485 7.59457L5.9341 4.41146H5.80815L4.83591 7.59457H6.88485ZM10.502 2.80054H11.4927C11.5742 2.80054 11.6523 2.83763 11.7099 2.90367C11.7676 2.9697 11.7999 3.05927 11.7999 3.15265V10.8499C11.7999 10.9433 11.7676 11.0328 11.7099 11.0989C11.6523 11.1649 11.5742 11.202 11.4927 11.202H10.502C10.4206 11.202 10.3424 11.1649 10.2848 11.0989C10.2272 11.0328 10.1948 10.9433 10.1948 10.8499V3.15265C10.1948 3.05927 10.2272 2.9697 10.2848 2.90367C10.3424 2.83763 10.4206 2.80054 10.502 2.80054Z"
fill={`url(#${id})`}
/>
<defs>
<linearGradient id={id} x1="1.63998" y1="0.600089" x2="15.5209" y2="12.0032" gradientUnits="userSpaceOnUse">
<stop offset="0.083042" stopColor="#FFB263" />
<stop offset="0.498498" stopColor="#D084FF" />
<stop offset="1" stopColor="#45A6FF" />
</linearGradient>
</defs>
</svg>
)
}

/**
* @description Icon/Solid/ai-white
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,23 @@
.icon-hover:hover {
color: var(--Colors-Use-Main-Primary);
}

.favorite-icon svg {
height: 16px;
width: 16px;
}

.favorite-icon-active {
margin-top: -3px;
margin-left: -2px;
width: 19px;
color: var(--Colors-Use-Yellow-Primary) !important;

svg {
height: 19px;
width: 19px;
}
}
}

.hover-grey-row {
Expand Down
Loading
Loading