From 2e7f262724dd64a209e0bad5930ba29bb4f801c3 Mon Sep 17 00:00:00 2001 From: Kim <1877318+kimsible@users.noreply.github.com> Date: Fri, 24 Jul 2020 08:53:25 +0200 Subject: Display user quota progress bars above upload form (#2981) * Move user-quota to my-user-quota shared component * Add user-quota to upload form * Increase progress bar height and make it focusable * Correct syntax parenthesis * Add explicit title to user-quota bars + tooltip with quota values * Hide user-quota in second upload step * Customize focus styles on user-quota Co-authored-by: kimsible --- client/src/app/shared/shared-main/shared-main.module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/src/app/shared/shared-main/shared-main.module.ts') diff --git a/client/src/app/shared/shared-main/shared-main.module.ts b/client/src/app/shared/shared-main/shared-main.module.ts index 732914e34..22a207e51 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -26,7 +26,7 @@ import { DateToggleComponent } from './date' import { FeedComponent } from './feeds' import { LoaderComponent, SmallLoaderComponent } from './loaders' import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent } from './misc' -import { UserHistoryService, UserNotificationsComponent, UserNotificationService } from './users' +import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users' import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' import { VideoCaptionService } from './video-caption' import { VideoChannelService } from './video-channel' @@ -83,6 +83,7 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' ListOverflowComponent, TopMenuDropdownComponent, + UserQuotaComponent, UserNotificationsComponent ], @@ -132,6 +133,7 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' ListOverflowComponent, TopMenuDropdownComponent, + UserQuotaComponent, UserNotificationsComponent ], -- cgit v1.2.3