Channels by connection screen updates (#231)
* feat: 🎸 add session recording id to details sidebar section * refactor: 💡 change sidebar section headers to h2 * feat: 🎸 Add Channel ID under page title and modify spacing * feat: 🎸 add relevant IDs to connection and channel screens
This commit is contained in:
1 parent
ed460e9231
commit
0c524019df
3 files changed
+53
-7
No files matched your search
@@ -918,6 +918,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Channel
|
||||
.channel-header {
|
||||
margin-bottom: 1rem;
|
||||
|
||||
h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Metadata List
|
||||
.metadata-list {
|
||||
display: flex;
|
||||
@@ -932,6 +941,7 @@
|
||||
|
||||
.metadata-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: 0.3rem;
|
||||
}
|
||||
}
|
||||
+31
-5
@@ -5,9 +5,15 @@
|
||||
<BreadCrumbs />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<h2>{{t 'resources.session-recording.channel.title'}}
|
||||
{{@model.channelRecording.id}}</h2>
|
||||
<page.header class='channel-header'>
|
||||
<h2>{{t 'resources.session-recording.channel.title'}}</h2>
|
||||
<Copyable
|
||||
@text={{@model.channelRecording.id}}
|
||||
@buttonText={{t 'actions.copy-to-clipboard'}}
|
||||
@acknowledgeText={{t 'states.copied'}}
|
||||
>
|
||||
<code>{{@model.channelRecording.id}}</code>
|
||||
</Copyable>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
@@ -58,7 +64,7 @@
|
||||
<sb.Sidebar>
|
||||
{{! Channel details information }}
|
||||
<div>
|
||||
<h3>{{t 'resources.session-recording.channel.details'}}</h3>
|
||||
<h2>{{t 'resources.session-recording.channel.details'}}</h2>
|
||||
<MetadataList @orientation='vertical' as |list|>
|
||||
{{! Start time }}
|
||||
<list.Item @icon='calendar' @color='faint'>
|
||||
@@ -86,7 +92,7 @@
|
||||
|
||||
{{! Related information }}
|
||||
<div>
|
||||
<h3>{{t 'resources.session-recording.related'}}</h3>
|
||||
<h2>{{t 'resources.session-recording.related'}}</h2>
|
||||
<LinkListPanel as |list|>
|
||||
{{! User name }}
|
||||
{{#if @model.sessionRecording.user}}
|
||||
@@ -131,6 +137,26 @@
|
||||
@text={{@model.storageBucket.name}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{! Session Recording ID }}
|
||||
<list.Item @icon='film' @color='boundary' @text='Session'>
|
||||
<Copyable
|
||||
@text={{@model.sessionRecording.id}}
|
||||
@buttonText={{t 'actions.copy-to-clipboard'}}
|
||||
@acknowledgeText={{t 'states.copied'}}
|
||||
>
|
||||
<code>{{@model.sessionRecording.id}}</code>
|
||||
</Copyable>
|
||||
</list.Item>
|
||||
{{! Connection Recording ID }}
|
||||
<list.Item @icon='connection' @color='boundary' @text='Connection'>
|
||||
<Copyable
|
||||
@text={{@model.channelRecording.connection_recording.id}}
|
||||
@buttonText={{t 'actions.copy-to-clipboard'}}
|
||||
@acknowledgeText={{t 'states.copied'}}
|
||||
>
|
||||
<code>{{@model.channelRecording.connection_recording.id}}</code>
|
||||
</Copyable>
|
||||
</list.Item>
|
||||
</LinkListPanel>
|
||||
</div>
|
||||
</sb.Sidebar>
|
||||
|
||||
+12
-2
@@ -91,7 +91,7 @@
|
||||
</sb.Body>
|
||||
<sb.Sidebar>
|
||||
<div>
|
||||
<h3>{{t 'resources.session-recording.details'}}</h3>
|
||||
<h2>{{t 'resources.session-recording.details'}}</h2>
|
||||
|
||||
<MetadataList @orientation='vertical' as |list|>
|
||||
{{! Start time }}
|
||||
@@ -122,7 +122,7 @@
|
||||
|
||||
{{! Related information }}
|
||||
<div>
|
||||
<h3>{{t 'resources.session-recording.related'}}</h3>
|
||||
<h2>{{t 'resources.session-recording.related'}}</h2>
|
||||
<LinkListPanel as |list|>
|
||||
{{! User name }}
|
||||
{{#if @model.sessionRecording.user}}
|
||||
@@ -167,6 +167,16 @@
|
||||
@text={{@model.storageBucket.name}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{! Session Recording ID }}
|
||||
<list.Item @icon='film' @color='boundary' @text='Session'>
|
||||
<Copyable
|
||||
@text={{@model.sessionRecording.id}}
|
||||
@buttonText={{t 'actions.copy-to-clipboard'}}
|
||||
@acknowledgeText={{t 'states.copied'}}
|
||||
>
|
||||
<code>{{@model.sessionRecording.id}}</code>
|
||||
</Copyable>
|
||||
</list.Item>
|
||||
</LinkListPanel>
|
||||
</div>
|
||||
</sb.Sidebar>
|
||||
|
||||
Reference in new issue
Block a user