Skip to content

✨ A should cycle from list-wide devices to the device under the cursor #18

Description

@iTerminate

Once #2 lands, A (device log) can be scoped either to every device behind the active list, or to
just the device under the cursor. Right now A only supports the list-wide scope; there's no way
to narrow to one device without leaving the list.

Agreed UX: A cycles instead of just toggling:

  1. 1st press — device log for every device behind the active list (today's behavior), or the
    graphed entity's device when the inline graph panel is open.
  2. 2nd press (only when a list is active and the panel is showing the list-wide scope) — narrows
    to just the device under the cursor.
  3. 3rd press — closes.

When the inline graph is open, or no list is active, the first press already resolves to a single
device, so there's no intermediate step — the second press closes, same as today.

a (entity list log) and i (single-entity log) are unaffected — they stay entity-scoped, no
device ids, matching how Home Assistant's own entity/more-info logbook behaves.

Note this changes existing behavior: A currently closes on the second press unconditionally;
with a list active it will instead narrow scope on the second press and close on the third.

Refs #2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions