mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-24 09:00:29 +00:00
1 line
No EOL
14 KiB
Text
1 line
No EOL
14 KiB
Text
{"version":3,"sources":["webpack:///app/javascript/builds/pleroma/mastofe/app/javascript/mastodon/features/keyboard_shortcuts/index.js"],"names":["messages","defineMessages","heading","id","defaultMessage","KeyboardShortcuts","injectIntl","render","intl","this","props","Object","_babel_runtime_helpers_esm_jsx__WEBPACK_IMPORTED_MODULE_0__","_ui_components_column__WEBPACK_IMPORTED_MODULE_4__","icon","formatMessage","_components_column_back_button_slim__WEBPACK_IMPORTED_MODULE_5__","className","react_intl__WEBPACK_IMPORTED_MODULE_6__","ImmutablePureComponent","PropTypes","object","isRequired","multiColumn","bool"],"mappings":"+NAOMA,EAAWC,YAAe,CAC9BC,QAAO,CAAAC,GAAA,6BAAAC,eAAA,wBAIHC,EADUC,mHAQdC,OAAA,WAAU,IACAC,EAASC,KAAKC,MAAdF,KAER,OACEG,OAAAC,EAAA,EAAAD,CAACE,EAAA,EAAD,CAAQC,KAAK,WAAWZ,QAASM,EAAKO,cAAcf,EAASE,eAA7D,EACES,OAAAC,EAAA,EAAAD,CAACK,EAAA,EAAD,IACAL,OAAAC,EAAA,EAAAD,CAAA,OAAKM,UAAU,4DAAf,EACEN,OAAAC,EAAA,EAAAD,CAAA,kBACEA,OAAAC,EAAA,EAAAD,CAAA,kBACEA,OAAAC,EAAA,EAAAD,CAAA,eACEA,OAAAC,EAAA,EAAAD,CAAA,eAAIA,OAAAC,EAAA,EAAAD,CAACO,EAAA,EAAD,CAAkBf,GAAG,4BAA4BC,eAAe,YACpEO,OAAAC,EAAA,EAAAD,CAAA,eAAIA,OAAAC,EAAA,EAAAD,CAACO,EAAA,EAAD,CAAkBf,GAAG,iCAAiCC,eAAe,mBAG7EO,OAAAC,EAAA,EAAAD,CAAA,kBACEA,OAAAC,EAAA,EAAAD,CAAA,eACEA,OAAAC,EAAA,EAAAD,CAAA,eAAIA,OAAAC,EAAA,E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AAAC,EAAA,EAAAD,CAAA,eAAIA,OAAAC,EAAA,EAAAD,CAAA,qBAAJ,IAAiBA,OAAAC,EAAA,EAAAD,CAAA,sBACjBA,OAAAC,EAAA,EAAAD,CAAA,eAAIA,OAAAC,EAAA,EAAAD,CAACO,EAAA,EAAD,CAAkBf,GAAG,8BAA8BC,eAAe,mCAExEO,OAAAC,EAAA,EAAAD,CAAA,eACEA,OAAAC,EAAA,EAAAD,CAAA,eAAIA,OAAAC,EAAA,EAAAD,CAAA,sBACJA,OAAAC,EAAA,EAAAD,CAAA,eAAIA,OAAAC,EAAA,EAAAD,CAACO,EAAA,EAAD,CAAkBf,GAAG,4BAA4BC,eAAe,qCApIpDe,+BAEX,CACjBX,KAAMY,IAAUC,OAAOC,WACvBC,YAAaH,IAAUI","file":"features/keyboard_shortcuts.js","sourcesContent":["import React from 'react';\nimport Column from '../ui/components/column';\nimport ColumnBackButtonSlim from '../../components/column_back_button_slim';\nimport { defineMessages, injectIntl, FormattedMessage } from 'react-intl';\nimport PropTypes from 'prop-types';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\n\nconst messages = defineMessages({\n heading: { id: 'keyboard_shortcuts.heading', defaultMessage: 'Keyboard Shortcuts' },\n});\n\nexport default @injectIntl\nclass KeyboardShortcuts extends ImmutablePureComponent {\n\n static propTypes = {\n intl: PropTypes.object.isRequired,\n multiColumn: PropTypes.bool,\n };\n\n render () {\n const { intl } = this.props;\n\n return (\n <Column icon='question' heading={intl.formatMessage(messages.heading)}>\n <ColumnBackButtonSlim />\n <div className='keyboard-shortcuts scrollable optionally-scrollable'>\n <table>\n <thead>\n <tr>\n <th><FormattedMessage id='keyboard_shortcuts.hotkey' defaultMessage='Hotkey' /></th>\n <th><FormattedMessage id='keyboard_shortcuts.description' defaultMessage='Description' /></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td><kbd>r</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.reply' defaultMessage='to reply' /></td>\n </tr>\n <tr>\n <td><kbd>m</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.mention' defaultMessage='to mention author' /></td>\n </tr>\n <tr>\n <td><kbd>p</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.profile' defaultMessage=\"to open author's profile\" /></td>\n </tr>\n <tr>\n <td><kbd>f</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.favourite' defaultMessage='to favourite' /></td>\n </tr>\n <tr>\n <td><kbd>b</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.boost' defaultMessage='to boost' /></td>\n </tr>\n <tr>\n <td><kbd>enter</kbd>, <kbd>o</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.enter' defaultMessage='to open status' /></td>\n </tr>\n <tr>\n <td><kbd>x</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.toggle_hidden' defaultMessage='to show/hide text behind CW' /></td>\n </tr>\n <tr>\n <td><kbd>up</kbd>, <kbd>k</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.up' defaultMessage='to move up in the list' /></td>\n </tr>\n <tr>\n <td><kbd>down</kbd>, <kbd>j</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.down' defaultMessage='to move down in the list' /></td>\n </tr>\n <tr>\n <td><kbd>1</kbd>-<kbd>9</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.column' defaultMessage='to focus a status in one of the columns' /></td>\n </tr>\n <tr>\n <td><kbd>n</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.compose' defaultMessage='to focus the compose textarea' /></td>\n </tr>\n <tr>\n <td><kbd>alt</kbd>+<kbd>n</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.toot' defaultMessage='to start a brand new toot' /></td>\n </tr>\n <tr>\n <td><kbd>backspace</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.back' defaultMessage='to navigate back' /></td>\n </tr>\n <tr>\n <td><kbd>s</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.search' defaultMessage='to focus search' /></td>\n </tr>\n <tr>\n <td><kbd>esc</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.unfocus' defaultMessage='to un-focus compose textarea/search' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>h</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.home' defaultMessage='to open home timeline' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>n</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.notifications' defaultMessage='to open notifications column' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>l</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.local' defaultMessage='to open local timeline' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>t</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.federated' defaultMessage='to open federated timeline' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>d</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.direct' defaultMessage='to open direct messages column' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>s</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.start' defaultMessage='to open \"get started\" column' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>f</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.favourites' defaultMessage='to open favourites list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>p</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.pinned' defaultMessage='to open pinned toots list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>u</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.my_profile' defaultMessage='to open your profile' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>b</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.blocked' defaultMessage='to open blocked users list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>m</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.muted' defaultMessage='to open muted users list' /></td>\n </tr>\n <tr>\n <td><kbd>g</kbd>+<kbd>r</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.requests' defaultMessage='to open follow requests list' /></td>\n </tr>\n <tr>\n <td><kbd>?</kbd></td>\n <td><FormattedMessage id='keyboard_shortcuts.legend' defaultMessage='to display this legend' /></td>\n </tr>\n </tbody>\n </table>\n </div>\n </Column>\n );\n }\n\n}\n"],"sourceRoot":""} |