lensai icon indicating copy to clipboard operation
lensai copied to clipboard

Suggestion: ability to manually edit tab hierarchy

Open Flanr4 opened this issue 6 months ago • 8 comments

The suggestion is to add four new capabilities:

  • To manually change a tab's parent
  • To promote a child tab to become the parent (swapping their positions)
  • To make tabs standalone or convert them to child tabs
  • To move a tab up or down in the hierarchy

Of course, I’m not insisting on these features; they’re more like ideas that could be implemented if feasible

Flanr4 avatar May 25 '26 20:05 Flanr4

Great suggestions @Flanr4 ! I already finished implementing it. Please wait for the next alpha and let me know how you like it.

FaFre avatar May 26 '26 08:05 FaFre

@FaFre That is impressive dedication. The speed of implementation speaks volumes

I'll try to share feedback as soon as the new alpha is out. Thank you for your great work on this

Flanr4 avatar May 26 '26 09:05 Flanr4

@FaFre unfortunately, moving a tab up or down in the hierarchy doesn’t seem to do anything

Options for assigning a parent and converting to a standalone tab are working fine. Will let you know if I find any bugs

Tested on alpha-2

Flanr4 avatar May 26 '26 17:05 Flanr4

The move is only working within the current hierarchy level. I already found some bugs that reset the reassignment of tabs to the original parent after app restarts or other events (due to engine limitations) - will be fixed in the upcoming release.

FaFre avatar May 26 '26 17:05 FaFre

It's strange, moving a tab up in the hierarchy isn't working for me even with a fresh profile and tabs

Flanr4 avatar May 26 '26 18:05 Flanr4

The move is only working within the current hierarchy level. I already found some bugs that reset the reassignment of tabs to the original parent after app restarts or other events (due to engine limitations) - will be fixed in the upcoming release.

Can you consider changing your browser from flutter to Kotlin? Kotlin is more efficient than flutter on Android

jiegengxiangjianxue avatar May 27 '26 11:05 jiegengxiangjianxue

@Flanr4 I think there is a confusion, it is reordering the tab, not changing its hierarchy. Probably I need to clarify that. Now you can also drag n drop a tab onto another the re-parent.

@jiegengxiangjianxue al performance relevant parts run natively in Kotlin, Rust or C. Flutter only affects the UI not the browsing experience/speed.

FaFre avatar May 27 '26 12:05 FaFre

Hmm, I see now. I was suggesting something that can now just as easily be done by changing the parent via drag-and-drop

In any case, changing a tab’s position amongst its siblings isn’t related to the hierarchy, so I think it’s better to move this to a different menu item

Flanr4 avatar May 27 '26 14:05 Flanr4

Has its own menu now

FaFre avatar Jul 08 '26 14:07 FaFre