Skip to content

Feat/message add source view#17386

Open
NO-MAP wants to merge 2 commits intoeclipse-theia:masterfrom
NO-MAP:feat/message-add-source-view
Open

Feat/message add source view#17386
NO-MAP wants to merge 2 commits intoeclipse-theia:masterfrom
NO-MAP:feat/message-add-source-view

Conversation

@NO-MAP
Copy link
Copy Markdown

@NO-MAP NO-MAP commented Apr 22, 2026

PR Description

What it does

This PR adds support for displaying the source view of messages by introducing a source field to the message system. This allows messages to be tagged with their origin (e.g., plugin name), making it easier for users to identify which extension or component sent a particular message.

Key changes:

  • Added source property to MessageOptions interface in message-service-protocol.ts
  • Updated MessageService to pass the source from options to the message payload
  • Enhanced Notification object to include source information in the UI
  • Modified MessageRegistryExt to automatically attach plugin identification as the source when plugins show messages
  • Updated WorkspaceExtImpl to pass plugin context when displaying workspace-related error messages

How to test

  1. Open a plugin that shows messages (notifications, alerts, etc.)
  2. Verify that messages now display the source information (plugin publisher and name)
  3. Messages from different sources should be distinguishable in the notification center
  4. Test with both core messages and plugin-generated messages to ensure source is properly tracked

Follow-ups

  • Consider adding UI improvements to highlight the source in notifications
  • Add tests to verify source tracking in message delivery
  • Document the new source field in the message API

link issue:
#17382

@github-project-automation github-project-automation Bot moved this to Waiting on reviewers in PR Backlog Apr 22, 2026
@NO-MAP NO-MAP force-pushed the feat/message-add-source-view branch from 0c10654 to bd8b4fc Compare April 23, 2026 01:38
NO-MAP added 2 commits April 23, 2026 09:49
Signed-off-by: nomap <2860159769@qq.com>
Signed-off-by: nomap <2860159769@qq.com>
@NO-MAP NO-MAP force-pushed the feat/message-add-source-view branch from bd8b4fc to e2663c8 Compare April 23, 2026 01:51
@NO-MAP NO-MAP closed this Apr 23, 2026
@github-project-automation github-project-automation Bot moved this from Waiting on reviewers to Done in PR Backlog Apr 23, 2026
@NO-MAP NO-MAP reopened this Apr 23, 2026
@github-project-automation github-project-automation Bot moved this from Done to Waiting on reviewers in PR Backlog Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting on reviewers

Development

Successfully merging this pull request may close these issues.

1 participant