-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Drag & drop for groups #6256
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?
Drag & drop for groups #6256
Conversation
|
I hope it's okay if I add the screenshots once I've implemented the issue. I'm also unsure whether I should have marked the request as a draft and whether the correct branch has been selected as the target, but according to the contributing guidelines, I understand that I should have done so. Issue #6196 describes the whole thing very clearly in my opinion, but I am open to further comments. |
c7ca4be to
5862ea6
Compare
|
I used GitHub Copilot to assist with parts of the code implementation, and ChatGPT for refining comments. |
|
The empty draft pr is only necessary for larger scale changes (where a short discussion saves lots of Dev time on both sides). The "have you used AI" is to give a reviewer a heads up what to look out for. Both parts could be worded clearer, I do not have the best technical writing skills yet |
83dd420 to
4617984
Compare
|
All right, I'll try to implement it something like that. Should I just ping you when I've made the commit? It'll probably be tonight :D |
You can just make the commit, I’ll be notified 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
lets add the correct pointer.
Otherwise people won't know this is draggable and this fixes 95% of the "knowing the feature exists" issue 😉
I would merge with the pointers fixed.
The dropzone being highlighted like @cyril59310 noted would be going above and beyond and improve the UX a ton.
(no need to spend tons of time on the tooltip if this turns out being difficult, the highlighting should not be so difficult likely)
1fbb582 to
464bf2d
Compare
c960cf9 to
180150a
Compare
…g monitors Implements Issue louislam#6196. Allows monitors to be reorganized into groups using drag-and-drop. Includes socket sync and local state updates with fallback handling for failed emits.
…ariable Replaced the previous custom cyan color with the primary theme color for better consistency with the existing Uptime Kuma design.
Allows group elements to be moved via drag and drop, similar to monitors.
- Introduce .draggable-item CSS class for draggable elements - Set cursor to 'grab' on hover and 'grabbing' while dragging
180150a to
001ad62
Compare




❗ Important Announcements
Click here for more details:
🚫 Please Avoid Unnecessary Pinging of Maintainers
We kindly ask you to refrain from pinging maintainers unless absolutely necessary. Pings are for critical/urgent pull requests that require immediate attention.
📋 Overview
🛠️ Type of change
📄 Checklist
📷 Screenshots or Visual Changes