From f0e182396da4a324da9bf606ccf99356d389f37f Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Tue, 11 Sep 2018 00:35:19 -0400 Subject: [PATCH] name refactoring and better column selection links (wider) --- src/app/app.module.ts | 4 +- .../columns-editor.component.html | 4 +- .../columns-editor.component.ts | 20 ++++----- .../streams-selection-footer.component.html | 4 +- .../streams-selection-footer.component.scss | 18 +++++--- .../streams-selection-footer.component.ts | 12 ++--- src/app/models/stream.models.ts | 2 +- .../streams-main-display.component.ts | 16 +++---- src/app/states/panels.state.ts | 44 ------------------- src/app/states/streams.state.ts | 44 +++++++++++++++++++ 10 files changed, 86 insertions(+), 82 deletions(-) delete mode 100644 src/app/states/panels.state.ts create mode 100644 src/app/states/streams.state.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 8cb4b59f..039d66b0 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -27,7 +27,7 @@ import { NavigationService } from "./services/navigation.service"; import { FloatingColumnComponent } from './components/floating-column/floating-column.component'; import { ColumnsEditorComponent } from './components/floating-column/columns-editor/columns-editor.component'; import { MessageEditorComponent } from './components/floating-column/message-editor/message-editor.component'; -import { ColumnsState } from "./states/panels.state"; +import { StreamsState } from "./states/streams.state"; const routes: Routes = [ { path: "", redirectTo: "home", pathMatch: "full" }, @@ -61,7 +61,7 @@ const routes: Routes = [ NgxsModule.forRoot([ RegisteredAppsState, AccountsState, - ColumnsState + StreamsState ]), NgxsStoragePluginModule.forRoot() ], diff --git a/src/app/components/floating-column/columns-editor/columns-editor.component.html b/src/app/components/floating-column/columns-editor/columns-editor.component.html index 7152328a..844da6ca 100644 --- a/src/app/components/floating-column/columns-editor/columns-editor.component.html +++ b/src/app/components/floating-column/columns-editor/columns-editor.component.html @@ -1,8 +1,8 @@

adding columns from: {{ username }}

- - {{ col.name }} + + {{ stream.name }}