Skip to content

feat: create a new snyk view [IDE-711][IDE-712][IDE-713] #213

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

Merged
merged 49 commits into from
Nov 25, 2024

Conversation

acke
Copy link
Contributor

@acke acke commented Nov 12, 2024

Description

Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.

Checklist

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

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from 9083c23 to e31bd11 Compare November 12, 2024 14:52
@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from e21aa41 to 07ecfa0 Compare November 13, 2024 11:07
@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from 07ecfa0 to 5fc6f71 Compare November 13, 2024 11:08
try {
boolean cliFound = getCliFile().exists();
boolean tokenFound = !Preferences.getInstance().getAuthToken().isBlank()
|| System.getenv().containsKey("SNYK_TOKEN");
Copy link
Contributor

Choose a reason for hiding this comment

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

The SNYK_TOKEN check is old and a bug :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we remove tokenFound, or only the System.getenv().containsKey check?

@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from 27789d2 to e027045 Compare November 13, 2024 14:00
@acke acke force-pushed the feat/IDE-711_create_a_new_snyk_view branch from def77c5 to 8d3a3c0 Compare November 13, 2024 15:09
acke and others added 23 commits November 15, 2024 17:18
* feat: add project level

* fix: tests

* feat: add file & issue nodes (wip)

* feat: add issue navigation

* fix: add missing icons

* fix: node filtering

* fix: create custom publishDiagnostic for faster deserilization

* fix: use Webview2 browser on Windows

* chore: added comment

* wip: cancel all scans

* tidy: clean up unused things

* fix: clean up tree when scan is cancelled

* fix: expand treenodes after product nodes are added to tree

* fix: added unit tests for progressmanager

* fix: indentation

* fix: dont run progress cancellation in UI

---------

Co-authored-by: Knut Funkel <[email protected]>
Co-authored-by: Abdelrahman Shawki Hassan <[email protected]>
fix: tests on command line
* feat: prepending the treenodes for ignores and AI Fix with identifier

* fix: added space after ignore tag

* feat: add a call to read feature flags, and call that function to read snykCodeConsistentIgnores

* fix: expand treeviewer to show all issues.

* fix: wip remvoe ignores filters if needed

* fix: rename file

* fix: call featureflag service after auth and settings persistence

* fix: notifyProgress if param is null

* feat: taskprocessor for sending tasks after ls init

* fix: tests use current pref

* feat: filter issues based on ignore preferences

* fix: remove commands if ff for ignores are false

* fix: adding the handlers and commands for filters

* fix: adding an asyncExec on the ui updates

---------

Co-authored-by: Abdelrahman Shawki Hassan <[email protected]>
* wip: html provider

* fix: populate tree after snyk.Scan success

* refactor: use css from LS

* wip: html provider

* fix: merge conflicts

* fix: added HtmlProviderFactory tests

* fix: use comperator for sorting issues

* refactor: create BrowserHandler

* fix: cache theme instance
@ShawkyZ ShawkyZ closed this Nov 25, 2024
@ShawkyZ ShawkyZ reopened this Nov 25, 2024
@ShawkyZ ShawkyZ merged commit efb46f9 into main Nov 25, 2024
7 checks passed
@ShawkyZ ShawkyZ deleted the feat/IDE-711_create_a_new_snyk_view branch November 25, 2024 12:40
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.

3 participants