Skip to content

fix(NotificationItem): remove entry and close menu when an app handles a link action - #3572

Open
jancborchardt wants to merge 2 commits into
masterfrom
fix/view-chat-close-dropdown
Open

jancborchardt wants to merge 2 commits into
masterfrom
fix/view-chat-close-dropdown

Conversation

@jancborchardt

Copy link
Copy Markdown
Member

2 fixes which make the Talk PR look much nicer: nextcloud/spreed#20162

  • Automatically close the notification dropdown when clicking on "View chat" in a Talk notification as we switch to it directly
  • Remove the notification in the background (without animation) as otherwise there will be an animation playing on next opening of the Notifications dropdown

🖼️ Screenshots / Screencasts

🏚️ Before 🏡 After
Screencast.From.2026-11-05.13-27-24.webm
Screencast.From.2026-11-05.13-21-00.webm

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (ClaudeCode:claude-opus-5-5)

jancborchardt and others added 2 commits November 9, 2026 17:27
…s a link action

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy
Antreesy force-pushed the fix/view-chat-close-dropdown branch from 064ba5a to e581c00 Compare November 9, 2026 17:05

@Antreesy Antreesy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebased onto master

It's not guaranteed, that intercepted notification is dismissed by the app, so I'd prefer to not remove it.
Kept popup closing on interception, let me know if that's good enough. IMO from the moment you clicked on 'View chat' and acted on it (read the message, replied, e.t.c.), app in question (Talk here) should dismiss the notification on the backend, and notifications app will update the list in the background or when you open the popup next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🏗️ At engineering

Development

Successfully merging this pull request may close these issues.

2 participants