mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
Touchbar support for Run Cell, Run Query, Add Cell (#4972)
* Basic touchbar support * Touchbar support for Run Cell, Run Query, Add Cell - Add top 3 notebook commands - Add top query command Actions only appear on having active editor of expected type. In order to make Notebook work as expected, added tabindex to support focusing and hide outline to ensure it doesn't get weird blue outline on click Note: does not have icons yet, which would be nice. However can add in subsequent PR once this comes from UX.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div style="overflow: hidden; width: 100%; height: 100%; display: flex; flex-flow: column">
|
||||
<div #toolbar class="editor-toolbar actionbar-container" style="flex: 0 0 auto; display: flex; flex-flow: row; width: 100%; align-items: center;">
|
||||
</div>
|
||||
<div #container class="scrollable" style="flex: 1 1 auto; position: relative" (click)="unselectActiveCell()" (scroll)="scrollHandler($event)">
|
||||
<div #container class="scrollable" style="flex: 1 1 auto; position: relative; outline: none" (click)="unselectActiveCell()" (scroll)="scrollHandler($event)" tabindex="0">
|
||||
<loading-spinner [loading]="isLoading"></loading-spinner>
|
||||
<div class="notebook-cell" *ngFor="let cell of cells" (click)="selectCell(cell, $event)" [class.active]="cell.active">
|
||||
<code-cell-component *ngIf="cell.cellType === 'code'" [cellModel]="cell" [model]="model" [activeCellId]="activeCellId">
|
||||
|
||||
Reference in New Issue
Block a user