We have React-DnD implemented as a dependency, and already used on new tab page.
React-DnD is a great library and since it's already implemented, could be useful for all features that require drag-n-drop. In this case, tabs.
Setting as backlog until we can deep dive on it setting to 1.2.0
Specific issue: #6033
It would be great to be able to drag + drop between windows, to group tabs by topic, ie:
These 10 have to do with a vacation
These 15 tabs in this window are for this project
etc
Assigning over to @cezaraugusto who did a great job with the New Tab page (which uses the mentioned React-DnD library) :smile:
@cezaraugusto let's check this one out AFTER you finish with these two issues:
https://github.com/brave/browser-laptop/pull/5918 (~tabs responsiveness~)
https://github.com/brave/browser-laptop/issues/5979 (~pref for always allow fullscreen~)
cc: @bbondy
@lifeinchords good call- we have an issue specifically tracking that if you wanted to subscribe :smile:
Check it out here: https://github.com/brave/browser-laptop/issues/4402
cc: @bradleyrichter per our recent discussions
One of the behaviors he wanted to address was accidental tab tear off. We may choose to restrict the Y axis (have to drag more than 20px above or below the tab, etc).
@bradleyrichter can you help me break this task into several tangible tasks? Like
edit: updated original issue
I agree this needs work, the "accidental tab tear off" is a big annoyance for me.
It happens extremely often when switching tabs with the mouse (maybe HiDPI also has a negative effect here), and sometimes the torn-off tabs do not even want to re-integrate at all.
@petemill is on the scene, doing a deep dive on all things tab DnD.
https://github.com/brave/browser-laptop/pull/10686
We are modeling Chrome but dealing with some challenges that come with Electron.
@petemill - just updating plan of record to pull out the easy fix and jettison the rest. :D
Marking as wontfix since we'll get this for free with Brave Core
Most helpful comment
It would be great to be able to drag + drop between windows, to group tabs by topic, ie:
These 10 have to do with a vacation
These 15 tabs in this window are for this project
etc