Skip to content

[ENHANCEMENT] Prompt Enhancement hotkey and caps-lock-style behavior #665

@philbb

Description

@philbb

Problem (one or two sentences)

Using the prompt enhancement feature greatly improves the prompt being sent as well as outcomes, but using it or even remembering to use it can be cumbersome.

Context (who is affected and when)

All users who use prompt enhancement

Desired behavior (conceptual, not technical)

Ease of use enhancements for the prompt enhancement feature:

Caps-lock-style behavior: always enhance prompt before sending it

Ctrl-enter hotkey: enhances prompt before sending it, one time effect.

Constraints / preferences (optional)

Need to make sure the hot key does not clash with other hotkeys at the extension level, the application level, and the OS level.

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Zoo Code Task Links (optional)

No response

Acceptance criteria (optional)

Hotkey: when the user presses the Ctrl-Enter hotkey after typing a prompt, Zoo Code should run the prompt enhancement before sending the prompt to the model, and do so without further intervention from the user. It should also visually indicate next to the prompt in the chat that the prompt was AI-enhanced and subtly give an option to restore the original prompt.

Caps-lock-style behavior:
There should also be an option to automatically enhance all prompts, by double clicking the Enhance Prompt icon. It should then turn a secondary color to show that it is always on. Clicking it again turns off the always on status and reverts it to the original color.

A tooltip should indicate the advanced functions available when the user's mouse hovers over the prompt enhancement icon.

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions