v0.15.1 — ISS-004 right pane widened, On-board wrapping fixed #16

Merged
kamilkrzywda merged 2 commits from fix/right-pane-width into master 2026-09-19 13:38:53 +02:00
Owner

What (issue #4)

Right pane is too narrow, 'On board' area is wrapping its content in 'bad' way.

  • .app-shell grid: 300px / 1fr / 320px → 280px / 1fr / 360px (map absorbs the delta; MapLibre sizes from container — no JS change)
  • .contract-route: + min-width: 0 — as a flex item with default min-width:auto it couldn't shrink, so its existing ellipsis never engaged and long in-flight legs overflowed instead of truncating
  • .pane-btn: + white-space: nowrap — stops "Fly to Madrid" / "Abandon −€X" labels wrapping mid-text
  • Cargo sub-line route span now carries className="contract-route" (previously had no white-space rule at all)
  • Left-pane guard: .plane-loc + min-width: 0 so a long in-flight leg truncates instead of overflowing at the new 280px width

Version

  • package.json → 0.15.1
  • CHANGELOG.md — v0.15.1 entry (ISS-004)

Checks (local)

  • tsc --noEmit clean; unit 238/238 green; playwright test --list = 33 tests in 9 files
  • e2e not run locally by design — CI verifies against the isolated stack. Existing specs assert only visibility/text on testids (ellipsis doesn't alter DOM text), so no spec changes needed
## What (issue #4) *Right pane is too narrow, 'On board' area is wrapping its content in 'bad' way.* - `.app-shell` grid: `300px / 1fr / 320px` → **`280px / 1fr / 360px`** (map absorbs the delta; MapLibre sizes from container — no JS change) - `.contract-route`: + `min-width: 0` — as a flex item with default `min-width:auto` it couldn't shrink, so its existing ellipsis never engaged and long in-flight legs overflowed instead of truncating - `.pane-btn`: + `white-space: nowrap` — stops "Fly to Madrid" / "Abandon −€X" labels wrapping mid-text - Cargo sub-line route span now carries `className="contract-route"` (previously had no white-space rule at all) - Left-pane guard: `.plane-loc` + `min-width: 0` so a long in-flight leg truncates instead of overflowing at the new 280px width ## Version - `package.json` → **0.15.1** - `CHANGELOG.md` — v0.15.1 entry (ISS-004) ## Checks (local) - `tsc --noEmit` clean; unit 238/238 green; `playwright test --list` = 33 tests in 9 files - e2e not run locally by design — CI verifies against the isolated stack. Existing specs assert only visibility/text on testids (ellipsis doesn't alter DOM text), so no spec changes needed
kamilkrzywda added 1 commit 2026-09-19 13:10:21 +02:00
fix: v0.15.1 — ISS-004 right pane widened to 360px, on-board wrap fixes
CI / build + unit + e2e (pull_request) Failing after 6m15s
4c99dbe550
kamilkrzywda added 1 commit 2026-09-19 13:32:22 +02:00
kamilkrzywda merged commit 1dc5beb0dd into master 2026-09-19 13:38:53 +02:00
kamilkrzywda deleted branch fix/right-pane-width 2026-09-19 13:38:53 +02:00
Sign in to join this conversation.