-
Notifications
You must be signed in to change notification settings - Fork 7
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: add login button to plugin welcome page [IDE-798] #248
base: main
Are you sure you want to change the base?
Conversation
… some rendering issues on smaller screens.
d26ac76
to
54e1f11
Compare
snyk.trust.dialog.warning.text=When scanning project files for vulnerabilities, Snyk may automatically execute code such as invoking the package manager to get dependency information.<br><br>You should only scan projects you trust.<br><br> | ||
|
||
|
||
snyk.panel.auth.trust.warning.text=When scanning project files, Snyk may automatically execute code such as invoking the package manager to get dependency information.<br/>You should only scan projects you trust. <a href="https://docs.snyk.io/ide-tools/jetbrains-plugins/folder-trust">More info</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The jetbrains link does not look right :)
SnykWizard wizard = new SnykWizard(); | ||
WizardDialog dialog = new WizardDialog(Display.getDefault().getActiveShell(),wizard); | ||
|
||
dialog.setBlockOnOpen(true); | ||
dialog.open(); | ||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: don't duplicate the code, but move SnykExtendedLanguageClient.runSnykWizard()
to a central place and use it from all places where the Wizard is launched.
Description
Added a "Trust project and scan" button to the Eclipse plugin Welcome Panel, which launches the Authentication Wizard.
Also tidied up the HTML (fixing the indentation) and spacing to closer match the layout and behaviour of the equivalent panel in the IntelliJ plugin.
Note that we might commonise the HTML between the plugins in the future, so I deliberately avoided changing how the HTML is constructed for now.
Checklist
Screenshots / GIFs