From 32d98b79ed678e90e5eeeb4212eccc5a7ecd8d52 Mon Sep 17 00:00:00 2001 From: Cathy Hu Date: Sat, 5 Sep 2020 02:14:22 +0200 Subject: [PATCH] [frontend] Move Email dialogs into email settings folder --- .../email-dialog/email-dialog.component.html | 0 .../email-dialog/email-dialog.component.scss | 0 .../email-dialog/email-dialog.component.spec.ts | 0 .../email-dialog/email-dialog.component.ts | 0 .../email-info-dialog/email-info-dialog.component.html | 0 .../email-info-dialog/email-info-dialog.component.scss | 0 .../email-info-dialog/email-info-dialog.component.ts | 0 .../email/email-settings/email-settings.component.ts | 4 ++-- kibicara-frontend/src/app/platforms/platforms.module.ts | 4 ++-- 9 files changed, 4 insertions(+), 4 deletions(-) rename kibicara-frontend/src/app/platforms/email/{ => email-settings}/email-dialog/email-dialog.component.html (100%) rename kibicara-frontend/src/app/platforms/email/{ => email-settings}/email-dialog/email-dialog.component.scss (100%) rename kibicara-frontend/src/app/platforms/email/{ => email-settings}/email-dialog/email-dialog.component.spec.ts (100%) rename kibicara-frontend/src/app/platforms/email/{ => email-settings}/email-dialog/email-dialog.component.ts (100%) rename kibicara-frontend/src/app/platforms/email/{ => email-settings}/email-info-dialog/email-info-dialog.component.html (100%) rename kibicara-frontend/src/app/platforms/email/{ => email-settings}/email-info-dialog/email-info-dialog.component.scss (100%) rename kibicara-frontend/src/app/platforms/email/{ => email-settings}/email-info-dialog/email-info-dialog.component.ts (100%) diff --git a/kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.html b/kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.html similarity index 100% rename from kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.html rename to kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.html diff --git a/kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.scss b/kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.scss similarity index 100% rename from kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.scss rename to kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.scss diff --git a/kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.spec.ts b/kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.spec.ts similarity index 100% rename from kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.spec.ts rename to kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.spec.ts diff --git a/kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.ts b/kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.ts similarity index 100% rename from kibicara-frontend/src/app/platforms/email/email-dialog/email-dialog.component.ts rename to kibicara-frontend/src/app/platforms/email/email-settings/email-dialog/email-dialog.component.ts diff --git a/kibicara-frontend/src/app/platforms/email/email-info-dialog/email-info-dialog.component.html b/kibicara-frontend/src/app/platforms/email/email-settings/email-info-dialog/email-info-dialog.component.html similarity index 100% rename from kibicara-frontend/src/app/platforms/email/email-info-dialog/email-info-dialog.component.html rename to kibicara-frontend/src/app/platforms/email/email-settings/email-info-dialog/email-info-dialog.component.html diff --git a/kibicara-frontend/src/app/platforms/email/email-info-dialog/email-info-dialog.component.scss b/kibicara-frontend/src/app/platforms/email/email-settings/email-info-dialog/email-info-dialog.component.scss similarity index 100% rename from kibicara-frontend/src/app/platforms/email/email-info-dialog/email-info-dialog.component.scss rename to kibicara-frontend/src/app/platforms/email/email-settings/email-info-dialog/email-info-dialog.component.scss diff --git a/kibicara-frontend/src/app/platforms/email/email-info-dialog/email-info-dialog.component.ts b/kibicara-frontend/src/app/platforms/email/email-settings/email-info-dialog/email-info-dialog.component.ts similarity index 100% rename from kibicara-frontend/src/app/platforms/email/email-info-dialog/email-info-dialog.component.ts rename to kibicara-frontend/src/app/platforms/email/email-settings/email-info-dialog/email-info-dialog.component.ts diff --git a/kibicara-frontend/src/app/platforms/email/email-settings/email-settings.component.ts b/kibicara-frontend/src/app/platforms/email/email-settings/email-settings.component.ts index 5927b91..58cafd2 100644 --- a/kibicara-frontend/src/app/platforms/email/email-settings/email-settings.component.ts +++ b/kibicara-frontend/src/app/platforms/email/email-settings/email-settings.component.ts @@ -2,8 +2,8 @@ import { Component, OnInit, Input } from '@angular/core'; import { Observable } from 'rxjs/internal/Observable'; import { EmailService, HoodsService } from 'src/app/core/api'; import { MatDialog } from '@angular/material/dialog'; -import { EmailDialogComponent } from '../email-dialog/email-dialog.component'; -import { EmailInfoDialogComponent } from '../email-info-dialog/email-info-dialog.component'; +import { EmailDialogComponent } from './email-dialog/email-dialog.component'; +import { EmailInfoDialogComponent } from './email-info-dialog/email-info-dialog.component'; import { BotStatus } from '../../../core/model/status'; import { MatSnackBar } from '@angular/material/snack-bar'; import { environment } from 'src/environments/environment'; diff --git a/kibicara-frontend/src/app/platforms/platforms.module.ts b/kibicara-frontend/src/app/platforms/platforms.module.ts index ec8892c..9835be6 100644 --- a/kibicara-frontend/src/app/platforms/platforms.module.ts +++ b/kibicara-frontend/src/app/platforms/platforms.module.ts @@ -4,8 +4,8 @@ import { TelegramSettingsComponent } from './telegram/telegram-settings/telegram import { SharedModule } from '../shared/shared.module'; import { TwitterSettingsComponent } from './twitter/twitter-settings/twitter-settings.component'; import { EmailSettingsComponent } from './email/email-settings/email-settings.component'; -import { EmailDialogComponent } from './email/email-dialog/email-dialog.component'; -import { EmailInfoDialogComponent } from './email/email-info-dialog/email-info-dialog.component'; +import { EmailDialogComponent } from './email/email-settings/email-dialog/email-dialog.component'; +import { EmailInfoDialogComponent } from './email/email-settings/email-info-dialog/email-info-dialog.component'; import { TelegramInfoDialogComponent } from './telegram/telegram-info-dialog/telegram-info-dialog.component'; import { TelegramDialogComponent } from './telegram/telegram-dialog/telegram-dialog.component'; import { TwitterInfoDialogComponent } from './twitter/twitter-info-dialog/twitter-info-dialog.component';