Skip to content

v1.5.0

Choose a tag to compare

@GivanGu GivanGu released this 13 Sep 12:30
· 85 commits to main since this release

What Changed

The 1.5 series introduces a complete Card Logo system — manage per-service logos on every port card, with built-in brand icons for well-known services.

New: Card Logo System

  • Per-service logos on port cards — auto-discover (fetched from favicon services) or upload a custom logo for any port/service. Logos persist in SQLite and render directly on the card.
  • Logo fills the whole card as background — with 4 readability scrim options: left gradient / full overlay / frosted glass / none.
  • Logo display mode — choose between full-card background or a boxed logo. The scrim setting is now a conditional sub-section that hides automatically in box mode (merged into a single "Logo display" settings card).
  • Built-in default logos — 37 well-known services ship with real brand icons (MySQL, MariaDB, PostgreSQL, Redis, MongoDB, Elasticsearch, Oracle, SQL Server, plus protocol icons for SSH, FTP, DNS, SMTP, RDP, VNC, etc.). Matching is port-first (e.g. 3306 → MySQL) with service-name fallback, so logos resolve even when the service name is unknown or customized.
  • Quick-add logo for logo-less ports — the "no logo" section in Notes now offers one-click discover + upload.

Improvements

  • Access address accepts bare IP/domain — auto-prefixes http:// when the scheme is missing.
  • PortView's own port is always identified as PortView/docker — no longer mislabeled as a generic host port.
  • Logo key no longer derived from service_name — avoids logo cross-contamination between unknown ports.

Fixes

  • Fixed card height, logo contain centering, and 3D gradient border.
  • "Go to settings" anchor scroll now retries; discover button shows failure feedback.
  • Edit input clipping and anchor-scroll retry fixed.
  • Nav "go to settings" event switched to document dispatch with an appKey character whitelist.

更新内容

1.5 系列引入完整的卡片 Logo 系统 —— 为每个端口卡片管理独立的服务 Logo,并为知名服务内置真实品牌图标。

新增:卡片 Logo 系统

  • 端口卡片独立 Logo —— 支持自动发现(从 favicon 服务抓取)或为任意端口/服务上传自定义 Logo。Logo 持久化存储于 SQLite,直接渲染在卡片上。
  • Logo 铺满整卡背景 —— 提供 4 档可读性遮罩:左侧渐变 / 全层遮罩 / 毛玻璃 / 无遮罩。
  • Logo 展示模式 —— 可选「铺满背景」或「Logo 框」展示。遮罩设置现为条件子区块,方框模式下自动隐藏(展示模式与遮罩已合并为单张「Logo 展示」设置卡片)。
  • 内置默认 Logo —— 37 个知名服务内置真实品牌图标(MySQL、MariaDB、PostgreSQL、Redis、MongoDB、Elasticsearch、Oracle、SQL Server,以及 SSH、FTP、DNS、SMTP、RDP、VNC 等协议图标)。匹配采用端口优先(如 3306 → MySQL)+ 服务名兜底,即使服务名未知或自定义也能正确解析。
  • 无 Logo 端口快速添加 —— 备注页「无 Logo」分区现支持一键发现 + 上传。

优化

  • 访问地址兼容裸 IP/域名 —— 缺少协议时自动补 http://。
  • PortView 自身端口恒识别为 PortView/docker —— 不再被误标为普通主机端口。
  • Logo key 不再取自 service_name —— 避免未知端口之间 Logo 串卡。

修复

  • 固定卡片高度、Logo contain 居中、3D 渐变描边。
  • 「去配置」锚点滚动增加重试;发现按钮增加失败反馈。
  • 修复编辑输入框裁剪与锚点滚动重试。
  • 导航「去配置」事件改为 document dispatch + appKey 字符白名单过滤。