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

PRD: [Cody Ignore] Enterprise users cannot use ignored repos as context for Edit Command #1238

Closed
3 of 5 tasks
aramaraju opened this issue Mar 28, 2024 · 1 comment
Closed
3 of 5 tasks

Comments

@aramaraju
Copy link
Contributor

aramaraju commented Mar 28, 2024

Description:

When an enterprise admin has configured Cody to allow/ignore repos, Cody Edit command must not be available to the user

As a user on an enterprise instance that has Cody allow/ignore repos configured...
P0: I cannot run the Cody Edit command on any excluded code
P1: I am able to understand that I cannot use the command because the code has been excluded by my administrator
P2: I see guidance in the UX for how to request that my admin include an excluded repo

Objectives:

Cody does not send any code from excluded repos to the LLM when a user is using Cody's Edit command feature.

Acceptance Criteria:

  • When the user selects content in an excluded file and attempts to perform a Edit command operation using the context menu, they should not be able to complete the operation
    image
  • When the user selects content in an excluded file and attempts to perform a Edit command operation using the sidebar menu, they should not be able to complete the operation
    image
  • When the user selects content in an excluded file and attempts to perform a Edit command operation using a keyboard shortcut, they should not be able to complete the operation
  • When the user selects content in an excluded file and attempts to perform a Edit command operation using the command palette, they should not be able to complete the operation
    image
  • An appropriate notification is provided saying that these operations cannot be completed because the repo is excluded

Design Tasks:

Design Tasks

Engineering Tasks:

Engineering Tasks

  1. 2 of 3
    clients/jetbrains pfp-jetbrains-cody-ignore pfp-jetbrains-may
    steveyegge
  2. 20 of 20
    clients/jetbrains cody enterprise pfp-jetbrains-cody-ignore pfp-jetbrains-may pfp-vscode-cody-ignore
    valerybugakov
  3. clients/jetbrains
    kalanchan

Related Docs:

Cody Ignore and Cody Allow GA PRD
RFC 910: Cody Ignore GA Implementation
Related VSCode ticket

@aramaraju aramaraju changed the title PRD: [Cody Ignore] Enterprise users cannot use ignored repos as context for Edit Commands PRD: [Cody Ignore] Enterprise users cannot use ignored repos as context for Edit Command Mar 28, 2024
@kalanchan
Copy link
Contributor

All complete as part of 6.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants