diff --git a/VERSION b/VERSION index 5f2e0fed..78cfa5eb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.21.5-dev +0.21.6 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 7d808047..f863033d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,33 @@ This project follows the repository versioning rule: - `feature` -> `+0.1.0` - `bugfix` -> `+0.0.1` +## 0.21.6 + +Released: 2026-03-27 + +### Highlights + +- Refined the Earth page interaction loop with object-driven legend switching, clearer selection feedback, and cleaner HUD copy/layout behavior. +- Improved the Earth info surfaces so status toasts, info-card interactions, and title/subtitle presentation feel more intentional and easier to scan. + +### Added + +- Added click-to-copy support for info-card labels so clicking a field label copies the matching field value. +- Added runtime-generated legend content for cables and satellites based on current Earth data and selection state. + +### Improved + +- Improved Earth legend behavior so selected cables and selected satellite categories are promoted to the top of the legend list. +- Improved legend overflow handling by constraining the visible list and using scroll for additional entries. +- Improved info-panel heading layout with centered title/subtitle styling and better subtitle hierarchy. +- Improved status-message behavior with replayable slide-in notifications when messages change in quick succession. + +### Fixed + +- Fixed info-card content spacing by targeting the actual `#info-card-content` node instead of a non-matching class selector. +- Fixed cable legend generation so it follows backend-returned cable names and colors instead of stale hard-coded placeholder categories. +- Fixed reset-view and legend-related HUD behaviors so selection and legend state stay in sync when users interact with real Earth objects. + ## 0.21.5 Released: 2026-03-27 diff --git a/docs/version-history.md b/docs/version-history.md index 55587564..507ba122 100644 --- a/docs/version-history.md +++ b/docs/version-history.md @@ -16,7 +16,7 @@ ## Current Version - `main` 当前主线历史推导到:`0.16.5` -- `dev` 当前开发分支历史推导到:`0.21.3` +- `dev` 当前开发分支历史推导到:`0.21.6` ## Timeline @@ -66,6 +66,9 @@ | `0.21.1` | bugfix | `dev` | `pending` | polish Earth toolbar controls, icons, and loading copy | | `0.21.2` | bugfix | `dev` | `pending` | redesign Earth HUD with liquid-glass controls, dynamic legend switching, and info-card interaction polish | | `0.21.3` | bugfix | `dev` | `30a29a6e` | harden `planet.sh` startup controls, add selective restart and interactive user creation | +| `0.21.4` | bugfix | `dev` | `7ec9586f` | add Earth HUD backup snapshots and icon assets | +| `0.21.5` | bugfix | `dev` | `a761dfc5` | refine Earth legend item presentation | +| `0.21.6` | bugfix | `dev` | `pending` | improve Earth legend generation, info-card interactions, and HUD messaging polish | ## Maintenance Commits Not Counted as Version Bumps diff --git a/frontend/public/earth/css/info-panel.css b/frontend/public/earth/css/info-panel.css index d99e45f0..7184fff9 100644 --- a/frontend/public/earth/css/info-panel.css +++ b/frontend/public/earth/css/info-panel.css @@ -14,14 +14,34 @@ margin-bottom: 5px; color: #4db8ff; text-shadow: 0 0 10px rgba(77, 184, 255, 0.5); + text-align: center; } #info-panel .subtitle { - color: #aaa; margin-bottom: 20px; - font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); - padding-bottom: 10px; + padding-bottom: 12px; + text-align: center; + display: flex; + flex-direction: column; + align-items: center; + gap: 4px; +} + +#info-panel .subtitle-main { + color: #d7e7f5; + font-size: 0.95rem; + line-height: 1.35; + font-weight: 500; + letter-spacing: 0.02em; +} + +#info-panel .subtitle-meta { + color: #8ea5bc; + font-size: 0.74rem; + line-height: 1.3; + letter-spacing: 0.08em; + text-transform: uppercase; } #info-panel .cable-info { diff --git a/frontend/public/earth/css/legend.css b/frontend/public/earth/css/legend.css index 40393d64..cc1a3f21 100644 --- a/frontend/public/earth/css/legend.css +++ b/frontend/public/earth/css/legend.css @@ -19,6 +19,24 @@ display: flex; flex-direction: column; gap: 8px; + max-height: 202px; + overflow-y: auto; + padding-right: 4px; + scrollbar-width: thin; + scrollbar-color: rgba(160, 220, 255, 0.4) transparent; +} + +#legend .legend-list::-webkit-scrollbar { + width: 6px; +} + +#legend .legend-list::-webkit-scrollbar-track { + background: transparent; +} + +#legend .legend-list::-webkit-scrollbar-thumb { + background: linear-gradient(180deg, rgba(210, 237, 255, 0.28), rgba(110, 176, 255, 0.34)); + border-radius: 999px; } #legend .legend-item { diff --git a/frontend/public/earth/index.html b/frontend/public/earth/index.html index 45872962..52338386 100644 --- a/frontend/public/earth/index.html +++ b/frontend/public/earth/index.html @@ -33,7 +33,10 @@

智能星球计划

-
现实层宇宙全息感知系统 | 卫星 · 海底光缆 · 算力基础设施
+
+ 现实层宇宙全息感知系统 + 卫星 · 海底光缆 · 算力基础设施 +