正在加载视频...

视频加载失败

Why is panel layout such a special-case concept in so many programs?

65,451 次观看 • 1 年前 •via X (Twitter)

9 条评论

Ryan Fleury 的头像
Ryan Fleury1 年前

It's almost like you'd want some kind of underlying UI substrate or mechanism... provided by some kind of... hm... opera- yes! OPERATING SYSTEM... perhaps made by a company called MICROSOFT... which natively provides tab/panel/windowing mechanisms that provides what everyone implements separately today!!!

ivereadthesequel 的头像
ivereadthesequel1 年前

Am I not seeing this right or did it take a half second for the sidebar to change sides in their video? lol So how many cases do you need to handle for panel movement? Is it just drop in window, drop between windows, or drop into tab list?

Ryan Fleury 的头像
Ryan Fleury1 年前

You are seeing that correctly, and it was posted without anyone noticing :( In RADDBG the panels are implemented as an n-ary tree. Each set of children subdivide some space on one axis. For drag/drop, you have a number of drop sites, which just encode a move from one spot in the n-ary tree to another. You have fine-grained ones, like dropping onto an existing panel, or into a tab bar, or you have "splitting" ones, which exist between boundaries between existing nodes in the tree.

ᴍᴀʀᴛɪɴ • 76/ʜᴀʟᴛ • ᴄᴏʜᴇɴ 的头像
ᴍᴀʀᴛɪɴ • 76/ʜᴀʟᴛ • ᴄᴏʜᴇɴ1 年前

Give them a break—it's JS! It's like Doom in PDF, but you realize you don't know what Doom or PDF is by the time you're done.

Won 的头像
Won1 年前

They somehow manage to make it worse than what they did with Visual Studio (no Code)

Thomas Trummer 的头像
Thomas Trummer1 年前

The sad thing is that (the "real") Visual Studio does this correctly for decades now.

Ryan Fleury 的头像
Ryan Fleury1 年前

If by "correctly" you mean "crashes when you drag a panel around, and only some of the panels are draggable", then... I guess?

valigo 的头像
valigo1 年前

it also takes like a full second for vscode to changes sides lol

Andy 的头像
Andy1 年前

What.. what is this? Looks so good.

相关视频