fix(debug-ui): restore readable tables and graph axes #1067

Merged
SakulFlee merged 1 commit from fix/debug-ui-legibility into main 2026-11-07 02:07:29 +00:00
Owner

Fixes the Android debug-UI legibility problems:

  • The timings table used iced’s Font::MONOSPACE, which is not available on Android; remove it so rows and values render with the default font.
  • Replace ECS tree glyphs (▾, ▸, ●, ·, •) with ASCII so Android does not show replacement boxes/question marks.
  • Add performance graph axes: horizontal/vertical grid lines, Y-axis values including the auto-scaled maximum, and X-axis time labels (-window, midpoint, now). This implements the missing number lines tracked by #1040.

The graph plot is inset to leave room for the labels; existing sparkline mapping tests were updated for the axis gutters.

Fixes the Android debug-UI legibility problems: - The timings table used iced’s `Font::MONOSPACE`, which is not available on Android; remove it so rows and values render with the default font. - Replace ECS tree glyphs (`▾`, `▸`, `●`, `·`, `•`) with ASCII so Android does not show replacement boxes/question marks. - Add performance graph axes: horizontal/vertical grid lines, Y-axis values including the auto-scaled maximum, and X-axis time labels (`-window`, midpoint, `now`). This implements the missing number lines tracked by #1040. The graph plot is inset to leave room for the labels; existing sparkline mapping tests were updated for the axis gutters.
fix(debug-ui): restore readable tables and graph axes
All checks were successful
Lint / lint (pull_request) Successful in 1m10s
PR / test (pull_request) Successful in 4m26s
927e386d35

Smart test results

Result: PASS

Scope: orbital_debug_ui

Reason: directly changed crates

Elapsed: 4m 7s

Workflow run

Overall: 52 tests, 51 passed, 0 failed, 1 skipped

Nextest: 51 tests, 51 passed, 0 failed, 0 skipped
Doctests: 1 tests, 0 passed, 0 failed, 1 skipped

Outcome charts are split between nextest and doctests. The timing chart covers nextest only.

Crate Nextest Passed Failed Skipped Doctests Time
orbital_debug_ui 51 51 0 0 0/1 0.61s
pie showData
    title Nextest outcomes
    "Passed" : 51
pie showData
    title Doctest outcomes
    "Skipped" : 1
<!-- orbital-ci-test-results --> ## Smart test results **Result:** PASS **Scope:** orbital_debug_ui **Reason:** directly changed crates **Elapsed:** 4m 7s [Workflow run](https://forgejo.sakul-flee.de/SakulFlee/Orbital/actions/runs/1196) **Overall:** 52 tests, 51 passed, 0 failed, 1 skipped **Nextest:** 51 tests, 51 passed, 0 failed, 0 skipped **Doctests:** 1 tests, 0 passed, 0 failed, 1 skipped _Outcome charts are split between nextest and doctests. The timing chart covers nextest only._ | Crate | Nextest | Passed | Failed | Skipped | Doctests | Time | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | orbital_debug_ui | 51 | 51 | 0 | 0 | 0/1 | 0.61s | ```mermaid pie showData title Nextest outcomes "Passed" : 51 ``` ```mermaid pie showData title Doctest outcomes "Skipped" : 1 ```
SakulFlee deleted branch fix/debug-ui-legibility 2026-11-07 02:07:30 +00:00
Sign in to join this conversation.
No description provided.