Commit Graph

29 Commits

Author SHA1 Message Date
Red Adaya
9b2a7de8f2 merge main 2024-12-11 08:45:14 +08:00
Mike Sawka
8957e0405a
try to fix drag region above tabs (#1466)
just a temporary fix for now, needs a more extensive fix later
2024-12-10 12:50:58 -08:00
Evan Simkowitz
bedea6d3be
Show hover effect on dragging tab (#1459) 2024-12-10 11:41:37 -08:00
Red Adaya
78f4a5fd1c merge main 2024-12-10 15:33:50 +08:00
Red Adaya
39e9a05720 retain hover effect on mouse leave while still dragging 2024-12-10 13:20:03 +08:00
Evan Simkowitz
edab90aa55
New colors for workspace switcher (#1443)
Also updates workspace switcher button and tab bg colors
2024-12-09 16:24:32 -08:00
Mike Sawka
878a7285ab
implement tab:preset, and increase active tab opacity (#1439) 2024-12-09 14:48:16 -08:00
Red Adaya
772e48db80 save work 2024-12-09 23:48:28 +08:00
Red Adaya
76ec792fe5 refactor showing/hiding of separator for hover and active states 2024-12-09 14:36:48 +08:00
Red Adaya
106975b1f0 merge main 2024-12-05 09:40:04 +08:00
Evan Simkowitz
87aea21184
Better flicker prevention when switching tabs (#1389)
There was still some flicker when nohover took effect before the tab
view actually switched. Now, we override the active tab in the tabbar
when the app is switching tabs. We also override active tab behavior so
that the close button is always visible while nohover is in effect. This
effectively removes the flickering
2024-12-04 17:20:06 -08:00
Red Adaya
7782d6e59f merge main 2024-12-05 09:05:22 +08:00
Evan Simkowitz
d8edea9fbc
Oops i actually made the tabs wrong (#1384)
forgot to update .editorconfig to include scss...
2024-12-04 13:49:14 -08:00
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
Red J Adaya
1b8ac7f8bf
Merge branch 'main' into red/tabs-new-design-2 2024-12-04 22:01:59 +08:00
Red Adaya
b7702acfee fix issues 2024-12-04 14:15:36 +08:00
Evan Simkowitz
29e8929f91
Hack to prevent tabbar flicker when switching tabs (#1379) 2024-12-03 20:08:06 -08:00
Red Adaya
993249583c more on dynamically hiding separators 2024-12-04 08:45:15 +08:00
Red J Adaya
42cbbcdc2a
tabs new design (#1352)
Co-authored-by: sawka <mike@commandline.dev>
Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2024-12-03 13:53:27 -08:00
Red Adaya
e6810fdd36 fix hiding/showing of separating 2024-12-03 20:56:48 +08:00
Red Adaya
2e43d01e6d refactor 2024-11-26 14:47:11 +08:00
Red Adaya
1a09c4ae1c remove before and separator of current hovered tab 2024-11-24 21:20:16 +08:00
Red Adaya
e24c551db4 do not add separator on the last tab 2024-11-23 23:24:48 +08:00
Red Adaya
4b6a84c858 remove transition 2024-11-23 23:23:38 +08:00
Red Adaya
950986657f use theme colors 2024-11-23 23:20:20 +08:00
Red Adaya
390f1e0e4d separator 2024-11-23 22:06:59 +08:00
Red Adaya
6e2d36ba09 separator 2024-11-22 22:59:48 +08:00
Red Adaya
524879ae6f Merge branch 'main' of github.com:wavetermdev/waveterm into red/tabs-new-design 2024-11-22 21:08:34 +08:00
Evan Simkowitz
2e91ee843c
Switch from Less to Scss (#1335)
Less hasn't received an update in over a year and the parser is missing
some modern syntax like relative colors so this switches us to scss
2024-11-21 16:05:04 -08:00