* Add linter rules for import order and type member delimiters
* Remove unneeded group
* Group all app/* imports before the internal imports
* Move app/ imports before parent imports
* Separate @node_modules imports into a different group
* Substitute app paths by aliases
* Fix @node_modules import order and add test related modules
* Add aliases for types and test, and group import types
* [MM-22366] Make user autocomplete also match on spaces
* Move template string to fullName variable
* Add Detox E2E tests for user autocomplete
* Add TM4J IDs
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Add test for keyword not associated with user
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* [MM-15477] reorder search suggest results
* allow searching dms and gms with 'in:@'
* fix sort order for private before public
* faster than regex
* remove server minimum version prop and checks
* Add nickname search functionality
* Add username property to test
* Fix parentheses out of place
* Add nickname property to additional tests
* Added ability to truncate long names
* Minor clean up
* More minor clean up
* Include current user in search
* Removed unused parameters
* Include new text in i18n
* Update autocomplete tests to include current user
* Use FormattedText
* Update app/selectors/autocomplete.test.js
Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM-11567: Autocomplete search in: for DMs and GMs
* More robust behavior on older versions and a fix on autocompletion
* Moving get display_name for search to a selector
* initial partial implementation of search date flags UI (on: before: after:)
* Make the calendar show correctly
* dismiss keyboard when showing the date suggestion since this type of input will primarily be entered through the calendar and later edited if needed
* fixed code style errors
* updates as per pull request comments
* fixed eslint errors
* changes as per pull request comments, removing unnecessary code
* added handling for hiding the date filter feature if the server version doesn't support it
* fixed eslint errors
* removed unnecessary property defaults and server version checks, as per PR suggestions
* this default is needed for the initial load of the component
* changed the way we capture the flag from the search string, this handles scenarios where multiple flags might be present in the search string that are handled by the same suggestion component as is the case here with date based flags
* need property declared to pass jslint rules
* eslint style fix, moved regex out into constants
* removed unused code and references
* updated as per pull request feedback
* updated to latest redux version
* changed to new search posts api that supports passing in of time zone utc offset to support date based search flags
* updated to the upcoming release version in preparation for merging to master
* Properly memoize DateSuggestion mapStateToProps
* Remove moment-timezone
* update eslint's `comma-dangle` rule to `always-multiline`
* add check and fix scripts to package.json
* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.