rdmbair15m5-changelog-20260923-0850-network-device-symbols
rdmbair15m5-changelog-20260923-0850-network-device-symbols
Implemented semantic NetworkDeviceSymbol enum,
procedural vector fallbacks, ASCII/Unicode tokens, and
NetworkDeviceSymbolView in lib/ECSUI and
mirrored to lib/ecs0lib (FEAT-20260902-21),
providing tiny, scalable, accessible network device and CPE role symbols
across the fleet.
Scope & Repositories
- Hosts:
rdmbair15m5(working tree),rdmsm4x(canonical hub) - Repositories:
lib/ECSUI: commit19359fa("feat(symbols): add dependency-safe NetworkDeviceSymbol and vector fallbacks (FEAT-20260902-21)")lib/ecs0lib: commitbccac9b("feat(symbols): mirror NetworkDeviceSymbol to ECS0UI (FEAT-20260902-21)")
- Ticket:
FEAT-20260902-21(resolved)
Exact Files Touched
lib/ECSUI/Sources/ECSUI/NetworkDeviceSymbol.swiftlib/ECSUI/Tests/ECSUITests/NetworkDeviceSymbolTests.swiftlib/ecs0lib/Sources/ECS0UI/NetworkDeviceSymbol.swiftlib/ecs0lib/Tests/ECS0UITests/NetworkDeviceSymbolTests.swift
Changes Made
- Semantic Roles: Enumerated 13 core network device
roles across CPE, Infrastructure, Endpoint, WAN, and Diagnostic
categories:
gateway,router,switchDevice,accessPoint,antenna,satelliteDish,cableModem,fiberONT,cellularModem,ethernetHost,cloud,warning,unknown.
- System Image Mappings: Native SF Symbols mappings verified for macOS 14+, iOS 17+, visionOS 1+, and tvOS 17+.
- Zero-Dependency Procedural Fallbacks: Original
procedural Bézier vector shapes (
vectorPath(in:)) for offline Canvas/raster/PDF rendering without bundled fonts or third-party asset licenses. - Strict 7-Bit ASCII & Unicode Tokens: Bracketed
tokens (
[GW],[DOCSIS],[SAT], etc.) safe for raw syslog and RFC headers, plus Unicode symbols for rich terminal / notification output. - Accessible SwiftUI View:
NetworkDeviceSymbolViewsupporting Dynamic Type, VoiceOver labels, and monochrome/tint styling across standard 12pt–32pt sizing. - Tests: 10 unit test cases validating uniqueness, categorization, accessibility labels, ASCII safety, vector bounds, JSON Codable serialization roundtrips, and view instantiation.
Verification Evidence
swift test --package-path /Users/richh/dev/lib/ECSUI:rdmbair15m5: 70 tests passed in 0.803s (+10 tests, 0 failures).rdmsm4x: 10/10 target tests passed in 0.002s.
swift test --package-path /Users/richh/dev/lib/ecs0lib:rdmbair15m5: 10/10 target tests passed in 0.005s.rdmsm4x: 10/10 target tests passed in 0.001s.
- Git Parity:
lib/ECSUI: pushed togit.ecs0.net:git/lib/ECSUI.gitand GitHubrdmsm4x-dev-lib-ecsui.gitat19359fa.lib/ecs0lib: pushed togit.ecs0.net:git/lib/ecs0lib.gitand GitHubrdmsm4x-dev-lib-ecs0lib.gitatbccac9b.
Rollback / Undo
git -C /Users/richh/dev/lib/ECSUI revert 19359fagit -C /Users/richh/dev/lib/ecs0lib revert bccac9b