Skip to content

Commit aa8622b

Browse files
Update CHANGELOG.md link in README.md (#32)
1 parent f04439a commit aa8622b

File tree

6 files changed

+25
-16
lines changed

6 files changed

+25
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Security reports : Please report it using our [Vulnerability Disclosure Portal](
5656

5757
## Release Notes
5858

59-
See [Change log](./CHANGELOG.md)
59+
See [Change log](https://github.com/GitGuardian/gitguardian-vscode/blob/main/CHANGELOG.md)
6060

6161
## License
6262

media/main.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
body {
22
height: 100vh;
3+
font-size: 16px;
34
}
45

56
body.vscode-light {
@@ -10,10 +11,11 @@ body.vscode-dark {
1011
color: white;
1112
}
1213

13-
p {
14-
font-size: 16px;
14+
h1 {
15+
font-size: 1.3em;
1516
}
1617

18+
1719
.anonymous {
1820
display: flex;
1921
flex-direction: column;

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ import {
3030
import { GGShieldResolver } from "./lib/ggshield-resolver";
3131
import { getCurrentFile, isGitInstalled } from "./utils";
3232
import { GitGuardianWebviewProvider } from "./ggshield-webview/gitguardian-webview-view";
33-
import { StatusBarStatus, updateStatusBarItem } from "./giguardian-interface/gitguardian-status-bar";
33+
import { StatusBarStatus, updateStatusBarItem } from "./gitguardian-interface/gitguardian-status-bar";
3434
import {
3535
generateSecretName,
3636
GitGuardianSecretHoverProvider,
37-
} from "./giguardian-interface/gitguardian-hover-provider";
37+
} from "./gitguardian-interface/gitguardian-hover-provider";
3838
import { GitGuardianQuotaWebviewProvider } from "./ggshield-webview/gitguardian-quota-webview";
3939
import { GitGuardianRemediationMessageWebviewProvider } from "./ggshield-webview/gitguardian-remediation-message-view";
4040

@@ -179,7 +179,7 @@ export function activate(context: ExtensionContext) {
179179
commands.executeCommand('setContext', 'isAuthenticated', true);
180180
updateStatusBarItem(StatusBarStatus.ready, statusBar);
181181
setApiKey(configuration, ggshieldApi);
182-
} else {
182+
} else {
183183
updateStatusBarItem(StatusBarStatus.unauthenticated, statusBar);
184184
authStatus = false;
185185
}

src/ggshield-webview/gitguardian-webview-view.ts

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ import * as vscode from "vscode";
22
import { GGShieldConfiguration } from "../lib/ggshield-configuration";
33
import { ggshieldAuthStatus } from "../lib/ggshield-api";
44

5-
const documentationUri = vscode.Uri.parse(
6-
"https://docs.gitguardian.com/ggshield-docs/getting-started"
5+
const projectDiscussionUri = vscode.Uri.parse(
6+
"https://github.com/GitGuardian/gitguardian-vscode/discussions"
7+
);
8+
const projectIssuesUri = vscode.Uri.parse(
9+
"https://github.com/GitGuardian/gitguardian-vscode/issues"
710
);
811
const feedbackFormUri = vscode.Uri.parse(
912
"https://docs.google.com/forms/d/e/1FAIpQLSc_BemGrdQfxp6lg7KgeDoB32XZg8yMfapk2gbemu0mVfskDQ/viewform"
@@ -83,13 +86,17 @@ export class GitGuardianWebviewProvider implements vscode.WebviewViewProvider {
8386
<title>GitGuardian - Authenticated</title>
8487
</head>
8588
<body>
86-
<h2>How it works</h2>
87-
<p>Each time you save a document, it will undergo automatic scanning, and any detected secrets will be highlighted as errors.</p>
88-
<p><a href="${documentationUri}" target="_blank">Open documentation</a></p>
89-
90-
<h2>Feedback</h2>
91-
<p>This extension is in beta.</p>
92-
<p>Please share any issues or suggestions <a href="${feedbackFormUri}" target="_blank"> using the following feedback form</a>.</p>
89+
<h1>✅ The extension is active!</strong></h1>
90+
<p>This initial version scans your active document upon saving, whether manually or automatically.</p>
91+
<p>Stay tuned for more features coming soon!</p>
92+
93+
<h1>Build with us !</h1>
94+
<p>As we are in the v0.x release phase, our focus is on developing v1 incrementally and collaboratively with our users (you).</p>
95+
<p><strong>Build with us ! Your feedback is essential to us during this process.</strong></p>
96+
97+
<p><a href="${projectDiscussionUri}" target="_blank">👉 Join the discussion: share feedback, ideas, and vote</a></p>
98+
<p><a href="${projectIssuesUri}" target="_blank">👉 Report any issues you encounter</a></p>
99+
<p><a href="${feedbackFormUri}" target="_blank">👉 Provide anonymous feedback</a></p>
93100
</body>
94101
</html>`;
95102
} else {
@@ -148,7 +155,7 @@ export class GitGuardianWebviewProvider implements vscode.WebviewViewProvider {
148155

149156
dispose(): void {
150157
if (this._view) {
151-
this._view.webview.onDidReceiveMessage(() => {});
158+
this._view.webview.onDidReceiveMessage(() => { });
152159
this._view.webview.html = "";
153160
this._view = undefined;
154161
}

0 commit comments

Comments
 (0)