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: Use Detail Panel from Language Server #389

Conversation

PeterSchafer
Copy link
Contributor

Description

Language Server sends an HTML Detail panel, which can be shown directly instead of constructing it in the IDE itself.

Checklist

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

Screenshots / GIFs

@PeterSchafer PeterSchafer marked this pull request as ready for review November 9, 2023 14:30
@PeterSchafer PeterSchafer requested a review from a team as a code owner November 9, 2023 14:30
@bastiandoetsch
Copy link
Contributor

Looks very nice. Seeing still differences:
OLD
image
NEW
image

@bastiandoetsch
Copy link
Contributor

Side by side screeenshots:
image
image

@bastiandoetsch
Copy link
Contributor

I'm aware that the fixes probably are on the LS side - where should we collect discrepancies?

@bastiandoetsch bastiandoetsch self-assigned this Nov 9, 2023
@PeterSchafer
Copy link
Contributor Author

I'm aware that the fixes probably are on the LS side - where should we collect discrepancies?

yes we found in bug in the LS implementation that handles the discrepancies in the details path

@PeterSchafer
Copy link
Contributor Author

let's look at the discrepancies together, from the screenshots, I'm not completely sure what is meant.

@PeterSchafer PeterSchafer merged commit 0d3b56b into feat/HEAD-78_oss_via_ls Nov 10, 2023
6 checks passed
@PeterSchafer PeterSchafer deleted the feat/HEAD-78_HEAD-149_oss_via_ls_detail_panel branch November 10, 2023 11:33
j-luong added a commit that referenced this pull request Nov 23, 2023
* docs: update instructions for contribution to include `npm run build`

Signed-off-by: Bastian Doetsch <[email protected]>

* chore: use ls based oss service in cmdcontroller

* chore: move convertion of Issue to OssVulnerability

* chore: adapt test

* chore: delete vulnerabilityCountCodeActionProviderLS class as LS handles CodeActions now

* chore: delete vulnerabilityCountHoverProvider class as LS handles hovers now

* chore: clean up codeaction/hovers where they are not needed anymore

* fix: linting

* check license data if undefined

* chore: display received details html

* chore: initial version taking html from ls

* chore: inject learn icon

* chore: inject nonce and cspsource

* fix: linter

---------

Signed-off-by: Bastian Doetsch <[email protected]>
Co-authored-by: Bastian Doetsch <[email protected]>
Co-authored-by: Jason Luong <[email protected]>
j-luong added a commit that referenced this pull request Nov 23, 2023
* docs: update instructions for contribution to include `npm run build`

Signed-off-by: Bastian Doetsch <[email protected]>

* chore: use ls based oss service in cmdcontroller

* chore: move convertion of Issue to OssVulnerability

* chore: adapt test

* chore: delete vulnerabilityCountCodeActionProviderLS class as LS handles CodeActions now

* chore: delete vulnerabilityCountHoverProvider class as LS handles hovers now

* chore: clean up codeaction/hovers where they are not needed anymore

* fix: linting

* check license data if undefined

* chore: display received details html

* chore: initial version taking html from ls

* chore: inject learn icon

* chore: inject nonce and cspsource

* fix: linter

---------

Signed-off-by: Bastian Doetsch <[email protected]>
Co-authored-by: Bastian Doetsch <[email protected]>
Co-authored-by: Jason Luong <[email protected]>
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