emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.93k stars 449 forks source link

feat(desktop): support expand and collapse all tree nodes #1775

Closed ysfscream closed 1 month ago

ysfscream commented 1 month ago

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

Please describe the current behavior and link to a relevant issue.

Issue Number

Example: #1244

What is the new behavior?

  1. The feature allows users to expand and collapse all tree nodes.
  2. Add the Topic Tree Utils test cases.
  3. Add unit tests for globalEventBus
image

Does this PR introduce a breaking change?

Specific Instructions

Are there any specific instructions or things that should be known prior to review?

Other information