Skip to content

Commit 5d310e0

Browse files
authored
fix: update custom endpoint description [IDE-1081] (#355)
* fix: updated custom endpoint description * fix: endpoint description * fix: added comma
1 parent 357ff24 commit 5d310e0

File tree

3 files changed

+69
-22
lines changed

3 files changed

+69
-22
lines changed

Snyk.VisualStudio.Extension.2022/Settings/SnykGeneralSettingsUserControl.Designer.cs

Lines changed: 53 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Snyk.VisualStudio.Extension.2022/Settings/SnykGeneralSettingsUserControl.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,5 +287,11 @@ public Panel GetPanel()
287287
{
288288
return this.mainPanel;
289289
}
290+
291+
private void SnykRegionsLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
292+
{
293+
this.SnykRegionsLink.LinkVisited = true;
294+
Process.Start("https://docs.snyk.io/working-with-snyk/regional-hosting-and-data-residency#available-snyk-regions");
295+
}
290296
}
291297
}

Snyk.VisualStudio.Extension.2022/Settings/SnykGeneralSettingsUserControl.resx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,15 @@
120120
<metadata name="errorProvider.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121121
<value>17, 17</value>
122122
</metadata>
123+
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
124+
<value>156</value>
125+
</metadata>
126+
<data name="endpointDescriptionText.Text" xml:space="preserve">
127+
<value>If you're using SSO with Snyk and OAuth2, the custom endpoint configuration is
128+
automatically populated.
129+
For private instances, contact your team or account manager.
130+
Otherwise, for public regional instances, see the docs:</value>
131+
</data>
123132
<metadata name="ossInfoToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124133
<value>140, 17</value>
125134
</metadata>
@@ -132,4 +141,4 @@
132141
<metadata name="customCliPathFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
133142
<value>680, 17</value>
134143
</metadata>
135-
</root>
144+
</root>

0 commit comments

Comments
 (0)