-
Notifications
You must be signed in to change notification settings - Fork 14
feat: make keyboard shortcuts help page #2116
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
Conversation
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.
Copilot reviewed 9 out of 14 changed files in this pull request and generated 1 comment.
Files not reviewed (5)
- package.json: Language not supported
- src/containers/AsideNavigation/AsideNavigation.scss: Language not supported
- src/containers/AsideNavigation/InformationPopup/InformationPopup.scss: Language not supported
- src/containers/AsideNavigation/i18n/en.json: Language not supported
- src/containers/Tenant/Query/i18n/en.json: Language not supported
@@ -19,4 +19,9 @@ | |||
width: 300px; | |||
padding: 10px; | |||
} | |||
|
|||
&__hotkeys-panel-title { |
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.
Let's add animation when open Shortcuts
pane (like for Settings
pane).
const [compact, setIsCompact] = useSetting<boolean>(ASIDE_HEADER_COMPACT_KEY); | ||
|
||
const toggleInformationPopup = React.useCallback( | ||
() => setInformationPopupVisible(!informationPopupVisible), |
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.
setInformationPopupVisible(prev => !prev)
?
@@ -103,6 +102,17 @@ export function YqlEditor({ | |||
} | |||
}); | |||
|
|||
editor.addAction({ |
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.
Did you want to add it to editor's menu? If yes, you should add contextMenuGroupId
, contextMenuOrder
.
|
||
return 'https://ydb.tech/docs/en/'; | ||
Information = 'Information', | ||
Hotkeys = 'Hotkeys', | ||
} | ||
|
||
export function AsideNavigation(props: AsideNavigationProps) { |
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.
Please, don't forget to make similar changes in internal version, there is a different navigation component there
Closes #1344
Stand
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Test Changes Summary ✨4 🗑️1
✨ New Tests (4)
🗑️ Deleted Tests (1)
Bundle Size: 🔺
Current: 83.36 MB | Main: 83.29 MB
Diff: +0.07 MB (0.08%)
ℹ️ CI Information