-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update survey titles and labels for clarity: reflect focus on Copilot impact and time savings #73
Conversation
… impact and time savings
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
...tend/src/app/main/copilot/copilot-surveys/new-copilot-survey/new-copilot-survey.component.ts
Fixed
Show fixed
Hide fixed
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.
i added the scrolling reasons to the new survey form
…s, and enhance frontend styles and structure
…' of https://github.com/austenstone/github-value into Nomenclature-for-Developer-Estimates-plus-Form-behavior
@@ -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
Show autofix suggestion
Hide autofix suggestion
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.
-
Copy modified line R1
@@ -1,2 +1,2 @@ | ||
import { HttpClient, HttpParams } from '@angular/common/http'; | ||
import { HttpClient } from '@angular/common/http'; | ||
import { Injectable } from '@angular/core'; |
…d add kudos update functionality
...tend/src/app/main/copilot/copilot-surveys/new-copilot-survey/new-copilot-survey.component.ts
Fixed
Show fixed
Hide fixed
|
||
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
Show autofix suggestion
Hide autofix suggestion
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.
-
Copy modified line R24
@@ -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')); |
… pipe for numeric inputs
…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
Show autofix suggestion
Hide autofix suggestion
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
.
-
Copy modified line R18
@@ -17,7 +17,3 @@ | ||
|
||
interface Metrics { | ||
current: MetricState; | ||
target: MetricState; | ||
max: MetricState; | ||
} | ||
|
||
|
…form labels for clarity
…' of github.com:austenstone/github-value into Nomenclature-for-Developer-Estimates-plus-Form-behavior
…ent to use number formatting directly
…eOptions for improved type safety
No description provided.