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

feat: html vscode script for buttons and links [IDE-375] [IDE-367] #465

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

teodora-sandu
Copy link
Contributor

Description

Adds the interactions for clicking on the Data Flow links and the inline ignore buttons at the bottom of the footer in VSCode. It duplicates some of the code in codeSuggestionWebviewScript but most of the code in that script right now is in snyk-ls since it's only HTML interactions. Eventually we can delete that file and I made a decision not to refactor it and make the two scripts use common code because it would mean more work to include the common scripts across the two.

To manually test run npm run build and then run the extension.

There aren't any unit tests for this code at the moment so not adding any tests.

Tickets:

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Screen.Recording.2024-06-04.at.10.18.58.mov

@teodora-sandu teodora-sandu requested a review from a team as a code owner June 4, 2024 09:25
@teodora-sandu teodora-sandu force-pushed the feat/html-vscode-script branch from 30a9514 to 2138477 Compare June 4, 2024 09:47
Copy link
Contributor

@cat2608 cat2608 left a comment

Choose a reason for hiding this comment

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

🚀 Tested it with snyk/snyk-ls#531 and all the interactions work as expected! Thank you!

@teodora-sandu teodora-sandu changed the title feat: html vscode script for buttons and links feat: html vscode script for buttons and links [IDE-375] [IDE-367] Jun 4, 2024
@teodora-sandu teodora-sandu force-pushed the feat/html-vscode-script branch 2 times, most recently from bb3068e to 2138477 Compare June 4, 2024 15:41
@teodora-sandu teodora-sandu merged commit b26bbfb into main Jun 4, 2024
10 checks passed
@teodora-sandu teodora-sandu deleted the feat/html-vscode-script branch June 4, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants