eca0e7bf56
* button styles * Further styles including global toggle adjustment * sidebar funcs and header * Functioning task logs in high-level sidebars * same-lineify the show tasks toggle * Changelog * Full-height sidebar calc in css, plz drop soon container queries * Active status and query params for allocations page * Reactive shouldShowLogs getter and added to client and task group pages * Higher order func passing, thanks @DingoEatingFuzz * Non-service job types get allocation params passed * Keyframe animation for task log sidebar * Acceptance test * A few more sub-row tests * Lintfix
17 lines
340 B
JavaScript
17 lines
340 B
JavaScript
// @ts-check
|
|
import Component from '@glimmer/component';
|
|
|
|
export default class TaskContextSidebarComponent extends Component {
|
|
get isSideBarOpen() {
|
|
return !!this.args.task;
|
|
}
|
|
|
|
keyCommands = [
|
|
{
|
|
label: 'Close Task Logs Sidebar',
|
|
pattern: ['Escape'],
|
|
action: () => this.args.fns.closeSidebar(),
|
|
},
|
|
];
|
|
}
|