commanddash icon indicating copy to clipboard operation
commanddash copied to clipboard

[Feat]: Implement Slash Command Interface for Quick Actions

Open yatendra2001 opened this issue 1 year ago • 6 comments

Is your feature request related to a problem?

The extension currently lacks a quick-access method for performing common tasks, which can slow down user workflow and efficiency.

Describe the solution that you'd like

Introduce a slash command feature that, when the user types / in the chat input, presents a dropdown menu with a list of available actions (e.g., describe, improve, help etc.)

Describe alternatives that you have considered

--

Additional Information

The design of the slash command interface should be consistent with the overall UI of the extension. It should be extensible so that new commands can be easily added in the future.

Acceptance Criteria

  1. Typing / in the chat input triggers a dropdown menu with available actions.
  2. The dropdown menu is navigable via keyboard arrows and selection is made by pressing Enter.
  3. The UI for the slash commands is clean, unobtrusive, and matches the existing design language.

yatendra2001 avatar Dec 26 '23 09:12 yatendra2001

@yatendra2001 What actions should be displayed as of now in the slash interface?

Mihan786Chistie avatar Dec 27 '23 05:12 Mihan786Chistie

hey @Mihan786Chistie , curently the actions aren't decided, maybe we can have some demo actions like /fix , /describe, /refactor, /explain. We want the final product to look something similar to this:

gif

yatendra2001 avatar Dec 27 '23 07:12 yatendra2001

is the actions added ?

ren276 avatar Dec 30 '23 14:12 ren276

Hey @ren276 , I'm still trying to implement it but feel free to provide your solution

Mihan786Chistie avatar Dec 30 '23 14:12 Mihan786Chistie

yea sure !! I was asking if slash are for only the extension chat or for the vs tab too

ren276 avatar Dec 30 '23 15:12 ren276

hey @ren276 @Mihan786Chistie we're still thinking over the right user experience for this and aren't yet ready to develop or accept PRs.

we'll share our thoughts in this thread shortly and ask you guys for feedback.

samyakkkk avatar Dec 31 '23 14:12 samyakkkk

the feature set has been change and this ticket is not required anymore. closing.

samyakkkk avatar Jun 22 '24 07:06 samyakkkk