dev #11
@@ -8,6 +8,19 @@ This project follows the repository versioning rule:
|
||||
- `improvement` -> `+0.0.1`(bugfix + 小功能混合)
|
||||
- `bugfix` -> `+0.0.1`
|
||||
|
||||
## [0.51.1] — 2026-05-11
|
||||
|
||||
Released: 2026-05-11
|
||||
|
||||
### Highlights
|
||||
- 修复 Earth 静态资源引用方式,图标和国家边界数据改为模块相对 URL,避免部署路径变化时资源加载失败。
|
||||
- 将 Material Symbols Rounded 字体切换为本地资源,减少 Earth 页面首屏对外部字体服务的依赖。
|
||||
|
||||
### Fixed
|
||||
- 修复 BGP 广播图标、算力中心图标和国家边界 GeoJSON 在非固定 `/earth` 路径下可能失效的问题。
|
||||
|
||||
---
|
||||
|
||||
## [0.51.0] — 2026-05-11
|
||||
|
||||
Released: 2026-05-11
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
## Current Version
|
||||
|
||||
- `main` 当前主线历史推导到:`0.16.5`
|
||||
- `dev` 当前开发分支历史推导到:`0.51.0`
|
||||
- `dev` 当前开发分支历史推导到:`0.51.1`
|
||||
|
||||
## Timeline
|
||||
|
||||
| Version | Type | Branch | Commit | Summary |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| `0.51.1` | bugfix | `dev` | `pending` | 修复 Earth 静态资源模块相对路径与 Material Symbols 本地字体加载,避免部署路径变化或外部字体不可用时图标/边界资源失效 |
|
||||
| `0.51.0` | feature | `dev` | `pending` | 新增 AI Settings 控制台与 ai_tools 工具层;重写算力中心候选预览/保存交互(呼吸圈 + 即时图标);动作捕捉 zoom 改为 mirror-safe trend + pose hold 双通道,支持持续触发 |
|
||||
| `0.50.0` | feature | `dev` | `pending` | 新增 Earth 动捕双通道控制、Motion Agent、Presentation 持久展示、AI Provider 多 provider 设置、位置候选 LLM 兜底与 FAQ |
|
||||
| `0.49.0` | feature | `dev` | `pending` | 新增位置解析 Pipeline、BGP/算力中心地理定位、Docs Gatekeeper、Earth 新闻栏与 Mobile 国家高亮 |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "planet-frontend",
|
||||
"version": "0.51.0",
|
||||
"version": "0.51.1",
|
||||
"private": true,
|
||||
"packageManager": "bun@1",
|
||||
"dependencies": {
|
||||
|
||||
Binary file not shown.
24
frontend/public/earth/css/fonts.css
Normal file
24
frontend/public/earth/css/fonts.css
Normal file
@@ -0,0 +1,24 @@
|
||||
@font-face {
|
||||
font-family: "Material Symbols Rounded";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: block;
|
||||
src: url("../assets/fonts/material-symbols-rounded-500.ttf") format("truetype");
|
||||
}
|
||||
|
||||
.material-symbols-rounded {
|
||||
direction: ltr;
|
||||
display: inline-block;
|
||||
font-family: "Material Symbols Rounded";
|
||||
font-feature-settings: "liga";
|
||||
font-size: 24px;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
letter-spacing: normal;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
-webkit-font-feature-settings: "liga";
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
@@ -136,7 +136,7 @@
|
||||
<link rel="stylesheet" href="css/news-panel.css">
|
||||
<link rel="stylesheet" href="css/layer-panel.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600&display=swap">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,500,0,0">
|
||||
<link rel="stylesheet" href="css/fonts.css">
|
||||
</head>
|
||||
<body class="earth-page">
|
||||
<svg class="earth-filters" aria-hidden="true" width="0" height="0">
|
||||
|
||||
@@ -38,7 +38,7 @@ const BGP_COLLECTOR_RENDER_ORDER = 4.4;
|
||||
const BGP_COLLECTOR_ALTITUDE_OFFSET = BGP_CONFIG.collectorAltitudeOffset;
|
||||
const BGP_COLLECTOR_POINT_SIZE = 36;
|
||||
const BGP_COLLECTOR_ICON_FIT_SIZE = 60;
|
||||
const BGP_COLLECTOR_ICON_SOURCE = "/earth/assets/icons/bgp-broadcast-pin.svg";
|
||||
const BGP_COLLECTOR_ICON_SOURCE = new URL("../assets/icons/bgp-broadcast-pin.svg", import.meta.url).href;
|
||||
const BGP_COLLECTOR_HOVER_SCALE = 1.08;
|
||||
const BGP_COLLECTOR_LOCKED_SCALE = 1.12;
|
||||
const BGP_COLLECTOR_PULSE_AMPLITUDE = 0.14;
|
||||
|
||||
@@ -12,9 +12,9 @@ const COMPUTE_CENTER_POINT_SIZE = 36;
|
||||
const COMPUTE_CENTER_ICON_FIT_SIZE = 60;
|
||||
const COMPUTE_CENTER_ATLAS_CELL_SIZE = 128;
|
||||
const COMPUTE_CENTER_ICON_SOURCES = {
|
||||
supercomputer: "/earth/assets/icons/compute-supercomputer.svg",
|
||||
gpu_cluster: "/earth/assets/icons/compute-gpu-cluster.svg",
|
||||
infrastructure: "/earth/assets/icons/compute-hdd-network.svg",
|
||||
supercomputer: new URL("../assets/icons/compute-supercomputer.svg", import.meta.url).href,
|
||||
gpu_cluster: new URL("../assets/icons/compute-gpu-cluster.svg", import.meta.url).href,
|
||||
infrastructure: new URL("../assets/icons/compute-hdd-network.svg", import.meta.url).href,
|
||||
};
|
||||
let showComputeCenters = true;
|
||||
let supercomputerCount = 0;
|
||||
|
||||
@@ -177,7 +177,7 @@ export const TERRAIN_CONFIG = {
|
||||
};
|
||||
|
||||
export const COUNTRY_BOUNDARY_CONFIG = {
|
||||
dataPath: "/earth/data/countries-admin0.min.geojson",
|
||||
dataPath: new URL("../data/countries-admin0.min.geojson", import.meta.url).href,
|
||||
lineAltitudeOffset: 0.115,
|
||||
hoverAltitudeOffset: 0.14,
|
||||
lineColor: 0x7fc7ff,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "planet"
|
||||
version = "0.51.0"
|
||||
version = "0.51.1"
|
||||
description = "智能星球计划 - 态势感知系统"
|
||||
requires-python = ">=3.14"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user