Skip to content
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

Updated keyboard docs to include Alt-1 and Alt-2 #778

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/client/VZKeyboardShortcutsDoc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@ export const VZKeyboardShortcutsDoc = ({
Change the active tab to the next one
</span>
</li>
<li>
<strong>Alt-1</strong> <br/>
<span>
Set focus to the sidebar
</span>
</li>
<li>
<strong>Alt-2</strong> <br/>
<span>
Set focus to the code-editor
</span>
</li>
<li>
<strong>Most VSCode Shortcuts</strong> <br />
See VSCode docs:{' '}
Expand Down
33 changes: 33 additions & 0 deletions test/sampleDirectories/kitchenSink/aaa!!!!!
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<script>
const data = [
{ x: 155, y: 384, r: 20, fill: '#00F' },
{ x: 340, y: 238, r: 52, fill: '#FF0AAE' },
{
x: 531,
y: 151,
r: 20,
fill: '#00E1FF',
},
{ x: 482, y: 307, r: 147, fill: '#7300FF' },
{ x: 781, y: 91, r: 61, fill: '#0FFB33' },
{ x: 668, y: 229, r: 64, fill: '#D400FF' },
];
</script>

<main>
<svg width="1000" height="500">
{#each data as { x, y, r, fill }}
<circle cx={x} cy={y} {r} {fill} />
{/each}
</svg>
</main>

<style>
svg {
background: #f3fff0;
}

circle {
opacity: calc(708 / 1000);
}
</style>