* Add Emoji Suggestions for a More Expressive User Experience
- Implement EmojiSuggestionProvider:
- Manages emoji suggestion tasks, including initialization and maintenance of supported emojis.
- Generates and returns suggestions based on user input and preferences.
- Updates in NlpManager to Include Emoji Suggestions:
- Adds emoji suggestions when applicable and available.
- Create Custom EmojiSuggestionCandidate Class:
- Encapsulates individual emoji suggestions for seamless integration.
Future Actions:
- Introduce Espresso tests in Florisboard to validate the emoji suggestion flow.
* Fix review comments
* Addressed review comments
- Added logic to dynamically get the locale file.
- Currently only supports English as related files are added.
- To support other locales in future, we can just add the related file.
- Added en.txt and en_US.txt and updated root.txt to match emojicon 44.1
version.
* fix random rotated images in threema
* add filter for the projection
* do not filter only for orientation request but also for every other column
* Apply the suggestion
* get the orientation of the image on insert
* emoji history visibility when locked fix (#2309)
* Add POST_NOTIFICATIONS permission
* remove deprecation warning
* add better naming for readability
* rename QabType to QuickActionBarType for better readability
* add smartbar vibrations (#2134)
* add share to clipboard
* remove strings
* Add Notification permission to startup menu (#2378)
To display Notifications on Android 13+ the app nust request permission to do so.
* remove deprecation warnings (use defaultDeserializer instead of default)
* Rework NotificationPermissionState handeling on Android 13+.
If the permission is NOT_SET (the user installed the app when the permission wasn't necessary), restart the SetupScreen or add this option to the SetupScreen.
If the permission was granted or denied, the user will not be asked again even if he revokes the permission later in the settings.
* Add comments/docs to the NotificationSetup code
* Revert "remove strings"
This reverts commit ee8a62d647.
* fix crash when InputFeedbackManager is not initialized
* apply the usual formatting nitpicks
* Add the bottom sheet to CopyToClipboardActivity
* add strings
* reformat file
* fix resource context not initialized error
* apply the patch of patrick@patrickgold.dev;
Enhance the bottom sheet with swipe gestures;
* Update app/src/main/kotlin/dev/patrickgold/florisboard/FlorisCopyToClipboardActivity.kt
Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
* Update app/src/main/res/values/themes.xml
Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
---------
Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
* Refine Clipboard Suggestion Validation to Prevent Empty and Invalid Items
Summary:
- This PR addresses an issue where empty or invalid clipboard items that
could lead to incorrect suggestions.
- It introduces validation logic to ensure only meaningful content is suggested.
Context:
- The issue was observed when apps like KDE Connect added empty or special
character-only items to the clipboard.
- The ClipboardSuggestionProvider previously lacked validation for such cases.
Changes:
- Added validation for empty clipboard items.
- Enhanced validation to handle special characters (newlines, tabs).
- Introduced private methods and constants for improved readability and maintainability.
* Update the validation with Regex
* Remove redundant Kashida key in Persian layout
There is a Kashida(code: 1600) key inside
the popup of Dot key(code: 46). The Kashida is
a very low use character in Persian writing, so
removing it from the main layout improves the
layout usability by increasing the width of the
Space-bar.
* Add Arabic Kaf to the Persian popup
The Arabic Kaf (code: 1603) is part of the standard Persian
keyboard (ISIRI 9147), but it was missing in the current layout.
This commit adds the Arabic Kaf (code: 1603) to the popup of the Persian Kaf
(code: 1705) key, following the convention of other keys that have
both Arabic and Persian variants.
This improves the backward compatibility and accessibility of
the layout for users who need to type both scripts.
---------
Co-authored-by: Mohammad Sadegh At'hari <msadegh64@users.noreply.github.com>