Skip to content

Commit

Permalink
disable "Edit context" button because fetched ContextItem instances a…
Browse files Browse the repository at this point in the history
…re not resolvable
  • Loading branch information
beyang committed Nov 14, 2024
1 parent e8aed40 commit 83f90c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vscode/webviews/chat/cells/contextCell/ContextCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ export const ContextCell: FunctionComponent<{
<>
<AccordionContent overflow={showSnippets}>
<div className={styles.contextSuggestedActions}>
{contextItems && contextItems.length > 0 && (
{/* Temporarily disable the "Edit context" button because fetched ContextFiles aren't resolvable */}
{/* {contextItems && contextItems.length > 0 && (
<Button
size="sm"
variant="outline"
Expand All @@ -225,7 +226,7 @@ export const ContextCell: FunctionComponent<{
>
{editContextNode}
</Button>
)}
)} */}
{resubmitWithRepoContext && (
<Button
size="sm"
Expand Down

0 comments on commit 83f90c3

Please sign in to comment.