# gui: untimed panes sort last in sidebar lead selection · lucenx/signaltty

[View on GitCafe](https://git.cafe/lucenx/signaltty/commit/eaf8076e05352df6314118b232f590cf04d567ab)

Repository: [lucenx/signaltty](https://git.cafe/lucenx/signaltty)

Visibility: public

Requested revision: eaf8076e05352df6314118b232f590cf04d567ab

Requested commit: eaf8076e05352df6314118b232f590cf04d567ab

Commit: eaf8076e05352df6314118b232f590cf04d567ab

Tree: d469be0534247ace1fb027dfcbf34db05d3053de

Author: Lucenx9

Committer: Lucenx9

## Message

```
gui: untimed panes sort last in sidebar lead selection

summarize picked the lead pane with min_by_key(lifecycle_since), and
Option orders None first — so a pre-timing pane (both timing fields
None) shadowed every timed sibling and the headline fell back to the
plain lifecycle word. The is_none() key restores longest-running-wins
with legacy panes last. Two headless tests cover the roll-up: longest
run wins within the rolled-up state, and a legacy pane listed first
never hides a timed run (red-proofed against the old key).

```

## Parents

- [2e9ab8f20dafa7161bfbfcae65c48ef2ab5fe801](https://git.cafe/lucenx/signaltty/commit/2e9ab8f20dafa7161bfbfcae65c48ef2ab5fe801?format=markdown)

[Source at this commit](https://git.cafe/lucenx/signaltty/tree/eaf8076e05352df6314118b232f590cf04d567ab?format=markdown)
