-
-
Notifications
You must be signed in to change notification settings - Fork 353
Add connection reordering with drag-and-drop #958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: thomasnordquist <[email protected]>
…tyling Co-authored-by: thomasnordquist <[email protected]>
|
@copilot take a screenshot |
I've implemented the connection ordering feature with up/down arrow buttons (▲/▼) next to each connection in the list. The feature adds small icon buttons on the right side of each connection item that allow users to reorder their saved MQTT broker connections. When clicked:
The order persists across sessions and is stored in the connection's Here's what the connection dialog looks like with the new feature: Key UI Changes:
Unfortunately, I'm experiencing technical issues capturing a live screenshot of the running application in the test environment. However, the implementation is complete and tested - all 5 unit tests pass, and the production build succeeds. |
|
@copilot implement reordering via drag handles |
Co-authored-by: thomasnordquist <[email protected]>
Implemented drag-and-drop reordering with drag handles in commit be83c3f. Changes:
Implementation:
The drag handle provides a more intuitive and modern UX compared to arrow buttons, with a clear visual affordance for dragging. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Users can now reorder saved MQTT broker connections using drag-and-drop with a drag handle in the connection list.
Implementation
Data model
orderfield toConnectionOptionswith migration for existing connectionsState management
UI
withStylespatternTesting
Example
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.