waveterm/pkg/wcore
Evan Simkowitz aa77b2c259
Pinned tabs (#1375)
![image](https://github.com/user-attachments/assets/a4072368-b204-4eed-bb65-8e3884687f9a)

This functions very similarly to VSCode's pinned tab feature. To pin a
tab, you can right-click on it and select "Pin tab" from the context
menu. Once pinned, a tab will be fixed to the left-most edge of the tab
bar, in order of pinning. Pinned tabs can be dragged around like any
others. If you drag an unpinned tab into the pinned tabs section (any
index less than the highest-index pinned tab), it will be pinned. If you
drag a pinned tab out of the pinned tab section, it will be unpinned.
Pinned tabs' close button is replaced with a persistent pin button,
which can be clicked to unpin them. This adds an extra barrier to
accidentally closing a pinned tab. They can still be closed from the
context menu.
2024-12-04 13:34:22 -08:00
..
block.go Add recursive flag to prevent unwanted deletion of parents while they're already being deleted (#1378) 2024-12-03 18:39:06 -08:00
wcore.go Pinned tabs (#1375) 2024-12-04 13:34:22 -08:00
window.go Pinned tabs (#1375) 2024-12-04 13:34:22 -08:00
workspace.go Pinned tabs (#1375) 2024-12-04 13:34:22 -08:00