An open-source, cross-platform terminal for seamless workflows
Go to file
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
.github bump node version 2024-08-01 02:18:27 -07:00
.storybook Make magnify icon always visible, transition from magnify to minimize (#197) 2024-08-05 16:13:26 -07:00
.vscode Fix yaml formatting (#121) 2024-07-18 15:53:20 -07:00
build remove wails deps 2024-06-12 11:58:17 -07:00
cmd POC showing how statfile can call the conn wshclient to get file info (#242) 2024-08-16 18:45:45 -07:00
db adding telemetry updates (#209) 2024-08-08 18:24:54 -07:00
emain Use Window Controls Overlay API for native-like experience on Windows and Linux (#240) 2024-08-16 23:45:22 -07:00
frontend Use Window Controls Overlay API for native-like experience on Windows and Linux (#240) 2024-08-16 23:45:22 -07:00
pkg POC showing how statfile can call the conn wshclient to get file info (#242) 2024-08-16 18:45:45 -07:00
public try adding the wave logo to header 2024-08-06 16:41:00 -07:00
scripts/artifacts update readme 2024-08-16 18:17:10 -07:00
.editorconfig Fix prettier formatting 2024-05-28 12:12:28 -07:00
.gitignore Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
.prettierignore Add filewatcher for config files (#63) 2024-06-19 23:59:41 -07:00
.yarnrc.yml Fix prettier formatting 2024-05-28 12:12:28 -07:00
electron-builder.config.cjs Add auto updater configuration (#122) 2024-07-18 16:55:04 -07:00
electron.vite.config.ts Make magnify icon always visible, transition from magnify to minimize (#197) 2024-08-05 16:13:26 -07:00
eslint.config.js Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
go.mod Windows Pty (#206) 2024-08-09 18:49:35 -07:00
go.sum Windows Pty (#206) 2024-08-09 18:49:35 -07:00
index.html Simplify frontend/wave path in index.html (#48) 2024-06-13 17:00:07 -07:00
LICENSE Setup the Build Helper pipeline (#116) 2024-07-17 22:39:22 -07:00
package.json Bump the storybook group with 8 updates (#235) 2024-08-16 11:36:58 -07:00
prettier.config.cjs Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
README.md Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
Taskfile.yml SSH Wsh Install (#225) 2024-08-15 21:32:08 -07:00
tsconfig.json modals component and model and TOS modal (#164) 2024-07-30 11:44:19 -07:00
version.cjs Get version for Taskfile from version.js (#49) 2024-06-13 18:11:21 -07:00
vitest.config.ts Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
yarn.lock Bump the storybook group with 8 updates (#235) 2024-08-16 11:36:58 -07:00

The Next Wave

Prereqs:

You'll need to install "task" (which we're using as a build/run system):

brew install go-task

On first checkout:

yarn
go mod tidy

Then, run the following command to start the app using the Vite dev server (this will enable Hot Module Reloading):

task electron:dev

To run the app without the dev server, run the following instead:

task electron:start