From 1e1265b36c09df1465aa2b4866815c957b6a532e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Nov 2017 09:31:41 +0100 Subject: [PATCH] Make the client compile too --- client/src/app/+admin/admin-routing.module.ts | 2 - client/src/app/+admin/admin.module.ts | 5 -- .../friend-add/friend-add.component.ts | 2 +- .../friend-list/friend-list.component.ts | 2 +- .../src/app/+admin/friends/friends.routes.ts | 2 +- .../+admin/friends/shared/friend.service.ts | 8 +- .../app/+admin/request-schedulers/index.ts | 4 - .../request-schedulers-stats/index.ts | 1 - .../request-schedulers-stats.component.html | 46 ----------- .../request-schedulers-stats.component.scss | 8 -- .../request-schedulers-stats.component.ts | 77 ------------------- .../request-schedulers.component.ts | 7 -- .../request-schedulers.routes.ts | 33 -------- .../+admin/request-schedulers/shared/index.ts | 2 - ...quest-schedulers-stats-attributes.model.ts | 37 --------- .../shared/request-schedulers.service.ts | 35 --------- client/src/app/core/auth/auth.service.ts | 8 +- .../app/core/menu/menu-admin.component.html | 5 -- .../src/app/core/menu/menu-admin.component.ts | 6 +- client/src/app/core/menu/menu.component.ts | 6 +- .../app/shared/search/search-field.type.ts | 2 +- .../src/app/shared/search/search.component.ts | 4 +- client/src/app/shared/users/user.model.ts | 6 +- .../+video-watch/video-watch.component.html | 4 +- .../+video-watch/video-watch.component.scss | 6 +- .../app/videos/shared/video-details.model.ts | 6 +- client/src/app/videos/shared/video.model.ts | 10 +-- .../shared/video-miniature.component.html | 2 +- .../shared/video-miniature.component.scss | 4 +- 29 files changed, 36 insertions(+), 304 deletions(-) delete mode 100644 client/src/app/+admin/request-schedulers/index.ts delete mode 100644 client/src/app/+admin/request-schedulers/request-schedulers-stats/index.ts delete mode 100644 client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.html delete mode 100644 client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.scss delete mode 100644 client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts delete mode 100644 client/src/app/+admin/request-schedulers/request-schedulers.component.ts delete mode 100644 client/src/app/+admin/request-schedulers/request-schedulers.routes.ts delete mode 100644 client/src/app/+admin/request-schedulers/shared/index.ts delete mode 100644 client/src/app/+admin/request-schedulers/shared/request-schedulers-stats-attributes.model.ts delete mode 100644 client/src/app/+admin/request-schedulers/shared/request-schedulers.service.ts diff --git a/client/src/app/+admin/admin-routing.module.ts b/client/src/app/+admin/admin-routing.module.ts index 7262768fe..88f44a811 100644 --- a/client/src/app/+admin/admin-routing.module.ts +++ b/client/src/app/+admin/admin-routing.module.ts @@ -5,7 +5,6 @@ import { MetaGuard } from '@ngx-meta/core' import { AdminComponent } from './admin.component' import { FriendsRoutes } from './friends' -import { RequestSchedulersRoutes } from './request-schedulers' import { UsersRoutes } from './users' import { VideoAbusesRoutes } from './video-abuses' import { VideoBlacklistRoutes } from './video-blacklist' @@ -23,7 +22,6 @@ const adminRoutes: Routes = [ pathMatch: 'full' }, ...FriendsRoutes, - ...RequestSchedulersRoutes, ...UsersRoutes, ...VideoAbusesRoutes, ...VideoBlacklistRoutes diff --git a/client/src/app/+admin/admin.module.ts b/client/src/app/+admin/admin.module.ts index 6c216e5d8..32f6c42a6 100644 --- a/client/src/app/+admin/admin.module.ts +++ b/client/src/app/+admin/admin.module.ts @@ -3,7 +3,6 @@ import { NgModule } from '@angular/core' import { AdminComponent } from './admin.component' import { AdminRoutingModule } from './admin-routing.module' import { FriendsComponent, FriendAddComponent, FriendListComponent, FriendService } from './friends' -import { RequestSchedulersComponent, RequestSchedulersStatsComponent, RequestSchedulersService } from './request-schedulers' import { UsersComponent, UserAddComponent, UserUpdateComponent, UserListComponent, UserService } from './users' import { VideoAbusesComponent, VideoAbuseListComponent } from './video-abuses' import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' @@ -22,9 +21,6 @@ import { SharedModule } from '../shared' FriendAddComponent, FriendListComponent, - RequestSchedulersComponent, - RequestSchedulersStatsComponent, - UsersComponent, UserAddComponent, UserUpdateComponent, @@ -43,7 +39,6 @@ import { SharedModule } from '../shared' providers: [ FriendService, - RequestSchedulersService, UserService ] }) diff --git a/client/src/app/+admin/friends/friend-add/friend-add.component.ts b/client/src/app/+admin/friends/friend-add/friend-add.component.ts index 6580e1b88..29ed23e0c 100644 --- a/client/src/app/+admin/friends/friend-add/friend-add.component.ts +++ b/client/src/app/+admin/friends/friend-add/friend-add.component.ts @@ -91,7 +91,7 @@ export class FriendAddComponent implements OnInit { res => { if (res === false) return - this.friendService.makeFriends(notEmptyHosts).subscribe( + this.friendService.follow(notEmptyHosts).subscribe( status => { this.notificationsService.success('Success', 'Make friends request sent!') // Wait requests between pods diff --git a/client/src/app/+admin/friends/friend-list/friend-list.component.ts b/client/src/app/+admin/friends/friend-list/friend-list.component.ts index 5a1ecd280..0323ae96d 100644 --- a/client/src/app/+admin/friends/friend-list/friend-list.component.ts +++ b/client/src/app/+admin/friends/friend-list/friend-list.component.ts @@ -74,7 +74,7 @@ export class FriendListComponent extends RestTable implements OnInit { } protected loadData () { - this.friendService.getFriends(this.pagination, this.sort) + this.friendService.getFollowing(this.pagination, this.sort) .subscribe( resultList => { this.friends = resultList.data diff --git a/client/src/app/+admin/friends/friends.routes.ts b/client/src/app/+admin/friends/friends.routes.ts index 61cfcae19..e2cb953b3 100644 --- a/client/src/app/+admin/friends/friends.routes.ts +++ b/client/src/app/+admin/friends/friends.routes.ts @@ -12,7 +12,7 @@ export const FriendsRoutes: Routes = [ component: FriendsComponent, canActivate: [ UserRightGuard ], data: { - userRight: UserRight.MANAGE_PODS + userRight: UserRight.MANAGE_PEERTUBE_FOLLOW }, children: [ { diff --git a/client/src/app/+admin/friends/shared/friend.service.ts b/client/src/app/+admin/friends/shared/friend.service.ts index a32cdcc88..083a2fce0 100644 --- a/client/src/app/+admin/friends/shared/friend.service.ts +++ b/client/src/app/+admin/friends/shared/friend.service.ts @@ -19,21 +19,21 @@ export class FriendService { private restExtractor: RestExtractor ) {} - getFriends (pagination: RestPagination, sort: SortMeta): Observable> { + getFollowing (pagination: RestPagination, sort: SortMeta): Observable> { let params = new HttpParams() params = this.restService.addRestGetParams(params, pagination, sort) - return this.authHttp.get>(FriendService.BASE_FRIEND_URL, { params }) + return this.authHttp.get>(API_URL + '/followers', { params }) .map(res => this.restExtractor.convertResultListDateToHuman(res)) .catch(res => this.restExtractor.handleError(res)) } - makeFriends (notEmptyHosts: String[]) { + follow (notEmptyHosts: String[]) { const body = { hosts: notEmptyHosts } - return this.authHttp.post(FriendService.BASE_FRIEND_URL + 'make-friends', body) + return this.authHttp.post(API_URL + '/follow', body) .map(this.restExtractor.extractDataBool) .catch(res => this.restExtractor.handleError(res)) } diff --git a/client/src/app/+admin/request-schedulers/index.ts b/client/src/app/+admin/request-schedulers/index.ts deleted file mode 100644 index 87b72e8c7..000000000 --- a/client/src/app/+admin/request-schedulers/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './request-schedulers-stats' -export * from './shared' -export * from './request-schedulers.component' -export * from './request-schedulers.routes' diff --git a/client/src/app/+admin/request-schedulers/request-schedulers-stats/index.ts b/client/src/app/+admin/request-schedulers/request-schedulers-stats/index.ts deleted file mode 100644 index a3323e6be..000000000 --- a/client/src/app/+admin/request-schedulers/request-schedulers-stats/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './request-schedulers-stats.component' diff --git a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.html b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.html deleted file mode 100644 index 4508ab4c2..000000000 --- a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.html +++ /dev/null @@ -1,46 +0,0 @@ -
-
- -

