Skip to content

Commit c76dcde

Browse files
committed
feat: link readme for defining teams
1 parent 83d45dc commit c76dcde

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

apps/frontend/src/app/features/team-alignment/team-alignment.component.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
<div>
33
<mat-checkbox class="mr30" [(ngModel)]="byUser">By User</mat-checkbox>
44

5+
<a
6+
mat-stroked-button
7+
class="docu-link"
8+
href="https://github.com/angular-architects/detective/blob/main/README.md#defining-teams"
9+
target="_blank"
10+
>Define Teams</a
11+
>
12+
513
<mat-icon
614
matTooltip="The Team Alignment Analysis shows whether your team structure and module/domain boundaries are aligned."
715
matTooltipPosition="above"

apps/frontend/src/app/features/team-alignment/team-alignment.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import { injectShowError } from '../../utils/error-handler';
2626
import { MatIconModule } from '@angular/material/icon';
2727
import { MatTooltipModule } from '@angular/material/tooltip';
2828
import { DoughnutComponent } from '../../ui/doughnut/doughnut.component';
29+
import { MatButtonModule } from '@angular/material/button';
2930

3031
type LoadTeamAlignmentOptions = {
3132
limits: Limits;
@@ -41,6 +42,7 @@ type LoadTeamAlignmentOptions = {
4142
FormsModule,
4243
MatIconModule,
4344
MatTooltipModule,
45+
MatButtonModule,
4446
DoughnutComponent,
4547
],
4648
templateUrl: './team-alignment.component.html',

apps/frontend/src/styles.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,10 @@ body {
9898
color: #757575;
9999
vertical-align: middle;
100100
}
101+
102+
a.docu-link {
103+
color: black;
104+
cursor: pointer;
105+
font-weight: normal;
106+
margin-left: 20px;
107+
}

0 commit comments

Comments
 (0)