Skip to content

Devices can't be renamed, unlike sessions #210

Description

@aasis21

Symptom. Sessions support inline rename (onRenameSession — pencil icon, text input, commit-on-Enter/blur) in both SessionDrawer and DevicesScreen. Listener devices have no equivalent: the device menu only offers "Make default", "Refresh projects", and "Forget device" — never "Rename" — so a device's label always falls back to whatever deviceLabel(device) derives (hostname/generated), with no way to call it "Work laptop" vs "Home desktop".

Why it matters. Multi-device is a named, supported feature (DevicesScreen, #186) — exactly the scenario where a user most needs to tell two laptops apart at a glance, and currently cannot.

Source. mobile/src/ui/screens/DevicesScreen.tsx (device-menu — Make default / Refresh projects / Forget only); mobile/src/ui/sessions/SessionDrawer.tsx (onRename exists only for sessions, not renderDeviceRow).

Direction. Add a device "Rename" action (persisted locally alongside isDefault/lastProjectName) to the existing device menu.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions