Skip to content

Conversation

wurstbrot
Copy link
Collaborator

@wurstbrot wurstbrot commented Sep 14, 2025

Great work from @vbakke

}, 600);
}

if (environment?.production === false) {
Copy link
Collaborator Author

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?

Copy link
Collaborator Author

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 || {},
Copy link
Collaborator Author

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 @@
---
Copy link
Collaborator Author

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

@wurstbrot wurstbrot marked this pull request as draft September 14, 2025 17:58
Comment on lines +28 to +37
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', ' ')}`;
}
});
}
Copy link
Collaborator

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">
Copy link
Collaborator

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you, @0x41head :)

@vbakke vbakke closed this Sep 21, 2025
@vbakke vbakke deleted the v4 branch September 21, 2025 14:22
@vbakke vbakke changed the title V4 V4 - First attempt Sep 21, 2025
@vbakke vbakke mentioned this pull request Sep 21, 2025
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.

3 participants