Requests stats

- - -
-
-
{{ statsTitles[requestSchedulerName] }}
- -
-
-
- Remaining requests: - {{ stats[requestSchedulerName].totalRequests }} -
- -
- Interval seconds between requests: - {{ stats[requestSchedulerName].secondsInterval }} -
- -
- Remaining time before the scheduled request: - {{ stats[requestSchedulerName].remainingSeconds }} -
-
- -
-
- Maximum number of different pods for a scheduled request: - {{ stats[requestSchedulerName].requestsLimitPods }} -
- -
- Maximum number of requests per pod for a scheduled request: - {{ stats[requestSchedulerName].requestsLimitPerPod }} -
-
-
-
-
-
- -
-
diff --git a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.scss b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.scss deleted file mode 100644 index b2c413259..000000000 --- a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.scss +++ /dev/null @@ -1,8 +0,0 @@ -.label-description { - font-weight: bold; - color: black; -} - -.requests-limit { - margin-top: 20px; -} diff --git a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts deleted file mode 100644 index 1654827ab..000000000 --- a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { Component, OnInit, OnDestroy } from '@angular/core' - -import { NotificationsService } from 'angular2-notifications' - -import { RequestSchedulersService, RequestSchedulerStatsAttributes } from '../shared' -import { RequestSchedulerStats } from '../../../../../../shared' - -@Component({ - selector: 'my-request-schedulers-stats', - templateUrl: './request-schedulers-stats.component.html', - styleUrls: [ './request-schedulers-stats.component.scss' ] -}) -export class RequestSchedulersStatsComponent implements OnInit, OnDestroy { - statsTitles = { - requestScheduler: 'Basic request scheduler', - requestVideoEventScheduler: 'Video events request scheduler', - requestVideoQaduScheduler: 'Quick and dirty video updates request scheduler' - } - - stats: RequestSchedulerStats - - private intervals: { [ id: string ]: number } = { - requestScheduler: null, - requestVideoEventScheduler: null, - requestVideoQaduScheduler: null - } - - private timeouts: { [ id: string ]: number } = { - requestScheduler: null, - requestVideoEventScheduler: null, - requestVideoQaduScheduler: null - } - - constructor ( - private notificationsService: NotificationsService, - private requestService: RequestSchedulersService - ) { } - - ngOnInit () { - this.getStats() - this.runIntervals() - } - - ngOnDestroy () { - Object.keys(this.stats).forEach(requestSchedulerName => { - if (this.intervals[requestSchedulerName] !== null) { - window.clearInterval(this.intervals[requestSchedulerName]) - } - - if (this.timeouts[requestSchedulerName] !== null) { - window.clearTimeout(this.timeouts[requestSchedulerName]) - } - }) - } - - getStats () { - this.requestService.getStats().subscribe( - stats => this.stats = stats, - - err => this.notificationsService.error('Error', err.message) - ) - } - - private runIntervals () { - Object.keys(this.intervals).forEach(requestSchedulerName => { - this.intervals[requestSchedulerName] = window.setInterval(() => { - const stats: RequestSchedulerStatsAttributes = this.stats[requestSchedulerName] - - stats.remainingMilliSeconds -= 1000 - - if (stats.remainingMilliSeconds <= 0) { - this.timeouts[requestSchedulerName] = window.setTimeout(() => this.getStats(), stats.remainingMilliSeconds + 100) - } - }, 1000) - }) - } -} diff --git a/client/src/app/+admin/request-schedulers/request-schedulers.component.ts b/client/src/app/+admin/request-schedulers/request-schedulers.component.ts deleted file mode 100644 index 5444d6ea5..000000000 --- a/client/src/app/+admin/request-schedulers/request-schedulers.component.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Component } from '@angular/core' - -@Component({ - template: '' -}) -export class RequestSchedulersComponent { -} diff --git a/client/src/app/+admin/request-schedulers/request-schedulers.routes.ts b/client/src/app/+admin/request-schedulers/request-schedulers.routes.ts deleted file mode 100644 index c2564de15..000000000 --- a/client/src/app/+admin/request-schedulers/request-schedulers.routes.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Routes } from '@angular/router' - -import { UserRightGuard } from '../../core' -import { UserRight } from '../../../../../shared' -import { RequestSchedulersComponent } from './request-schedulers.component' -import { RequestSchedulersStatsComponent } from './request-schedulers-stats' - -export const RequestSchedulersRoutes: Routes = [ - { - path: 'requests', - component: RequestSchedulersComponent, - canActivate: [ UserRightGuard ], - data: { - userRight: UserRight.MANAGE_REQUEST_SCHEDULERS - }, - children: [ - { - path: '', - redirectTo: 'stats', - pathMatch: 'full' - }, - { - path: 'stats', - component: RequestSchedulersStatsComponent, - data: { - meta: { - title: 'Request stats' - } - } - } - ] - } -] diff --git a/client/src/app/+admin/request-schedulers/shared/index.ts b/client/src/app/+admin/request-schedulers/shared/index.ts deleted file mode 100644 index 1a0174409..000000000 --- a/client/src/app/+admin/request-schedulers/shared/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './request-schedulers-stats-attributes.model' -export * from './request-schedulers.service' diff --git a/client/src/app/+admin/request-schedulers/shared/request-schedulers-stats-attributes.model.ts b/client/src/app/+admin/request-schedulers/shared/request-schedulers-stats-attributes.model.ts deleted file mode 100644 index c4abf3d4d..000000000 --- a/client/src/app/+admin/request-schedulers/shared/request-schedulers-stats-attributes.model.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { RequestSchedulerStatsAttributes as FormattedRequestSchedulerStatsAttributes } from '../../../../../../shared' - -export interface Request { - request: any - to: any -} - -export class RequestSchedulerStatsAttributes implements FormattedRequestSchedulerStatsAttributes { - requestsLimitPods: number - requestsLimitPerPod: number - milliSecondsInterval: number - remainingMilliSeconds: number - totalRequests: number - - constructor (hash: { - requestsLimitPods: number, - requestsLimitPerPod: number, - milliSecondsInterval: number, - remainingMilliSeconds: number, - totalRequests: number - }) { - this.requestsLimitPods = hash.requestsLimitPods - this.requestsLimitPerPod = hash.requestsLimitPerPod - this.milliSecondsInterval = hash.milliSecondsInterval - this.remainingMilliSeconds = hash.remainingMilliSeconds - this.totalRequests = hash.totalRequests - } - - get remainingSeconds () { - return Math.floor(this.remainingMilliSeconds / 1000) - } - - get secondsInterva () { - return Math.floor(this.milliSecondsInterval / 1000) - } - -} diff --git a/client/src/app/+admin/request-schedulers/shared/request-schedulers.service.ts b/client/src/app/+admin/request-schedulers/shared/request-schedulers.service.ts deleted file mode 100644 index 44d9cbc3e..000000000 --- a/client/src/app/+admin/request-schedulers/shared/request-schedulers.service.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Injectable } from '@angular/core' -import { HttpClient } from '@angular/common/http' -import { Observable } from 'rxjs/Observable' -import 'rxjs/add/operator/catch' -import 'rxjs/add/operator/map' - -import { RequestSchedulerStats } from '../../../../../../shared' -import { RestExtractor } from '../../../shared' -import { RequestSchedulerStatsAttributes } from './request-schedulers-stats-attributes.model' - -@Injectable() -export class RequestSchedulersService { - private static BASE_REQUEST_URL = API_URL + '/api/v1/request-schedulers/' - - constructor ( - private authHttp: HttpClient, - private restExtractor: RestExtractor - ) {} - - getStats () { - return this.authHttp.get(RequestSchedulersService.BASE_REQUEST_URL + 'stats') - .map(res => this.buildRequestObjects(res)) - .catch(res => this.restExtractor.handleError(res)) - } - - private buildRequestObjects (data: RequestSchedulerStats) { - const requestSchedulers: { [ id: string ]: RequestSchedulerStatsAttributes } = {} - - Object.keys(data).forEach(requestSchedulerName => { - requestSchedulers[requestSchedulerName] = new RequestSchedulerStatsAttributes(data[requestSchedulerName]) - }) - - return requestSchedulers - } -} diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index 913c857e3..0aa276c69 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts @@ -42,7 +42,7 @@ interface UserLoginWithUserInformation extends UserLogin { displayNSFW: boolean email: string videoQuota: number - author: { + account: { id: number uuid: string } @@ -208,7 +208,7 @@ export class AuthService { this.user.displayNSFW = res.displayNSFW this.user.role = res.role this.user.videoChannels = res.videoChannels - this.user.author = res.author + this.user.account = res.account this.user.save() } @@ -227,7 +227,7 @@ export class AuthService { displayNSFW: res.displayNSFW, email: res.email, videoQuota: res.videoQuota, - author: res.author, + account: res.account, videoChannels: res.videoChannels } @@ -245,7 +245,7 @@ export class AuthService { displayNSFW: obj.displayNSFW, videoQuota: obj.videoQuota, videoChannels: obj.videoChannels, - author: obj.author + account: obj.account } const hashTokens = { accessToken: obj.access_token, diff --git a/client/src/app/core/menu/menu-admin.component.html b/client/src/app/core/menu/menu-admin.component.html index c2b2958b4..1966a944c 100644 --- a/client/src/app/core/menu/menu-admin.component.html +++ b/client/src/app/core/menu/menu-admin.component.html @@ -10,11 +10,6 @@ List friends - - - Request stats - - Video abuses diff --git a/client/src/app/core/menu/menu-admin.component.ts b/client/src/app/core/menu/menu-admin.component.ts index 074f1dbaf..92aab9a05 100644 --- a/client/src/app/core/menu/menu-admin.component.ts +++ b/client/src/app/core/menu/menu-admin.component.ts @@ -16,11 +16,7 @@ export class MenuAdminComponent { } hasFriendsRight () { - return this.auth.getUser().hasRight(UserRight.MANAGE_PODS) - } - - hasRequestsStatRight () { - return this.auth.getUser().hasRight(UserRight.MANAGE_REQUEST_SCHEDULERS) + return this.auth.getUser().hasRight(UserRight.MANAGE_PEERTUBE_FOLLOW) } hasVideoAbusesRight () { diff --git a/client/src/app/core/menu/menu.component.ts b/client/src/app/core/menu/menu.component.ts index c66a5eccc..71295be86 100644 --- a/client/src/app/core/menu/menu.component.ts +++ b/client/src/app/core/menu/menu.component.ts @@ -16,8 +16,7 @@ export class MenuComponent implements OnInit { private routesPerRight = { [UserRight.MANAGE_USERS]: '/admin/users', - [UserRight.MANAGE_PODS]: '/admin/friends', - [UserRight.MANAGE_REQUEST_SCHEDULERS]: '/admin/requests/stats', + [UserRight.MANAGE_PEERTUBE_FOLLOW]: '/admin/friends', [UserRight.MANAGE_VIDEO_ABUSES]: '/admin/video-abuses', [UserRight.MANAGE_VIDEO_BLACKLIST]: '/admin/video-blacklist' } @@ -59,8 +58,7 @@ export class MenuComponent implements OnInit { const adminRights = [ UserRight.MANAGE_USERS, - UserRight.MANAGE_PODS, - UserRight.MANAGE_REQUEST_SCHEDULERS, + UserRight.MANAGE_PEERTUBE_FOLLOW, UserRight.MANAGE_VIDEO_ABUSES, UserRight.MANAGE_VIDEO_BLACKLIST ] diff --git a/client/src/app/shared/search/search-field.type.ts b/client/src/app/shared/search/search-field.type.ts index ff0bb8de1..7323d6cc3 100644 --- a/client/src/app/shared/search/search-field.type.ts +++ b/client/src/app/shared/search/search-field.type.ts @@ -1 +1 @@ -export type SearchField = 'name' | 'author' | 'host' | 'tags' +export type SearchField = 'name' | 'account' | 'host' | 'tags' diff --git a/client/src/app/shared/search/search.component.ts b/client/src/app/shared/search/search.component.ts index 6e2827fe3..6ef19c97a 100644 --- a/client/src/app/shared/search/search.component.ts +++ b/client/src/app/shared/search/search.component.ts @@ -14,8 +14,8 @@ import { SearchService } from './search.service' export class SearchComponent implements OnInit { fieldChoices = { name: 'Name', - author: 'Author', - host: 'Pod Host', + account: 'Account', + host: 'Host', tags: 'Tags' } searchCriteria: Search = { diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.ts index d738899ab..b075ab717 100644 --- a/client/src/app/shared/users/user.model.ts +++ b/client/src/app/shared/users/user.model.ts @@ -14,7 +14,7 @@ export type UserConstructorHash = { videoQuota?: number, displayNSFW?: boolean, createdAt?: Date, - author?: { + account?: { id: number uuid: string }, @@ -27,7 +27,7 @@ export class User implements UserServerModel { role: UserRole displayNSFW: boolean videoQuota: number - author: { + account: { id: number uuid: string } @@ -39,7 +39,7 @@ export class User implements UserServerModel { this.username = hash.username this.email = hash.email this.role = hash.role - this.author = hash.author + this.account = hash.account if (hash.videoChannels !== undefined) { this.videoChannels = hash.videoChannels diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 0bab18d37..ee7bbec74 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -42,8 +42,8 @@
-
- + - {{ video.by }} + {{ video.createdAt | date:'short' }}
diff --git a/client/src/app/videos/video-list/shared/video-miniature.component.scss b/client/src/app/videos/video-list/shared/video-miniature.component.scss index e2602d3b6..507ace098 100644 --- a/client/src/app/videos/video-list/shared/video-miniature.component.scss +++ b/client/src/app/videos/video-list/shared/video-miniature.component.scss @@ -81,7 +81,7 @@ } } - .video-miniature-author, .video-miniature-created-at { + .video-miniature-account, .video-miniature-created-at { display: block; margin-left: 1px; font-size: 11px; @@ -89,7 +89,7 @@ opacity: 0.9; } - .video-miniature-author { + .video-miniature-account { transition: color 0.2s; &:hover { -- 2.25.1