element-ios/Riot/Modules/Room/EmojiPicker
Johannes Marbach d3b578e440 EmojiStore: Include short name when searching for emojis
This adds the "common" short name to the list of strings to match the search text
against. Previously, only the "other" short names were included in the comparison.
This causes an issue for certain emojis like, for instance, the "Hundred Points
Symbol" where the term "100" is *only* included in the common short name. As a
result, the emoji did not previously show up when searching for "100".

Note that as a side effect, searching for "2" will now also return things such as
the "dog2" emoji. This matches the behavior in the Element Android app and also in
the emoji-mart Node.js package.

Closes: #4063

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-03-05 19:48:00 +01:00
..
Data EmojiStore: Include short name when searching for emojis 2021-03-05 19:48:00 +01:00
EmojiPickerCategoryViewData.swift Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
EmojiPickerCoordinator.swift Emoji picker: Implement Emoji picker screen. 2019-07-25 16:58:14 +02:00
EmojiPickerCoordinatorBridgePresenter.swift Emoji picker: Implement coordinator bridge presenter. 2019-07-25 16:58:14 +02:00
EmojiPickerCoordinatorType.swift Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
EmojiPickerHeaderView.swift Emoji picker: Fix reverse header and background colors (Fix #2630). 2019-10-22 18:54:59 +02:00
EmojiPickerHeaderView.xib Emoji picker: Implement cell and header view. 2019-07-25 16:58:14 +02:00
EmojiPickerItemViewData.swift Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
EmojiPickerViewAction.swift Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
EmojiPickerViewCell.swift Emoji picker: Fix reverse header and background colors (Fix #2630). 2019-10-22 18:54:59 +02:00
EmojiPickerViewCell.xib Emoji picker: Implement cell and header view. 2019-07-25 16:58:14 +02:00
EmojiPickerViewController.storyboard Emoji picker: Implement Emoji picker screen. 2019-07-25 16:58:14 +02:00
EmojiPickerViewController.swift Change issue link to Github 2020-06-05 18:16:29 +03:00
EmojiPickerViewModel.swift Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
EmojiPickerViewModelType.swift Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
EmojiPickerViewState.swift Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00