diff --git a/springwolf-ui/src/app/components/new/channels/channel-main/channel-operation.component.spec.ts b/springwolf-ui/src/app/components/channels/channel-main/channel-operation.component.spec.ts
similarity index 82%
rename from springwolf-ui/src/app/components/new/channels/channel-main/channel-operation.component.spec.ts
rename to springwolf-ui/src/app/components/channels/channel-main/channel-operation.component.spec.ts
index bb239b5e4..24d1a6266 100644
--- a/springwolf-ui/src/app/components/new/channels/channel-main/channel-operation.component.spec.ts
+++ b/springwolf-ui/src/app/components/channels/channel-main/channel-operation.component.spec.ts
@@ -1,19 +1,19 @@
/* SPDX-License-Identifier: Apache-2.0 */
import { render, screen } from "@testing-library/angular";
import { ChannelOperationComponent } from "./channel-operation.component";
-import { AsyncApiService } from "../../../../service/asyncapi/asyncapi.service";
-import { PublisherService } from "../../../../service/publisher.service";
-import { MaterialModule } from "../../../../material.module";
+import { AsyncApiService } from "../../../service/asyncapi/asyncapi.service";
+import { PublisherService } from "../../../service/publisher.service";
+import { MaterialModule } from "../../../material.module";
import { MarkdownModule } from "ngx-markdown";
import {
mockedAsyncApiService,
mockedExampleSchemaMapped,
-} from "../../../../service/mock/mock-asyncapi.service";
+} from "../../../service/mock/mock-asyncapi.service";
import {
MockAppJson,
MockAppSchemaNewComponent,
MockPrismEditorComponent,
-} from "../../../mock-components.spec";
+} from "../../mock-components.spec";
describe("ChannelOperationComponent", () => {
const mockData = mockedExampleSchemaMapped.channelOperations
diff --git a/springwolf-ui/src/app/components/new/channels/channel-main/channel-operation.component.ts b/springwolf-ui/src/app/components/channels/channel-main/channel-operation.component.ts
similarity index 90%
rename from springwolf-ui/src/app/components/new/channels/channel-main/channel-operation.component.ts
rename to springwolf-ui/src/app/components/channels/channel-main/channel-operation.component.ts
index e48d7e92d..d20193e6d 100644
--- a/springwolf-ui/src/app/components/new/channels/channel-main/channel-operation.component.ts
+++ b/springwolf-ui/src/app/components/channels/channel-main/channel-operation.component.ts
@@ -2,19 +2,19 @@
import { Component, input, computed, OnInit } from "@angular/core";
import { MatSnackBar } from "@angular/material/snack-bar";
import { STATUS } from "angular-in-memory-web-api";
-import { Binding } from "../../../../models/bindings.model";
-import { Example } from "../../../../models/example.model";
-import { Operation } from "../../../../models/operation.model";
-import { Schema } from "../../../../models/schema.model";
-import { AsyncApiService } from "../../../../service/asyncapi/asyncapi.service";
-import { PublisherService } from "../../../../service/publisher.service";
-import { wrapException } from "../../../../util/error-boundary";
+import { Binding } from "../../../models/bindings.model";
+import { Example } from "../../../models/example.model";
+import { Operation } from "../../../models/operation.model";
+import { Schema } from "../../../models/schema.model";
+import { AsyncApiService } from "../../../service/asyncapi/asyncapi.service";
+import { PublisherService } from "../../../service/publisher.service";
+import { wrapException } from "../../../util/error-boundary";
import {
initExample,
initSchema,
noExample,
-} from "../../../../service/mock/init-values";
-import { UiService } from "../../../../service/ui.service";
+} from "../../../service/mock/init-values";
+import { UiService } from "../../../service/ui.service";
@Component({
selector: "app-channel-operation",
diff --git a/springwolf-ui/src/app/components/channels/channels.component.css b/springwolf-ui/src/app/components/channels/channels.component.css
index 7c9944f67..08b6a033d 100644
--- a/springwolf-ui/src/app/components/channels/channels.component.css
+++ b/springwolf-ui/src/app/components/channels/channels.component.css
@@ -1,33 +1,22 @@
/* SPDX-License-Identifier: Apache-2.0 */
.badge {
border-radius: 4px;
- padding: 8px;
- font-size: small;
- font-weight: bold;
- display: inline-block;
-}
-
-.send-badge {
- background-color: #ffd580;
-}
-
-.receive-badge {
- background-color: #9bd279;
+ padding: 0.3em;
+ font-size: smaller;
+ text-transform: uppercase;
}
.protocol-badge {
- background-color: #347aeb;
- color: #fff;
+ color: var(--springwolf-badge-color-protocol);
+ background-color: var(--springwolf-badge-color-background-protocol);
}
-mat-divider {
- height: 20px;
+.send-badge {
+ color: var(--springwolf-badge-color-send);
+ background-color: var(--springwolf-badge-color-background-send);
}
-.payload-name {
- background-color: #e0e0e0;
- border-radius: 4px;
- padding: 4px;
- font-weight: normal;
- font-size: small;
+.receive-badge {
+ color: var(--springwolf-badge-color-receive);
+ background-color: var(--springwolf-badge-color-background-receive);
}
diff --git a/springwolf-ui/src/app/components/channels/channels.component.html b/springwolf-ui/src/app/components/channels/channels.component.html
index 6a2abb633..b213b6100 100644
--- a/springwolf-ui/src/app/components/channels/channels.component.html
+++ b/springwolf-ui/src/app/components/channels/channels.component.html
@@ -1,36 +1,65 @@
-
Channels
+
Channels
+@for (channel of channels; track channel) {
+
+ {{ channel.name }}
-
-
+
+
Channel Binding
+
+
+
+
+ @for (channelOperation of channel.operations; track channelOperation) {
+