Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kiota Workspace panel should list all clients and plugins available in the current VS code workspace #5715

Open
3 tasks
Tracked by #5713
maisarissi opened this issue Nov 1, 2024 · 0 comments · May be fixed by #5784
Open
3 tasks
Tracked by #5713
Assignees
Labels

Comments

@maisarissi
Copy link
Contributor

maisarissi commented Nov 1, 2024

Challenge

Due to time constraints, when we first implemented the workspace panel we added a reference to the workspace file so one could easily find it and open it to edit their existing clients and plugins.

However, the intention behind that panel was to list all clients and plugins in the current context.

Proposal

We need to modify the existing workspace panel to list all clients and plugins available in the current context.

Image

Tasks

  • Move the My Workspace panel to the top
  • List all clients and plugins available in workspace.json
  • Allow remove and edit for each client and plugin listed

Acceptance Criteria

  1. When there are clients and plugins in the current context, Kiota should show the Workspace panel expanded and listing all clients and plugins available as the image above.
  2. The "My workspace" panel must be in the top.
  3. When there is no clients or plugins in the context, the Workspace panel should load collapsed when opening Kiota extension.
  4. When there is no clients or plugins in the context and one expands the Workspace panel, we should show a "No clients or plugins are available" in the panel.
  5. Only show the Clients component when there is at least 1 client in the current context. If no client was found, the node shouldn't be displayed.
  6. Only show the Plugins component when there is at least 1 plugin in the current context. If no plugin was found, the node shouldn't be displayed.
  7. Clients and Plugins components must to be expandable/collapsible.
  8. When hovering the { } icon in any existing plugin/client, we should show the text Select. When clicking on it, the API Explorer should be loaded with the right client/plugin and right selected paths (same as the EditPaths codelense action) and the notification for regeneration should be displayed.
  9. When hovering the trash icon in any existing plugin/client, we should show the text Delete. When clicking on it for any existing plugin/client, the plugin remove should be performed.
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota Nov 1, 2024
@thewahome thewahome moved this from Needs Triage 🔍 to Todo 📃 in Kiota Nov 5, 2024
@thewahome thewahome self-assigned this Nov 5, 2024
@thewahome thewahome linked a pull request Nov 15, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo 📃
Development

Successfully merging a pull request may close this issue.

2 participants