-
-
Notifications
You must be signed in to change notification settings - Fork 325
V4 - First attempt #415
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
V4 - First attempt #415
Conversation
}, 600); | ||
} | ||
|
||
if (environment?.production === false) { |
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 do not like env. depending configs. Feature toggles are better.
From my point of view, we should fetch this info during build. We can share the work: I add a yaml file with the info and you add it?
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.
We can have the version information available at the about page?
assessment: activity.assessment.toString() || '', | ||
level: activity.level || 0, | ||
teamImplementation: activity.implementation || {}, | ||
// teamsEvidence: activity.teamsEvidence || {}, |
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.
is there a reason to not have teamsEvidence?
@@ -0,0 +1,8597 @@ | |||
--- |
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 generated.yaml should not be part of this repo because it is generated in the -data repo
fetch( | ||
'https://api.github.com/repos/devsecopsmaturitymodel/DevSecOps-MaturityModel/branches/v4' | ||
).then(async response => { | ||
let gitinfo: any = await response.json(); | ||
let commitDate: string = gitinfo?.commit?.commit?.author?.date; | ||
if (commitDate) { | ||
this.subtitle = `Released: ${commitDate?.replace('T', ' ')}`; | ||
} | ||
}); | ||
} |
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.
Could we add a retry mechanism to the fetch function in case something goes wrong?
activityName="{{ | ||
currentActivity.activityName | ||
}}"></app-dependency-graph> | ||
<div *ngIf="currentActivity && currentActivity.name"> |
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.
Can't we replace this with just currentActivity?.name
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.
Thank you, @0x41head :)
Centralized data loader. New Teams page. Massive refactoring.
Great work from @vbakke