Skip to content

feat(island): add option to force dismiss notification on open - #1942

Open
isaacsa51 wants to merge 2 commits into
sameerasw:developfrom
isaacsa51:feat/island/force_notification_dimissal_on_hub_opened
Open

isaacsa51 wants to merge 2 commits into
sameerasw:developfrom
isaacsa51:feat/island/force_notification_dimissal_on_hub_opened

Conversation

@isaacsa51

Copy link
Copy Markdown
Contributor

Linked issue

Closes #1922

Description

Off by default

When on, tapping a notification in the island opens it and then clears it, so it drops off the hub even if the app never clears its own notification due to bad practices

The three places that open a notification (normal, concealed and OTP) each had their own copy of the open logic. They now share one openAlert() in NotificationsPlugin.kt, which does the dismissal when the toggle is on.

Ongoing notifications (calls, timers and the like) are never dismissed this way.

Type of change

  • Bug fix
  • New feature
  • Translations
  • Documentation
  • Build / CI tooling

UI changes

On spanish by system, new string value only holds the english one

image

Checklist

  • For new features: the linked issue is labeled approved and assigned to me.
  • This PR covers a single feature or fix and is under ~1,000 changed lines (or the size was agreed in the issue).
  • The base branch is develop.
  • ./gradlew assembleDebug and ./gradlew testDebugUnitTest pass.
  • I tested the changes on a device or emulator (including Shizuku or Root if applicable).
  • I understand every line of this change and can explain it in review, including any AI-assisted code.
  • The code follows the Development Guide.

@isaacsa51
isaacsa51 requested a review from sameerasw as a code owner November 28, 2026 06:55
@github-actions github-actions Bot added the needs-approved-issue Feature PR without an approved, assigned issue label Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Thanks! This PR was approved by a maintainer and is queued for review.

@sameerasw sameerasw added approved Approved for implementation and removed needs-approved-issue Feature PR without an approved, assigned issue labels Nov 28, 2026
@sameerasw
sameerasw force-pushed the feat/island/force_notification_dimissal_on_hub_opened branch from 3ef91e1 to 73c6f38 Compare November 28, 2026 07:09
@isaacsa51
isaacsa51 force-pushed the feat/island/force_notification_dimissal_on_hub_opened branch from 37c1cc4 to 8478742 Compare November 28, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved for implementation

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants