feat: implement Inline Reply overlay and theme customization#207
Merged
Conversation
- **Inline Reply System**:
- Introduced `InlineReplyService` to display a Compose-based system overlay for direct message replies using `SYSTEM_ALERT_WINDOW`.
- Added `InlineReplyReceiver` to handle notification intents and launch the reply service from the background.
- Updated `BaseTranslator` to intercept `RemoteInput` actions and route them through the custom overlay when enabled.
- **Customization & Themes**:
- Added `ReplyStyleSheetContent` and `GlobalReplyCustomizationScreen` to allow fine-grained control over reply overlay colors, shapes, and transparency.
- Integrated "Inline Reply" settings into `ThemeCreatorScreen` and `AppThemeEditorScreen` for both global and per-app overrides.
- Integrated the `haze` library to implement glassmorphism (blur) effects on the reply text field and send button.
- **Settings & Persistence**:
- Added `enableInlineReply` property to `IslandConfig` and updated `AppPreferences` to persist the new setting.
- Added a toggle for Inline Reply in `IslandSettingsControl` and `OnboardingScreen`, including a warning about hidden actions when "Remove original notification" is enabled.
- Integrated the Inline Reply customization entry into the `GlobalSettingsScreen`.
- **Localization & Metadata**:
- Updated string resources across all supported locales (ES, FR, DE, CS, etc.) with terminology for the new feature and the v0.5.2 changelog.
- Registered the new service, receiver, and `SYSTEM_ALERT_WINDOW` permission in `AndroidManifest.xml`.
- **Stability**:
- Updated changelogs to reflect performance improvements, memory optimizations in the `NotificationListener`, and crash fixes for the Theme Creator and Widget Picker.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
InlineReplyServiceto display a Compose-based system overlay for direct message replies usingSYSTEM_ALERT_WINDOW.InlineReplyReceiverto handle notification intents and launch the reply service from the background.BaseTranslatorto interceptRemoteInputactions and route them through the custom overlay when enabled.ReplyStyleSheetContentandGlobalReplyCustomizationScreento allow fine-grained control over reply overlay colors, shapes, and transparency.ThemeCreatorScreenandAppThemeEditorScreenfor both global and per-app overrides.hazelibrary to implement glassmorphism (blur) effects on the reply text field and send button.enableInlineReplyproperty toIslandConfigand updatedAppPreferencesto persist the new setting.IslandSettingsControlandOnboardingScreen, including a warning about hidden actions when "Remove original notification" is enabled.GlobalSettingsScreen.SYSTEM_ALERT_WINDOWpermission inAndroidManifest.xml.NotificationListener, and crash fixes for the Theme Creator and Widget Picker.Fixes #171
Fixes #140