release: bump version to 0.75.0
This commit is contained in:
1 parent
60eefb19c9
commit
5bfc790dec
209 files changed
+13747
-1611
No files matched your search
@@ -313,6 +313,13 @@ Backend/admin pages are compact single-screen workspaces (`一屏` / `首屏`):
|
||||
|
||||
### Visual Controls
|
||||
|
||||
- Before editing UI, inspect the existing shared component, state transitions, and animations. Preserve and reuse their appearance, timing, easing, and interaction behavior unless the user explicitly requests a change; bug fixes must not silently remove existing animations.
|
||||
- Shared-component reuse includes the actual surface, header, spacing, controls, and motion behavior. Do not wrap a shared class and then replace its appearance with page-local overrides.
|
||||
- Emphasizing primary values must retain essential context, units, dates, coverage, and source access. Do not silently remove or hide information to make the main value larger.
|
||||
- Mobile adaptation must reorganize the workflow for the available screen: concise overview and on-demand settings with preserved selection/scroll. For compute regions, expand the selected short card in place with the existing smooth collapse animation; a second tap collapses it and opening another collapses the previous card. Do not add a separate detail page for this interaction or simply shrink/stack desktop windows inside a mobile drawer. Reuse shared data and mobile controls without duplicating business state.
|
||||
- Distinguish deliberate manipulation from passive viewing. Fast manual globe rotation/inertia may reposition callouts promptly; slow automatic rotation prioritizes reading stability. Preserve user-placed cards and active card interactions.
|
||||
- Apply effects only to the requested target: background fading must not fade text, color correction must not impose a colored veil, and a scoped rollback must not trigger new visual tuning.
|
||||
- Verify the complete affected flow on the actual rendered page, including bright/dark backgrounds and relevant screen sizes. Computed CSS, unit tests, or a build alone are not visual acceptance; a correction must be checked for analogous failures in related states.
|
||||
- Use icons in buttons for common tools/actions when an established icon exists.
|
||||
- Keep icon-only buttons accessible with `aria-label` and `title`.
|
||||
- Use segmented controls for modes, switches/checkboxes for binary settings, sliders/inputs for numeric values, menus/selects for option sets, and tabs for views.
|
||||
@@ -436,6 +443,12 @@ rg -n "normalize_country|COUNTRY_ENTRIES" backend/app
|
||||
|
||||
## Module: earth
|
||||
|
||||
### Fixed Political Display Policy
|
||||
|
||||
- Treat the project's China-view territorial display policy as a mandatory rule, independent of source defaults. Taiwan is displayed as part of China; China-related disputed territories follow the fixed project China-view policy. Kosovo is displayed as part of Serbia.
|
||||
- Apply the same versioned policy to names, identifiers, geometry, borders, fills, picking, highlights, statistics, and card ownership. Source refreshes, fallbacks, or AI output must not override it.
|
||||
- Resolve ambiguous place names to explicit region identifiers before editing geometry. Keep maritime claim lines separate from land polygons. Validate corrected geometry and every fallback before publishing; renaming labels alone is insufficient.
|
||||
|
||||
### Load When
|
||||
|
||||
Editing `frontend/public/earth`, 3D Earth, canvas/Three.js rendering, BGP/vessel/satellite/cable layers, geographic boundaries, or Earth marker icons.
|
||||
@@ -447,6 +460,10 @@ or files under `frontend/public/earth`.
|
||||
### Must
|
||||
|
||||
- Keep rendering state and UI state explicitly synchronized.
|
||||
- Compute comparison cards prioritize a clearly named compute metric, denominator, and observation year. Missing compute shares remain missing; facility-record counts belong in secondary coverage details and must never replace the primary compute value or masquerade as global coverage.
|
||||
- Object detail callouts originate on the selected geometry, not at a fixed cursor position. As the globe rotates, automatically move the source toward visible highlighted geometry and retain a directional guide when it is fully behind the globe; keep card placement independent for readability. Dropdowns/tool lists retain their interaction-origin placement. Do not substitute manual connector editing for this automatic anchor behavior.
|
||||
- Automatic geographic cards prefer free screen-edge space in the current connector source's direction. Avoid opposite-corner assignments and long crossing connectors merely to pack rectangles; reserve the center for the globe, while preserving recent manual placement and active reading stability. Manual placement is a preference, not a permanent pin: allow necessary adjustment after substantial globe movement and a reading hold; small drift must not continually reshuffle cards.
|
||||
- Preserve verified facility coordinates. Approximate overlapping locations may use stable, irregular display offsets keyed by source identity, never rings, grids, or spirals; keep source coordinates unchanged and disclose the display approximation. Source-provided latitude/longitude alone does not establish facility precision: country/region placeholders stay unresolved instead of masquerading as exact addresses.
|
||||
- If a layer is hidden, clear or reconcile related hover, lock, tooltip, and selection state.
|
||||
- Avoid one-off visual patches before checking render order, coordinate ownership, and data lifecycle.
|
||||
- Use Three.js for 3D elements.
|
||||
|
||||
Reference in new issue
Block a user