diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 59244dd21..75cda1d12 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -222,6 +222,7 @@ session-recording: channel: title: Channel title_plural: Channels + details: Channel details session: title: Session Playback form: diff --git a/ui/admin/app/routes/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.js b/ui/admin/app/routes/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.js index 037f8ee20..57fc48f2e 100644 --- a/ui/admin/app/routes/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.js +++ b/ui/admin/app/routes/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.js @@ -7,11 +7,20 @@ export default class ScopesScopeSessionRecordingsSessionRecordingChannelsByConne // =methods async model({ channel_id }) { + const sessionRecording = await this.modelFor( + 'scopes.scope.session-recordings.session-recording' + ); + const channelRecording = await this.store.peekRecord( + 'channel-recording', + channel_id + ); + const response = await fetch('/session.cast'); const asciicast = await response.text(); return { - channel_id: channel_id, + channelRecording, + sessionRecording, asciicast: asciicast, }; } diff --git a/ui/admin/app/templates/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.hbs b/ui/admin/app/templates/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.hbs index 57ede0481..f6864ee05 100644 --- a/ui/admin/app/templates/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.hbs +++ b/ui/admin/app/templates/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.hbs @@ -6,7 +6,8 @@ -

{{t 'resources.session-recording.channel.title'}}

+

{{t 'resources.session-recording.channel.title'}} + {{@model.channelRecording.id}}

@@ -16,7 +17,50 @@ -

{{@model.channel_id}}

+
+

{{t 'resources.session-recording.channel.details'}}

+ {{! Started time }} +

+ + {{@model.channelRecording.started_time}} +

+ + {{! Created By }} +

+ + {{@model.sessionRecording.user.name}} +

+ + {{! Type }} +

+ + {{@model.sessionRecording.type}} +

+ + {{! Duration }} +

+ + {{@model.channelRecording.duration}} +

+ + {{! Bytes up }} +

+ + {{@model.channelRecording.bytes_up}} +

+ + {{! Bytes down }} +

+ + {{@model.channelRecording.bytes_down}} +

+ + {{! Errors }} +

+ + {{@model.channelRecording.errors}} +

+