This commit is expanding on previous work making everything chat working through an URL. Improves drawer templates to be all URLs Implements some kind of router for the drawer Removes few remaining actions for opening channels
24 lines
738 B
Handlebars
24 lines
738 B
Handlebars
{{#if this.chatStateManager.isDrawerActive}}
|
|
|
|
<div
|
|
data-chat-channel-id={{this.chat.activeChannel.id}}
|
|
class={{concat-class
|
|
"chat-drawer"
|
|
(if this.chatStateManager.isDrawerExpanded "is-expanded")
|
|
}}
|
|
{{chat/resizable-node ".chat-drawer-resizer" this.didResize}}
|
|
style={{this.drawerStyle}}
|
|
>
|
|
<div class="chat-drawer-container">
|
|
<div class="chat-drawer-resizer"></div>
|
|
<this.chatDrawerRouter.component
|
|
@params={{this.chatDrawerRouter.params}}
|
|
@openURL={{this.openURL}}
|
|
@openInFullPage={{this.openInFullPage}}
|
|
@toggleExpand={{this.toggleExpand}}
|
|
@close={{this.close}}
|
|
@drawerActions={{this.drawerActions}}
|
|
/>
|
|
</div>
|
|
</div>
|
|
{{/if}} |