From 9afd6b53d207fea1dae292561bc281613e67b7e9 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Wed, 15 Apr 2026 08:31:40 +0200 Subject: [PATCH] style(ui): wrap atlas long lines to satisfy gdlint --- client/ui/implant/atlas_overlay_bar.gd | 33 +++++++++++++++++--------- client/ui/implant/atlas_panel.gd | 3 ++- client/ui/implant/atlas_viewer.gd | 6 ++++- 3 files changed, 29 insertions(+), 13 deletions(-) diff --git a/client/ui/implant/atlas_overlay_bar.gd b/client/ui/implant/atlas_overlay_bar.gd index acf14d955..50bce34df 100644 --- a/client/ui/implant/atlas_overlay_bar.gd +++ b/client/ui/implant/atlas_overlay_bar.gd @@ -17,17 +17,28 @@ extends HBoxContainer const OVERLAY_DEFS: Array = [ # id, label, group ("always" | "toggle" | "locked"), tooltip - {"id": "terrain", "label": "TER", "group": "always", "tooltip": "Terrain — base heightmap. Always visible."}, - {"id": "infrastructure", "label": "INF", "group": "always", "tooltip": "Infrastructure — roads + rail. Always visible."}, - {"id": "named_features", "label": "NAM", "group": "always", "tooltip": "Named features — rivers, oceans, mountain ranges. Always visible."}, - {"id": "gate_markers", "label": "GAT", "group": "always", "tooltip": "Gate + spaceport markers. Always visible."}, - {"id": "political_zones", "label": "POL", "group": "always", "tooltip": "Political zones — currency-zone bands. Always visible."}, - {"id": "population_density", "label": "POP", "group": "toggle", "tooltip": "Population density (D-181 public)."}, - {"id": "production_zones", "label": "PRD", "group": "toggle", "tooltip": "Production zones (D-181 observable — requires presence)."}, - {"id": "shadow_economy", "label": "SHD", "group": "toggle", "tooltip": "Shadow economy zones (D-181 observable)."}, - {"id": "corp_presence", "label": "CRP", "group": "toggle", "tooltip": "Corporate presence — Tier 1 only (D-181 observable)."}, - {"id": "stockpile_weeks", "label": "STK", "group": "locked", "tooltip": "Stockpile weeks — LOCKED. Requires corporate contact (D-181 semi-private)."}, - {"id": "production_vs_baseline", "label": "BSL", "group": "locked", "tooltip": "Production vs baseline — LOCKED. Requires insider access (D-181 private)."}, + {"id": "terrain", "label": "TER", "group": "always", + "tooltip": "Terrain — base heightmap. Always visible."}, + {"id": "infrastructure", "label": "INF", "group": "always", + "tooltip": "Infrastructure — roads + rail. Always visible."}, + {"id": "named_features", "label": "NAM", "group": "always", + "tooltip": "Named features — rivers, oceans, ranges. Always visible."}, + {"id": "gate_markers", "label": "GAT", "group": "always", + "tooltip": "Gate + spaceport markers. Always visible."}, + {"id": "political_zones", "label": "POL", "group": "always", + "tooltip": "Political zones — currency-zone bands. Always visible."}, + {"id": "population_density", "label": "POP", "group": "toggle", + "tooltip": "Population density (D-181 public)."}, + {"id": "production_zones", "label": "PRD", "group": "toggle", + "tooltip": "Production zones (D-181 observable — requires presence)."}, + {"id": "shadow_economy", "label": "SHD", "group": "toggle", + "tooltip": "Shadow economy zones (D-181 observable)."}, + {"id": "corp_presence", "label": "CRP", "group": "toggle", + "tooltip": "Corporate presence — Tier 1 only (D-181 observable)."}, + {"id": "stockpile_weeks", "label": "STK", "group": "locked", + "tooltip": "Stockpile weeks — LOCKED. Needs corporate contact (D-181 semi-private)."}, + {"id": "production_vs_baseline", "label": "BSL", "group": "locked", + "tooltip": "Production vs baseline — LOCKED. Needs insider access (D-181 private)."}, ] const COLOR_PINNED: Color = Color("#c8d0e0") diff --git a/client/ui/implant/atlas_panel.gd b/client/ui/implant/atlas_panel.gd index 2ca1da09f..c77b29e01 100644 --- a/client/ui/implant/atlas_panel.gd +++ b/client/ui/implant/atlas_panel.gd @@ -1,7 +1,8 @@ class_name AtlasPanel extends Control -## Atlas implant panel — 4-level navigation: system picker → orbital diagram → body entry → regional viewer (#834, #835). +## Atlas implant panel — 4-level navigation (#834, #835): +## system picker → orbital diagram → body entry → regional viewer. ## FULLSCREEN implant app (z=20) at implant/map/atlas per D-170. ## Uses ImplantPanel component library (D-169). Data from star_map_data.json. ## diff --git a/client/ui/implant/atlas_viewer.gd b/client/ui/implant/atlas_viewer.gd index d509445b8..25e958e5b 100644 --- a/client/ui/implant/atlas_viewer.gd +++ b/client/ui/implant/atlas_viewer.gd @@ -513,7 +513,11 @@ func _build_empty_notice() -> void: add_child(_empty_notice) _empty_notice.add_component(ImplantHeader.new("TERRAIN DATA PENDING", "regional atlas unavailable")) _empty_notice.add_component(ImplantSeparator.new()) - _empty_notice.add_component(ImplantTextBlock.new("The server atlas pipeline has not yet populated terrain_reference for this body (#839). Once regenerated, the heightmap and markers will render here.")) + var notice_text: String = ( + "The server atlas pipeline has not yet populated terrain_reference for this body (#839). " + + "Once regenerated, the heightmap and markers will render here." + ) + _empty_notice.add_component(ImplantTextBlock.new(notice_text)) _empty_notice.add_component(ImplantSeparator.new()) _empty_notice.add_component(ImplantTextBlock.new("esc back to orbital view")) _position_empty_notice()