More riot->element renaming

This commit is contained in:
Travis Ralston 2021-12-01 12:43:22 -07:00
parent 739f7088a2
commit f0a79bad32
11 changed files with 15 additions and 15 deletions

View File

@ -10,10 +10,10 @@ import { BrowserModule } from "@angular/platform-browser";
import { AppComponent } from "./app.component";
import { HomeComponent } from "./home/home.component";
import { createNewHosts, removeNgStyles } from "@angularclass/hmr";
import { RiotComponent } from "./riot/riot.component";
import { ElementComponent } from "./element/element.component";
import { ScalarClientApiService } from "./shared/services/scalar/scalar-client-api.service";
import { ToasterModule, ToasterService } from "angular2-toaster";
import { ScalarCloseComponent } from "./riot/scalar-close/scalar-close.component";
import { ScalarCloseComponent } from "./element/scalar-close/scalar-close.component";
import { GenericWidgetWrapperComponent } from "./widget-wrappers/generic/generic.component";
import { ToggleFullscreenDirective } from "./shared/directives/toggle-fullscreen.directive";
import { FullscreenButtonComponent } from "./elements/fullscreen-button/fullscreen-button.component";
@ -22,7 +22,7 @@ import { JitsiWidgetWrapperComponent } from "./widget-wrappers/jitsi/jitsi.compo
import { GCalWidgetWrapperComponent } from "./widget-wrappers/gcal/gcal.component";
import { PageHeaderComponent } from "./page-header/page-header.component";
import { SpinnerComponent } from "./elements/spinner/spinner.component";
import { RiotHomeComponent } from "./riot/riot-home/home.component";
import { ElementHomeComponent } from "./element/element-home/home.component";
import { IntegrationBagComponent } from "./integration-bag/integration-bag.component";
import { ScalarServerApiService } from "./shared/services/scalar/scalar-server-api.service";
import { AdminApiService } from "./shared/services/admin/admin-api.service";
@ -173,7 +173,7 @@ export function HttpLoaderFactory(http: HttpClient) {
declarations: [
AppComponent,
HomeComponent,
RiotComponent,
ElementComponent,
IntegrationBagComponent,
PageHeaderComponent,
SpinnerComponent,
@ -186,7 +186,7 @@ export function HttpLoaderFactory(http: HttpClient) {
BigBlueButtonWidgetWrapperComponent,
GCalWidgetWrapperComponent,
BigBlueButtonConfigComponent,
RiotHomeComponent,
ElementHomeComponent,
IboxComponent,
ConfigScreenWidgetComponent,
CustomWidgetConfigComponent,

View File

@ -1,13 +1,13 @@
import { RouterModule, Routes } from "@angular/router";
import { HomeComponent } from "./home/home.component";
import { RiotComponent } from "./riot/riot.component";
import { ElementComponent } from "./element/element.component";
import { GenericWidgetWrapperComponent } from "./widget-wrappers/generic/generic.component";
import { BigBlueButtonWidgetWrapperComponent } from "./widget-wrappers/bigbluebutton/bigbluebutton.component";
import { BigBlueButtonConfigComponent } from "./configs/widget/bigbluebutton/bigbluebutton.widget.component";
import { VideoWidgetWrapperComponent } from "./widget-wrappers/video/video.component";
import { JitsiWidgetWrapperComponent } from "./widget-wrappers/jitsi/jitsi.component";
import { GCalWidgetWrapperComponent } from "./widget-wrappers/gcal/gcal.component";
import { RiotHomeComponent } from "./riot/riot-home/home.component";
import { ElementHomeComponent } from "./element/element-home/home.component";
import { CustomWidgetConfigComponent } from "./configs/widget/custom/custom.widget.component";
import { EtherpadWidgetConfigComponent } from "./configs/widget/etherpad/etherpad.widget.component";
import { GoogleCalendarWidgetConfigComponent } from "./configs/widget/google-calendar/gcal.widget.component";
@ -61,12 +61,12 @@ const routes: Routes = [
{path: "element", pathMatch: "full", redirectTo: "riot-app", data: {breadcrumb: "Home", name: "Dimension"}},
{
path: "riot-app",
component: RiotComponent,
component: ElementComponent,
data: {breadcrumb: "Home", name: "Dimension"},
children: [
{
path: "",
component: RiotHomeComponent,
component: ElementHomeComponent,
},
{
path: "admin",

View File

@ -21,11 +21,11 @@ const CATEGORY_MAP = {
};
@Component({
selector: "my-riot-home",
selector: "my-element-home",
templateUrl: "./home.component.html",
styleUrls: ["./home.component.scss"],
})
export class RiotHomeComponent {
export class ElementHomeComponent {
public isLoading = true;
public isError = false;
public errorMessage: string;

View File

@ -2,11 +2,11 @@ import { Component } from "@angular/core";
import { SessionStorage } from "../shared/SessionStorage";
@Component({
selector: "my-riot",
templateUrl: "./riot.component.html",
styleUrls: ["./riot.component.scss"],
selector: "my-element",
templateUrl: "./element.component.html",
styleUrls: ["./element.component.scss"],
})
export class RiotComponent {
export class ElementComponent {
constructor() {}
public isAdmin(): boolean {