Skip to content

UX feedback wanted: keyboard shortcut for switching personas or other controls? #1597

Description

@dlqqq

Problem

In Jupyter AI v3.1 (#1584), we've made a number of UX improvements that simplify how invoking an AI persona works. They no longer require @-mention and the UI always shows you exactly who will respond.

However, one thing that we lost along the way is that a user has to manually click the persona picker to open a menu to switch to a different persona. Maybe this is fine (I don't know how often people are switching personas), but it is technically a regression - you used to be able to type @ and select your persona without using a mouse.

One thing that would be nice , IMO, is to have a keyboard shortcut for switching personas without using a mouse. I think this will be more important in Jupyter AI v3.2 (#1571) when we allow users to easily create their own custom personas.

Questions to answer

  • What keyboard shortcut should this be? Ideally something that doesn't clash with an existing one. I thought about Cmd + P but I think that is used to print the page (maybe it's OK to take that over).

  • Are there other keyboard shortcuts we should have? Would users want some keyboard shortcut for switching the model? Or is that too granular?

  • How do we hint users that they can use a keyboard shortcut to switch personas? Maybe in the submenu?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions