File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed
src/containers/AsideNavigation Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,17 @@ import './InformationPopup.scss';
1212const b = cn ( 'information-popup' ) ;
1313
1414export interface InformationPopupProps {
15- /** The keyboard shortcuts action handler */
1615 onKeyboardShortcutsClick ?: ( ) => void ;
1716}
1817
1918export function InformationPopup ( { onKeyboardShortcutsClick} : InformationPopupProps ) {
20- // Get documentation link based on language settings
2119 const getDocumentationLink = ( ) => {
2220 const lang = settingsManager . readUserSettingsValue ( LANGUAGE_KEY , navigator . language ) ;
2321 return lang === 'ru' ? 'https://ydb.tech/docs/ru/' : 'https://ydb.tech/docs/en/' ;
2422 } ;
2523
2624 return (
2725 < div className = { b ( 'content' , { } ) } >
28- { /* Documentation section */ }
2926 < div className = { b ( 'docs' ) } >
3027 < Text variant = "subheader-3" color = "primary" className = { b ( 'title' ) } >
3128 Documentation
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import {isMac} from './utils';
22
33export const SHORTCUTS_HOTKEY = isMac ( ) ? 'cmd+K' : 'ctrl+K' ;
44
5- // Hotkeys configuration for the keyboard shortcuts panel
65export const HOTKEYS = [
76 {
87 title : 'Query Editor' ,
Original file line number Diff line number Diff line change 1- // Helper function to detect Mac platform
21export const isMac = ( ) => navigator . platform . toUpperCase ( ) . includes ( 'MAC' ) ;
You can’t perform that action at this time.
0 commit comments