-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Events Table Shortcuts to the Keyboard Shortcuts Menu
Helps fix #742 Signed-off-by: hriday-panchasara <hriday.panchasara@ericsson.com>
- Loading branch information
1 parent
d610a9a
commit 975f727
Showing
4 changed files
with
92 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
...e-explorer-sub-widgets/trace-explorer-keyboard-shortcuts/events-table-shortcuts-table.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
import * as React from 'react'; | ||
|
||
export class EventsTableShortcutsTable extends React.Component { | ||
|
||
render(): React.ReactNode { | ||
return <React.Fragment> | ||
<span className='shortcuts-table-header'>TABLE NAVIGATION</span> | ||
<div className='shortcuts-table-row'> | ||
<div className='shortcuts-table-column'> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Cell Navigation</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'><i className='fa fa-arrow-up' /></span> | ||
<span className='monaco-keybinding-key'><i className='fa fa-arrow-down' /></span> | ||
<span className='monaco-keybinding-key'><i className='fa fa-arrow-left' /></span> | ||
<span className='monaco-keybinding-key'><i className='fa fa-arrow-right' /></span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Page Up</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'>Page Up</span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Page Down</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'>Page Down</span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Multi-select</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'>Shift</span> | ||
<span className='monaco-keybinding-key'>Click</span> | ||
<span className='monaco-keybinding-seperator'>or</span> | ||
<span className='monaco-keybinding-key'>Shift</span> | ||
<span className='monaco-keybinding-key'><i className='fa fa-arrow-up' /></span> | ||
<span className='monaco-keybinding-key'><i className='fa fa-arrow-down' /></span> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div className='shortcuts-table-column'> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Deselect row(s)</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'>Ctrl</span> | ||
<span className='monaco-keybinding-seperator'>or</span> | ||
<span className='monaco-keybinding-key'>meta</span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Go to first row</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'>Home</span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Go to last row</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'>End</span> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Select current row</td> | ||
<td className='monaco-keybinding shortcuts-table-keybinding'> | ||
<span className='monaco-keybinding-key'>Click</span> | ||
<span className='monaco-keybinding-seperator'>or</span> | ||
<span className='monaco-keybinding-key'>Space</span> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</React.Fragment>; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters