-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Channel sidebar tabs/content #198
Conversation
The userlist doesn't need as much space as e.g. shared items or settings. This adds logic and styles for one wider size, and makes switching between the two widths work on both desktop and mobile.
We're moving the component to a route soon, so the outlet is perfectly fine there.
Update: you can check this out in production right now: https://hyperchannel.kosmos.org But please be aware of #197 on small screens. |
I checked it on my phone and my laptop. LGTM! |
<button type="button" | ||
{{action "menu" "channel" "toggle"}} | ||
class={{if this.headerNavButtonUsersActive "active"}}> | ||
<LinkTo @route="space.channel.index" @models={{array space channel}} {{action "menu" "channel" "show"}}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this rather be [...] {{array this.space this.channel}} [...]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there are hundreds of Octane warnings still. Everyone is invited to help with the upgrade: #184
Makes channel sidebar content routable via channel subroutes, and adds header styles and dummy content. Also introduces wide sidebars for tabs with more content.
The sidebars work slightly different on desktop and mobile, as they're optimized for the available screen real estate.
Desktop
Mobile