Skip to content

Conversation

Copy link

Copilot AI commented Jan 29, 2026

Optimizes the MessengerBundle UI with auto-refresh capability and improved chart interactivity.

Changes Made

Auto-Refresh Feature

  • Added dropdown in toolbar with refresh intervals: 5s, 10s, 30s, or disabled
  • Displays "Refreshed: YYYY-MM-DD HH:mm:ss" timestamp on the right side of the toolbar
  • Timer cleanup on panel destroy

Chart Improvements

  • Added tooltip on bar hover showing full queue name and message count
  • Added bar highlighting on hover for better interactivity

Translations

  • Added EN/DE translations for new UI elements (refresh intervals, messages label)

Testing

  • ✅ Code review passed
  • ✅ Security scan (CodeQL) passed
Original prompt

This section details on the original issue you should resolve

<issue_title>[MessengerBundle] Feature Request: Optimize UI</issue_title>
<issue_description># Auto-Refresh Interval
It would be cool, if one could activate a auto-refresh feature on the messenger overview page. Similar to what's available in the RabbitMQ management UI.

Image

Queue Names

Furthermore, if you have many queues (10+) some of the names are hidden in the bar chart. If we could rotate the text (45/90deg) it would create more space, so that all queue/transport names are visible.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add auto-refresh feature and text rotation in messenger UI [MessengerBundle] Add auto-refresh and rotate chart labels Jan 29, 2026
Copilot AI requested a review from dpfaffenbauer January 29, 2026 11:54
position: 'bottom',
grid: true,
fields: ['receiver'],
label: {
Copy link
Member

Choose a reason for hiding this comment

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

@copilot this messes up the design and the chart is not seeable anymore, change it to trim the labels but also show them on hover on the bar

Copy link
Author

Choose a reason for hiding this comment

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

Changed in f58485a. Labels longer than 15 characters are now trimmed with ellipsis, and hovering over a bar shows a tooltip with the full queue name and message count.

Copy link
Member

Choose a reason for hiding this comment

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

@copilot there is still an issue with queues that have 0 messages, I sometimes cannot see what queue it is

Copy link
Author

Choose a reason for hiding this comment

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

Fixed in a40e747. For queues with 0 messages, the label above the bar now shows the truncated queue name followed by "(0)" (e.g., "async_priority_high (0)"). This makes it easy to identify which queue has 0 messages without needing to hover. Queues with messages still show just the count number as before.

Copy link
Member

Choose a reason for hiding this comment

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

@copilot now you completely messed it up :O

Copy link
Author

Choose a reason for hiding this comment

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

Reverted to the original clean chart design in 1b15e2c. The chart now shows:

  • Count labels inside bars (original design)
  • Tooltip on bar hover showing full queue name + count
  • Highlight effect on bar hover

The complex label modifications that broke the design have been removed.

@dpfaffenbauer dpfaffenbauer marked this pull request as ready for review January 29, 2026 19:22
@github-actions
Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copilot AI changed the title [MessengerBundle] Add auto-refresh and rotate chart labels [MessengerBundle] Add auto-refresh and optimize chart labels Jan 29, 2026
Copilot AI changed the title [MessengerBundle] Add auto-refresh and optimize chart labels [MessengerBundle] Add auto-refresh and chart tooltip Jan 29, 2026
@sonarqubecloud
Copy link

@dpfaffenbauer dpfaffenbauer merged commit d7a1385 into 4.1 Jan 29, 2026
16 of 17 checks passed
@dpfaffenbauer dpfaffenbauer deleted the copilot/optimize-messenger-ui branch January 29, 2026 20:02
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants