import React from 'react'; import Column from 'flavours/glitch/components/column'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ColumnHeader from 'flavours/glitch/components/column_header'; import { Helmet } from 'react-helmet'; import { searchEnabled } from 'flavours/glitch/initial_state'; const messages = defineMessages({ heading: { id: 'search_reference.heading', defaultMessage: 'Search Reference' }, }); class SearchReference extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, multiColumn: PropTypes.bool, }; render () { const { intl, multiColumn } = this.props; return (

{ searchEnabled ? : }

{ searchEnabled && } { searchEnabled && } { searchEnabled && } { searchEnabled && }
#example
@username@domain
URL
URL
+term
-term
"John Mastodon"
cat has:media
-is:bot
is:bot
domain:example.org
scope:following
is:group
from:@username@domain
mentions:@username@domain
is:reply
is:sensitive
lang:es
has:link
has:media
has:poll
has:cw, has:warning
visibility:public
before:2022-12-17
after:2022-12-17
sort:newest
sort:oldest
); } } export default injectIntl(SearchReference);