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

Update survey titles and labels for clarity: reflect focus on Copilot impact and time savings #73

Merged
merged 18 commits into from
Dec 6, 2024

Conversation

MattG57
Copy link
Collaborator

@MattG57 MattG57 commented Nov 30, 2024

No description provided.

Copy link

github-actions bot commented Nov 30, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@kurkle/color 0.3.4 🟢 5.7
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/10 approved changesets -- score normalized to 0
Maintained🟢 1030 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Binary-Artifacts🟢 10no binaries found in the repo
Signed-Releases⚠️ -1no releases found
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 4dependency not pinned by hash detected -- score normalized to 4
Fuzzing⚠️ 0project is not fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
SAST🟢 9SAST tool is not run on all commits -- score normalized to 9
Vulnerabilities🟢 100 existing vulnerabilities detected
npm/chart.js 4.4.7 🟢 5.3
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1015 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Binary-Artifacts🟢 10no binaries found in the repo
License🟢 10license file detected
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities⚠️ 040 existing vulnerabilities detected
npm/lodash-es 4.17.21 🟢 3.5
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow⚠️ -1no workflows found
Maintained⚠️ 20 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 2
Code-Review⚠️ 2Found 7/30 approved changesets -- score normalized to 2
Token-Permissions⚠️ -1No tokens found
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Binary-Artifacts🟢 10no binaries found in the repo
License🟢 9license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Pinned-Dependencies⚠️ -1no dependencies found
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Fuzzing🟢 10project is fuzzed
Vulnerabilities⚠️ 090 existing vulnerabilities detected
npm/ng2-charts 7.0.0 🟢 3.8
Details
CheckScoreReason
Binary-Artifacts🟢 10no binaries found in the repo
Maintained🟢 34 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
Code-Review⚠️ 0Found 1/16 approved changesets -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Security-Policy⚠️ 0security policy file not detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities🟢 91 existing vulnerabilities detected
npm/chart.js ^4.4.7 🟢 5.3
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1015 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Binary-Artifacts🟢 10no binaries found in the repo
License🟢 10license file detected
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities⚠️ 040 existing vulnerabilities detected
npm/ng2-charts ^7.0.0 🟢 3.8
Details
CheckScoreReason
Binary-Artifacts🟢 10no binaries found in the repo
Maintained🟢 34 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
Code-Review⚠️ 0Found 1/16 approved changesets -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Security-Policy⚠️ 0security policy file not detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities🟢 91 existing vulnerabilities detected

Scanned Files

  • frontend/package-lock.json
  • frontend/package.json

@MattG57 MattG57 enabled auto-merge November 30, 2024 02:23
Copy link
Collaborator Author

@MattG57 MattG57 left a comment

Choose a reason for hiding this comment

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

i added the scrolling reasons to the new survey form

@@ -1,4 +1,4 @@
import { HttpClient } from '@angular/common/http';
import { HttpClient, HttpParams } from '@angular/common/http';

Check failure

Code scanning / ESLint

Disallow unused variables Error

'HttpParams' is defined but never used.

Copilot Autofix AI about 2 months ago

To fix the problem, we need to remove the unused HttpParams import from the file frontend/src/app/services/api/copilot-survey.service.ts. This will resolve the ESLint error and clean up the code by eliminating unnecessary imports.

  • Locate the import statement on line 1.
  • Remove HttpParams from the import statement.
Suggested changeset 1
frontend/src/app/services/api/copilot-survey.service.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/frontend/src/app/services/api/copilot-survey.service.ts b/frontend/src/app/services/api/copilot-survey.service.ts
--- a/frontend/src/app/services/api/copilot-survey.service.ts
+++ b/frontend/src/app/services/api/copilot-survey.service.ts
@@ -1,2 +1,2 @@
-import { HttpClient, HttpParams } from '@angular/common/http';
+import { HttpClient } from '@angular/common/http';
 import { Injectable } from '@angular/core';
EOF
@@ -1,2 +1,2 @@
import { HttpClient, HttpParams } from '@angular/common/http';
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options

getMemberByLogin(login: string) {
return this.http.get<Endpoints["GET /users/{username}"]["response"]["data"]>(`${this.apiUrl}/${login}`).pipe(
catchError((error) => {

Check failure

Code scanning / ESLint

Disallow unused variables Error

'error' is defined but never used.

Copilot Autofix AI about 2 months ago

To fix the problem, we need to remove the unused error variable from the catchError block. This can be done by simply omitting the parameter in the arrow function, as it is not used within the function body. This change will not affect the existing functionality of the code.

Suggested changeset 1
frontend/src/app/services/api/members.service.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/frontend/src/app/services/api/members.service.ts b/frontend/src/app/services/api/members.service.ts
--- a/frontend/src/app/services/api/members.service.ts
+++ b/frontend/src/app/services/api/members.service.ts
@@ -23,3 +23,3 @@
     return this.http.get<Endpoints["GET /users/{username}"]["response"]["data"]>(`${this.apiUrl}/${login}`).pipe(
-      catchError((error) => {
+      catchError(() => {
         return throwError(() => new Error('User not found'));
EOF
@@ -23,3 +23,3 @@
return this.http.get<Endpoints["GET /users/{username}"]["response"]["data"]>(`${this.apiUrl}/${login}`).pipe(
catchError((error) => {
catchError(() => {
return throwError(() => new Error('User not found'));
Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
MattG57 and others added 3 commits December 4, 2024 18:06
…n, modify survey model to streamline kudos property, enhance API service for survey retrieval, and improve frontend layout and styles.
downstreamProductivity: string;
}

interface Metrics {

Check failure

Code scanning / ESLint

Disallow unused variables Error

'Metrics' is defined but never used.

Copilot Autofix AI about 2 months ago

To fix the problem, we need to remove the unused Metrics interface from the code. This will resolve the ESLint error and clean up the code by eliminating unnecessary definitions. The change should be made in the file frontend/src/app/main/copilot/value-modeling/value-modeling.component.ts.

Suggested changeset 1
frontend/src/app/main/copilot/value-modeling/value-modeling.component.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/frontend/src/app/main/copilot/value-modeling/value-modeling.component.ts b/frontend/src/app/main/copilot/value-modeling/value-modeling.component.ts
--- a/frontend/src/app/main/copilot/value-modeling/value-modeling.component.ts
+++ b/frontend/src/app/main/copilot/value-modeling/value-modeling.component.ts
@@ -17,7 +17,3 @@
 
-interface Metrics {
-  current: MetricState;
-  target: MetricState;
-  max: MetricState;
-}
+
 
EOF
@@ -17,7 +17,3 @@

interface Metrics {
current: MetricState;
target: MetricState;
max: MetricState;
}


Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
…' of github.com:austenstone/github-value into Nomenclature-for-Developer-Estimates-plus-Form-behavior
Comment on lines +173 to +176
ngOnInit() {
// this.updateChartData();
// this.form.valueChanges.subscribe(() => this.updateChartData());
}

Check failure

Code scanning / ESLint

Disallows declaring empty lifecycle methods Error

Lifecycle methods should not be empty
@MattG57 MattG57 merged commit 30cb830 into main Dec 6, 2024
10 of 11 checks passed
@MattG57 MattG57 deleted the Nomenclature-for-Developer-Estimates-plus-Form-behavior branch December 6, 2024 16:48
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.

2 participants