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.64k stars 428 forks source link

Improve the Desktop Backup Import #1701

Closed ysfscream closed 1 week ago

ysfscream commented 2 weeks ago

PR Checklist

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

What is the current behavior?

Data import does not allow file path updates. You can only select files via Dialog.

Can not import extensive data included on backup file.

Issue Number

Example: #1696

What is the new behavior?

You can now update the file content by manually inputting a new path, not just by selecting the file via Dialog.

Support showing importing progress, allowing users to monitor the current status.

image image

Does this PR introduce a breaking change?

Specific Instructions

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

Other information