waveterm/frontend/app
Evan Simkowitz edfe711eda
Use Window Controls Overlay API for native-like experience on Windows and Linux (#240)
This PR implements the [Window Controls Overlay
API](https://web.dev/articles/window-controls-overlay) to let us hide
the menu bar on Windows and Linux and directly embed the window controls
in our tab bar. With #239 merged, we no longer need the menu bar on
these platforms.

The overlaid window controls are transparent so they will take on the
background from the app. I've updated the tab bar to flow properly using
the API's CSS environment variables.

At some point, we may want to update the logic around the symbolColor so
that it can ensure a proper contrast between the background and the
symbols in the window controls. For now, setting them to white works for
all the backgrounds we currently support.

![image
(2)](https://github.com/user-attachments/assets/7610f10b-9696-435c-9a2d-a435bee9fadb)


https://github.com/user-attachments/assets/8d19b512-5281-42b9-8abb-ccb9b850061f
2024-08-16 23:45:22 -07:00
..
asset Make magnify icon always visible, transition from magnify to minimize (#197) 2024-08-05 16:13:26 -07:00
block Remove double-click on block header to magnify (#233) 2024-08-15 17:49:34 -07:00
element Create reduced motIon setting (#226) 2024-08-14 21:47:09 -07:00
hook CPU Plot (#185) 2024-07-31 14:13:36 -07:00
modals modals component and model and TOS modal (#164) 2024-07-30 11:44:19 -07:00
store POC showing how statfile can call the conn wshclient to get file info (#242) 2024-08-16 18:45:45 -07:00
tab Use Window Controls Overlay API for native-like experience on Windows and Linux (#240) 2024-08-16 23:45:22 -07:00
view POC showing how statfile can call the conn wshclient to get file info (#242) 2024-08-16 18:45:45 -07:00
workspace move widgets to left, fix some paddings 2024-08-09 11:49:19 -07:00
app.less modals component and model and TOS modal (#164) 2024-07-30 11:44:19 -07:00
app.tsx Fix Cmd:W to delete block (#238) 2024-08-16 11:40:10 -07:00
mixins.less directory preview fixes (#130) 2024-07-25 21:14:21 -07:00
reset.less port to electron (#33) 2024-06-11 17:42:10 -07:00
theme.less disable drag when there's a magnified node 2024-08-15 15:03:15 -07:00