chore: Performance improvements on the TV Details page

pull/5085/head
Jamie 10 months ago committed by GitHub
parent 6d6890d0dd
commit 43fe449e32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,18 @@
module.exports = {
...require('@exclaimer/prettier-config'),
overrides: [
{
files: ['*.yaml', '*.yml'],
options: {
tabWidth: 2,
singleQuote: false,
},
},
{
files: 'index.html',
options: {
parser: 'html',
},
},
],
};

@ -192,7 +192,13 @@
</div>
<div class="col-12 col-md-10">
@defer {
<tv-request-grid id="requests-grid" [tvRequest]="tvRequest" [isAdmin]="isAdmin" [tv]="tv"></tv-request-grid>
} @placeholder {
<div class="loading-spinner">
<mat-spinner [color]="'accent'"></mat-spinner>
</div>
}
</div>
<div class="col-12 col-md-2">
@ -210,11 +216,17 @@
</mat-panel-title>
</mat-expansion-panel-header>
@defer (on viewport) {
<tv-requests-panel
[tvRequest]="tvRequest"
[isAdmin]="isAdmin"
[manageOwnRequests]="manageOwnRequests"
></tv-requests-panel>
} @placeholder {
<div class="loading-spinner">
<mat-spinner [color]="'accent'"></mat-spinner>
</div>
}
</mat-expansion-panel>
</mat-accordion>
</div>

Loading…
Cancel
Save