+6
src/app/components/aux-panes/thread-view/thread-view.component.html
+6
src/app/components/aux-panes/thread-view/thread-view.component.html
+3
-1
src/app/components/aux-panes/thread-view/thread-view.component.ts
+3
-1
src/app/components/aux-panes/thread-view/thread-view.component.ts
···
21
21
import {DialogService} from '@services/dialog.service';
22
22
import {NgTemplateOutlet} from '@angular/common';
23
23
import {DividerComponent} from '@components/shared/divider/divider.component';
24
+
import {SpinnerComponent} from '@components/shared/spinner/spinner.component';
24
25
25
26
@Component({
26
27
selector: 'thread-view',
···
30
31
IsFeedDefsBlockedPostPipe,
31
32
PostCardComponent,
32
33
NgTemplateOutlet,
33
-
DividerComponent
34
+
DividerComponent,
35
+
SpinnerComponent
34
36
],
35
37
templateUrl: './thread-view.component.html',
36
38
changeDetection: ChangeDetectionStrategy.OnPush
+6
-10
src/app/components/feeds/notification-feed/notification-feed.component.html
+6
-10
src/app/components/feeds/notification-feed/notification-feed.component.html
···
25
25
26
26
<divider/>
27
27
}
28
-
<!-- } @else {-->
29
-
<!-- <div-->
30
-
<!-- class="h-full w-full flex items-center justify-center"-->
31
-
<!-- >-->
32
-
<!-- <p-progress-spinner-->
33
-
<!-- class="h-12"-->
34
-
<!-- strokeWidth="5"-->
35
-
<!-- [style]="{height: '3rem', width: '3rem'}"-->
36
-
<!-- />-->
37
-
<!-- </div>-->
28
+
} @else {
29
+
<div
30
+
class="h-full w-full flex justify-center mt-16 text-4xl"
31
+
>
32
+
<spinner/>
33
+
</div>
38
34
}
39
35
</div>
+2
src/app/components/feeds/notification-feed/notification-feed.component.ts
+2
src/app/components/feeds/notification-feed/notification-feed.component.ts
···
20
20
import {MessageService} from '@services/message.service';
21
21
import {DividerComponent} from '@components/shared/divider/divider.component';
22
22
import {DialogService} from '@services/dialog.service';
23
+
import {SpinnerComponent} from '@components/shared/spinner/spinner.component';
23
24
24
25
@Component({
25
26
selector: 'notification-feed',
···
30
31
IsNotificationArrayPipe,
31
32
NotificationCardComponent,
32
33
DividerComponent,
34
+
SpinnerComponent,
33
35
],
34
36
templateUrl: './notification-feed.component.html',
35
37
changeDetection: ChangeDetectionStrategy.OnPush
+6
-10
src/app/components/feeds/timeline-feed/timeline-feed.component.html
+6
-10
src/app/components/feeds/timeline-feed/timeline-feed.component.html
···
27
27
28
28
<divider/>
29
29
}
30
-
<!-- } @else {-->
31
-
<!-- <div-->
32
-
<!-- class="h-full w-full flex items-center justify-center"-->
33
-
<!-- >-->
34
-
<!-- <p-progress-spinner-->
35
-
<!-- class="h-12"-->
36
-
<!-- strokeWidth="5"-->
37
-
<!-- [style]="{height: '3rem', width: '3rem'}"-->
38
-
<!-- />-->
39
-
<!-- </div>-->
30
+
} @else {
31
+
<div
32
+
class="h-full w-full flex justify-center mt-16 text-4xl"
33
+
>
34
+
<spinner/>
35
+
</div>
40
36
}
41
37
</div>
+2
src/app/components/feeds/timeline-feed/timeline-feed.component.ts
+2
src/app/components/feeds/timeline-feed/timeline-feed.component.ts
···
23
23
import {FeedService} from '@services/feed.service';
24
24
import {PostCardGrandParentPipe} from '@shared/pipes/post-card-grandparent.pipe';
25
25
import {PostCardParentPipe} from '@shared/pipes/post-card-parent.pipe';
26
+
import {SpinnerComponent} from '@components/shared/spinner/spinner.component';
26
27
27
28
@Component({
28
29
selector: 'timeline-feed',
···
33
34
DividerComponent,
34
35
PostCardGrandParentPipe,
35
36
PostCardParentPipe,
37
+
SpinnerComponent,
36
38
],
37
39
templateUrl: './timeline-feed.component.html',
38
40
changeDetection: ChangeDetectionStrategy.OnPush