This PR aims to create a better UI for writing prompts with Cody's configuration properties (mode, context, etc). The main changes include:
Added functionality to add, edit, and remove custom commands from the workspace settings.
Create a webview provider and UI using React.
Implemented a custom command creation form and message handling in the webview.
Added various utility functions and constants to support the new features.
Updated build and packaging scripts for better optimization.
Insight 📝
The rationale behind these changes is to provide a more user-friendly interface for managing custom commands within the Cody++ extension. By allowing users to add, edit, and remove commands directly from the UI, we enhance the usability and flexibility of the extension.
The improved webview configuration and UI options ensure a smoother and more intuitive user experience.
What happened 👀
This PR aims to create a better UI for writing prompts with Cody's configuration properties (mode, context, etc). The main changes include:
Insight 📝
The rationale behind these changes is to provide a more user-friendly interface for managing custom commands within the Cody++ extension. By allowing users to add, edit, and remove commands directly from the UI, we enhance the usability and flexibility of the extension.
The improved webview configuration and UI options ensure a smoother and more intuitive user experience.
Proof Of Work 📹
Add a command
https://github.com/mnismt/codyplusplus/assets/27861064/56bcf457-cfe0-4039-b2ba-539227f14620
Edit a command
https://github.com/mnismt/codyplusplus/assets/27861064/ff3aee16-be27-4b57-9626-0989604ebb01
Remove a command
https://github.com/mnismt/codyplusplus/assets/27861064/4bbd4ca8-b56e-40e6-a864-435cf0d2f1d4