Skip to content

Command+N does not start a new conversation #5

Description

@taylorarndt

What happens

In the chat, I press Command+N expecting a new conversation to start. Nothing happens. There is a New chat button I can click, but the keyboard shortcut does not work, which is confusing.

What I expected

Command+N should start a new conversation, the same as clicking the New chat button.

Where it comes from

The New chat button calls createConversation() in AFM Studio/Views/Chat/ChatWorkspaceView.swift, but no Command+N shortcut is bound to it. The only keyboard shortcut in the app is Command+Return to send a message (AFM Studio/Views/Chat/ComposerView.swift). On macOS there is no CommandGroup in AFM Studio/AFMStudioApp.swift adding a New Conversation menu item with the standard Command+N.

Suggested fix

Add a New Conversation command bound to Command+N that calls the same path as the New chat button. On macOS, expose it through the File menu with a CommandGroup so it shows up as a real menu item and works from the keyboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions