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

DEV2-4340 - inline chat interaction added #1406

Closed
wants to merge 8 commits into from
Closed

Conversation

dimacodota
Copy link
Contributor

@dimacodota dimacodota commented Dec 11, 2023

Dev2 4340 - inline chat interaction added

Screen Shot 2023-12-11 at 16 50 13

Screen Shot 2023-12-11 at 16 50 19

@dimacodota dimacodota requested a review from a team as a code owner December 11, 2023 23:28
@dimacodota dimacodota changed the title Dev2 4340 - inline chat interaction added DEV2 4340 - inline chat interaction added Dec 12, 2023
@dimacodota dimacodota changed the title DEV2 4340 - inline chat interaction added DEV2-4340 - inline chat interaction added Dec 12, 2023
Copy link
Contributor

@yairco1990 yairco1990 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
a few small comments

description: string;
scope: SCOPE[];
multistep: boolean;
lensOrder?: LensOrder | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
lensOrder?: LensOrder | undefined;
lensOrder?: LensOrder;

@@ -0,0 +1,73 @@
type SCOPE = "block" | "selection" | "none";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type SCOPE = "block" | "selection" | "none";
type Scope = "block" | "selection" | "none";

?
is this a known type in vscode sdk? I don't see its usage

lensOrder?: LensOrder | undefined;
};

export const COMANDS: Command[] = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about splitting it to CODE_LENS_COMMANDS and spread it into COMMANDS, so you won't need this lint ignore:

    COMANDS.filter(
      ({ text, lensOrder }) =>
        lensOrder && filterRelevantActions(text, location, diagnostics)
    )
      // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
      .sort((a, b) => a.lensOrder! - b.lensOrder!)

Copy link

stale bot commented Feb 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 13, 2024
@stale stale bot closed this Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants