66 :open =" settingsOpen"
77 @update:open =" setSettingsOpen($event)"
88 >
9+ <NcAppSettingsSection id =" help-basics" :title =" t('notes', 'Basics')" >
10+ <div class =" feature icon-add" >
11+ {{ t('notes', 'Start writing a note by clicking on “{newnote}” in the app navigation.', { newnote: t('notes', 'New note') }) }}
12+ </div >
13+ <div class =" feature icon-fullscreen" >
14+ {{ t('notes', 'Write down your thoughts without any distractions.') }}
15+ </div >
16+ <div class =" feature icon-files-dark" >
17+ {{ t('notes', 'Organize your notes in categories.') }}
18+ </div >
19+ </NcAppSettingsSection >
920 <NcAppSettingsSection id =" notes-path-section" :title =" t('notes', 'Notes path')" >
1021 <p class =" app-settings-section__desc" >
1122 {{ t('notes', 'Folder to store your notes') }}
4859 </option >
4960 </select >
5061 </NcAppSettingsSection >
62+ <NcAppSettingsSection id =" help-shortcuts" :title =" t('notes', 'Shortcuts')" >
63+ <div class =" feature icon-toggle-filelist" >
64+ {{ t('notes', 'Use shortcuts to quickly navigate this app.') }}
65+ </div >
66+ <table class =" notes-help" >
67+ <tr >
68+ <th >{{ t('notes', 'Shortcut') }}</th >
69+ <th >{{ t('notes', 'Action') }}</th >
70+ </tr >
71+ <tr v-for =" (item, index) in shortcuts" :key =" index" >
72+ <td >{{ item.shortcut }}</td >
73+ <td >{{ item.action }}</td >
74+ </tr >
75+ </table >
76+ </NcAppSettingsSection >
77+ <NcAppSettingsSection id =" help-apps" :title =" t('notes', 'Mobile apps')" >
78+ <HelpMobile />
79+ </NcAppSettingsSection >
5180 </NcAppSettingsDialog >
5281</template >
5382
@@ -59,13 +88,15 @@ import {
5988
6089import { setSettings } from ' ../NotesService.js'
6190import store from ' ../store.js'
91+ import HelpMobile from ' ./HelpMobile.vue'
6292
6393export default {
6494 name: ' AppSettings' ,
6595
6696 components: {
6797 NcAppSettingsDialog,
6898 NcAppSettingsSection,
99+ HelpMobile,
69100 },
70101
71102 props: {
@@ -86,6 +117,20 @@ export default {
86117 ],
87118 saving: false ,
88119 settingsOpen: this .open ,
120+ shortcuts: [
121+ { shortcut: t (' notes' , ' CTRL' ) + ' +B' , action: t (' notes' , ' Make the selection bold' ) },
122+ { shortcut: t (' notes' , ' CTRL' ) + ' +I' , action: t (' notes' , ' Make the selection italic' ) },
123+ { shortcut: t (' notes' , ' CTRL' ) + ' +\' ' , action: t (' notes' , ' Wrap the selection in quotes' ) },
124+ { shortcut: t (' notes' , ' CTRL' ) + ' +' + t (' notes' , ' ALT' ) + ' +C' , action: t (' notes' , ' The selection will be turned into monospace' ) },
125+ { shortcut: t (' notes' , ' CTRL' ) + ' +E' , action: t (' notes' , ' Remove any styles from the selected text' ) },
126+ { shortcut: t (' notes' , ' CTRL' ) + ' +L' , action: t (' notes' , ' Makes the current line a list element' ) },
127+ { shortcut: t (' notes' , ' CTRL' ) + ' +' + t (' notes' , ' ALT' ) + ' +L' , action: t (' notes' , ' Makes the current line a list element with a number' ) },
128+ { shortcut: t (' notes' , ' CTRL' ) + ' +H' , action: t (' notes' , ' Toggle heading for current line' ) },
129+ { shortcut: t (' notes' , ' CTRL' ) + ' +' + t (' notes' , ' SHIFT' ) + ' +H' , action: t (' notes' , ' Set the current line as a big heading' ) },
130+ { shortcut: t (' notes' , ' CTRL' ) + ' +K' , action: t (' notes' , ' Insert link' ) },
131+ { shortcut: t (' notes' , ' CTRL' ) + ' +' + t (' notes' , ' ALT' ) + ' +I' , action: t (' notes' , ' Insert image' ) },
132+ { shortcut: t (' notes' , ' CTRL' ) + ' +/' , action: t (' notes' , ' Switch between editor and viewer' ) },
133+ ],
89134 }
90135 },
91136
0 commit comments