diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 1deee0f25..6eab387ea 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -217,6 +217,8 @@ session-recording: connection: title: Connection title_plural: Connections + channels-by-connection: + title: Channels by connection channel: title: Channel title_plural: Channels diff --git a/ui/admin/app/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection.js b/ui/admin/app/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection.js new file mode 100644 index 000000000..a16cea405 --- /dev/null +++ b/ui/admin/app/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection.js @@ -0,0 +1,18 @@ +import Controller from '@ember/controller'; +import { inject as service } from '@ember/service'; + +export default class ScopesScopeSessionRecordingsSessionRecordingChannelsByConnectionController extends Controller { + // =services + + @service intl; + + // =attributes + /** + * Translated breadcrumb + */ + get breadCrumb() { + return this.intl.t( + 'resources.session-recording.channels-by-connection.title' + ); + } +} diff --git a/ui/admin/tests/unit/controllers/scopes/scope/session-recordings-test.js b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings-test.js index 94159166b..99bb09ace 100644 --- a/ui/admin/tests/unit/controllers/scopes/scope/session-recordings-test.js +++ b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings-test.js @@ -1,7 +1,7 @@ import { module, test } from 'qunit'; import { setupTest } from 'admin/tests/helpers'; -module('Unit | Controller | scopes/scope/session-recordings', function (hooks) { +module('Unit | Controller | session-recordings', function (hooks) { setupTest(hooks); test('it exists', function (assert) { diff --git a/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording-test.js b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording-test.js index 9c6be4531..842723c89 100644 --- a/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording-test.js +++ b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording-test.js @@ -2,7 +2,7 @@ import { module, test } from 'qunit'; import { setupTest } from 'admin/tests/helpers'; module( - 'Unit | Controller | scopes/scope/session-recordings/session-recording', + 'Unit | Controller | session-recordings | session-recording', function (hooks) { setupTest(hooks); diff --git a/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection-test.js b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection-test.js new file mode 100644 index 000000000..4e0d89aaa --- /dev/null +++ b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection-test.js @@ -0,0 +1,16 @@ +import { module, test } from 'qunit'; +import { setupTest } from 'admin/tests/helpers'; + +module( + 'Unit | Controller | session-recordings | session-recording | channels-by-connection', + function (hooks) { + setupTest(hooks); + + test('it exists', function (assert) { + let controller = this.owner.lookup( + 'controller:scopes/scope/session-recordings/session-recording/channels-by-connection' + ); + assert.ok(controller); + }); + } +); diff --git a/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection/channel-test.js b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection/channel-test.js index 0c68630bc..4841bc908 100644 --- a/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection/channel-test.js +++ b/ui/admin/tests/unit/controllers/scopes/scope/session-recordings/session-recording/channels-by-connection/channel-test.js @@ -2,7 +2,7 @@ import { module, test } from 'qunit'; import { setupTest } from 'admin/tests/helpers'; module( - 'Unit | Controller | scopes/scope/session-recordings/session-recording/channels-by-connection/channel', + 'Unit | Controller | session-recordings | session-recording | channels-by-connection | channel', function (hooks) { setupTest(hooks);