Skip to content

fix(registry): add inline action to create new prompt sources#247

Draft
mvgadagi wants to merge 1 commit into
AmadeusITGroup:mainfrom
mvgadagi:fix/align-add-source-action
Draft

fix(registry): add inline action to create new prompt sources#247
mvgadagi wants to merge 1 commit into
AmadeusITGroup:mainfrom
mvgadagi:fix/align-add-source-action

Conversation

@mvgadagi

@mvgadagi mvgadagi commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Description

Currently when users wants to add a new source, need to scoll to bottom to add it, but its bit bad UX when there are many sources in the list, so this change will move that add functionality to the side with source context menu in line to the groupo

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • ♻️ Code refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🧪 Test coverage improvement
  • 🔧 UX Improvement

Related Issues

Closes #
Fixes #
Relates to #

Changes Made

  • Add "Add Source" command to sources root context menu in inline group
  • Remove redundant "Add Source" tree item from sources list
  • Simplify sources tree by using command-based action instead of dedicated tree node
  • Improves UX by providing direct access to add sources without cluttering the tree view

Testing

Tested with adding the source with this new icon represented in the context menu

Test Coverage

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing completed
  • All existing tests pass

Tested On

  • macOS

  • Windows

  • Linux

  • VS Code Stable

  • VS Code Insiders

Screenshots

Before
image

After
image

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Documentation

  • README.md updated
  • JSDoc comments added/updated
  • No documentation changes needed

Additional Notes

Reviewer Guidelines

Please pay special attention to:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache License 2.0.

- Add "Add Source" command to sources root context menu in inline group
- Remove redundant "Add Source" tree item from sources list
- Simplify sources tree by using command-based action instead of dedicated tree node
- Improves UX by providing direct access to add sources without cluttering the tree view
@mvgadagi mvgadagi marked this pull request as draft April 25, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant