Skip to content

Commit d0069b4

Browse files
authored
style: fix prettier formatting issues (#610)
Signed-off-by: Asitha de Silva <asithade@gmail.com>
1 parent 5a05edb commit d0069b4

23 files changed

Lines changed: 130 additions & 69 deletions

File tree

apps/lfx-one/src/app/modules/dashboards/board-member/board-member-dashboard.component.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ import { PendingActionsComponent } from '../components/pending-actions/pending-a
1818

1919
@Component({
2020
selector: 'lfx-board-member-dashboard',
21-
imports: [OrganizationInvolvementComponent, PendingActionsComponent, MyMeetingsComponent, FoundationHealthComponent, SkeletonModule, DashboardQuicklinksComponent],
21+
imports: [
22+
OrganizationInvolvementComponent,
23+
PendingActionsComponent,
24+
MyMeetingsComponent,
25+
FoundationHealthComponent,
26+
SkeletonModule,
27+
DashboardQuicklinksComponent,
28+
],
2229
templateUrl: './board-member-dashboard.component.html',
2330
styleUrl: './board-member-dashboard.component.scss',
2431
})
@@ -61,9 +68,7 @@ export class BoardMemberDashboardComponent {
6168
}
6269

6370
// Fetch all pending actions from unified backend endpoint
64-
return this.projectService.getPendingActions(project.slug, project.uid, 'board-member').pipe(
65-
catchError(() => of([]))
66-
);
71+
return this.projectService.getPendingActions(project.slug, project.uid, 'board-member').pipe(catchError(() => of([])));
6772
})
6873
);
6974
})

apps/lfx-one/src/app/modules/dashboards/components/dashboard-quicklinks/dashboard-quicklinks.component.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
<div class="flex items-center gap-2 text-sm" data-testid="dashboard-quicklinks">
66
<span class="text-surface-400 font-medium">Quick links:</span>
77
@for (link of links; track link.testId; let last = $last) {
8-
<a
9-
[routerLink]="link.route"
10-
class="flex items-center gap-1.5 text-primary hover:underline"
11-
[attr.data-testid]="'dashboard-quicklink-' + link.testId">
8+
<a [routerLink]="link.route" class="flex items-center gap-1.5 text-primary hover:underline" [attr.data-testid]="'dashboard-quicklink-' + link.testId">
129
<i [class]="link.icon" aria-hidden="true"></i>
1310
{{ link.label }}
1411
</a>

apps/lfx-one/src/app/modules/dashboards/executive-director/components/brand-health-drawer/brand-health-drawer.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ <h2 class="text-lg font-semibold text-gray-900" data-testid="brand-health-drawer
8484

8585
<!-- FIRST FOLD: Needs Your Attention -->
8686
@if (attentionActions().length > 0 || attentionInsights().length > 0) {
87-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden" data-testid="brand-health-drawer-attention">
87+
<div
88+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden"
89+
data-testid="brand-health-drawer-attention">
8890
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
8991
<i class="fa-light fa-triangle-exclamation text-red-600"></i>
9092
<h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
@@ -115,7 +117,9 @@ <h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
115117

116118
<!-- SECOND FOLD: Performing Well -->
117119
@if (performingActions().length > 0 || performingInsights().length > 0) {
118-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden" data-testid="brand-health-drawer-performing">
120+
<div
121+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden"
122+
data-testid="brand-health-drawer-performing">
119123
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
120124
<i class="fa-light fa-check text-green-600"></i>
121125
<h3 class="text-sm font-semibold text-green-700">Performing Well</h3>

apps/lfx-one/src/app/modules/dashboards/executive-director/components/brand-reach-drawer/brand-reach-drawer.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ <h2 class="text-lg font-semibold text-gray-900" data-testid="brand-reach-drawer-
6464

6565
<!-- FIRST FOLD: Needs Your Attention -->
6666
@if (attentionActions().length > 0 || attentionInsights().length > 0) {
67-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden" data-testid="brand-reach-drawer-attention">
67+
<div
68+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden"
69+
data-testid="brand-reach-drawer-attention">
6870
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
6971
<i class="fa-light fa-triangle-exclamation text-red-600"></i>
7072
<h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
@@ -95,7 +97,9 @@ <h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
9597

9698
<!-- SECOND FOLD: Performing Well -->
9799
@if (performingActions().length > 0 || performingInsights().length > 0) {
98-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden" data-testid="brand-reach-drawer-performing">
100+
<div
101+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden"
102+
data-testid="brand-reach-drawer-performing">
99103
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
100104
<i class="fa-light fa-check text-green-600"></i>
101105
<h3 class="text-sm font-semibold text-green-700">Performing Well</h3>

apps/lfx-one/src/app/modules/dashboards/executive-director/components/email-ctr-drawer/email-ctr-drawer.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ <h2 class="text-lg font-semibold text-gray-900" data-testid="email-ctr-drawer-ti
4141
} @else {
4242
<!-- Cross-Channel Insights -->
4343
@if (attentionActions().length > 0 || attentionInsights().length > 0) {
44-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden" data-testid="email-ctr-drawer-attention">
44+
<div
45+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden"
46+
data-testid="email-ctr-drawer-attention">
4547
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
4648
<i class="fa-light fa-triangle-exclamation text-red-600"></i>
4749
<h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
@@ -71,7 +73,9 @@ <h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
7173
}
7274

7375
@if (performingActions().length > 0 || performingInsights().length > 0) {
74-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden" data-testid="email-ctr-drawer-performing">
76+
<div
77+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden"
78+
data-testid="email-ctr-drawer-performing">
7579
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
7680
<i class="fa-light fa-check text-green-600"></i>
7781
<h3 class="text-sm font-semibold text-green-700">Performing Well</h3>

apps/lfx-one/src/app/modules/dashboards/executive-director/components/engaged-community-drawer/engaged-community-drawer.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ <h2 class="text-lg font-semibold text-gray-900" data-testid="engaged-community-d
5555

5656
<!-- FIRST FOLD: Needs Your Attention -->
5757
@if (attentionActions().length > 0 || attentionInsights().length > 0) {
58-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden" data-testid="engaged-community-drawer-attention">
58+
<div
59+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden"
60+
data-testid="engaged-community-drawer-attention">
5961
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
6062
<i class="fa-light fa-triangle-exclamation text-red-600"></i>
6163
<h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
@@ -86,7 +88,9 @@ <h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
8688

8789
<!-- SECOND FOLD: Performing Well -->
8890
@if (performingActions().length > 0 || performingInsights().length > 0) {
89-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden" data-testid="engaged-community-drawer-performing">
91+
<div
92+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden"
93+
data-testid="engaged-community-drawer-performing">
9094
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
9195
<i class="fa-light fa-check text-green-600"></i>
9296
<h3 class="text-sm font-semibold text-green-700">Performing Well</h3>

apps/lfx-one/src/app/modules/dashboards/executive-director/components/event-growth-drawer/event-growth-drawer.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ <h2 class="text-lg font-semibold text-gray-900" data-testid="event-growth-drawer
105105

106106
<!-- FIRST FOLD: Needs Your Attention -->
107107
@if (attentionActions().length > 0 || attentionInsights().length > 0) {
108-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden" data-testid="event-growth-drawer-attention">
108+
<div
109+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden"
110+
data-testid="event-growth-drawer-attention">
109111
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
110112
<i class="fa-light fa-triangle-exclamation text-red-600"></i>
111113
<h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
@@ -136,7 +138,9 @@ <h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
136138

137139
<!-- SECOND FOLD: Performing Well -->
138140
@if (performingActions().length > 0 || performingInsights().length > 0) {
139-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden" data-testid="event-growth-drawer-performing">
141+
<div
142+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden"
143+
data-testid="event-growth-drawer-performing">
140144
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
141145
<i class="fa-light fa-check text-green-600"></i>
142146
<h3 class="text-sm font-semibold text-green-700">Performing Well</h3>

apps/lfx-one/src/app/modules/dashboards/executive-director/components/flywheel-conversion-drawer/flywheel-conversion-drawer.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ <h2 class="text-lg font-semibold text-gray-900" data-testid="flywheel-conversion
6363

6464
<!-- FIRST FOLD: Needs Your Attention -->
6565
@if (attentionActions().length > 0 || attentionInsights().length > 0) {
66-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden" data-testid="flywheel-conversion-drawer-attention">
66+
<div
67+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden"
68+
data-testid="flywheel-conversion-drawer-attention">
6769
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
6870
<i class="fa-light fa-triangle-exclamation text-red-600"></i>
6971
<h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
@@ -94,7 +96,9 @@ <h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
9496

9597
<!-- SECOND FOLD: Performing Well -->
9698
@if (performingActions().length > 0 || performingInsights().length > 0) {
97-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden" data-testid="flywheel-conversion-drawer-performing">
99+
<div
100+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden"
101+
data-testid="flywheel-conversion-drawer-performing">
98102
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
99103
<i class="fa-light fa-check text-green-600"></i>
100104
<h3 class="text-sm font-semibold text-green-700">Performing Well</h3>

apps/lfx-one/src/app/modules/dashboards/executive-director/components/marketing-overview/marketing-overview.component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ <h2 class="flex items-center gap-2 shrink-0 text-base font-medium text-gray-900"
194194
data-testid="ed-evolution-shadow-left"
195195
aria-hidden="true"></div>
196196
</div>
197-
198197
</section>
199198

200199
<!-- Drill-Down Drawers -->

apps/lfx-one/src/app/modules/dashboards/executive-director/components/member-acquisition-drawer/member-acquisition-drawer.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ <h2 class="text-lg font-semibold text-gray-900" data-testid="member-acquisition-
8585

8686
<!-- FIRST FOLD: Needs Your Attention -->
8787
@if (attentionActions().length > 0 || attentionInsights().length > 0) {
88-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden" data-testid="member-acquisition-drawer-attention">
88+
<div
89+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-red-600 bg-white overflow-hidden"
90+
data-testid="member-acquisition-drawer-attention">
8991
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
9092
<i class="fa-light fa-triangle-exclamation text-red-600"></i>
9193
<h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
@@ -116,7 +118,9 @@ <h3 class="text-sm font-semibold text-red-700">Needs Your Attention</h3>
116118

117119
<!-- SECOND FOLD: Performing Well -->
118120
@if (performingActions().length > 0 || performingInsights().length > 0) {
119-
<div class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden" data-testid="member-acquisition-drawer-performing">
121+
<div
122+
class="flex flex-col rounded-lg border border-gray-200 border-l-4 border-l-green-600 bg-white overflow-hidden"
123+
data-testid="member-acquisition-drawer-performing">
120124
<div class="flex items-center gap-2 px-4 pt-4 pb-2">
121125
<i class="fa-light fa-check text-green-600"></i>
122126
<h3 class="text-sm font-semibold text-green-700">Performing Well</h3>

0 commit comments

Comments
 (0)