mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-31 18:18:02 +01:00
50203a6934
* save work * reusable StyleBlock component * StyleBlock in elements dir * root level * ability to inherit root styles * change prop from classname to selector * selector should always be :root * remove selector prop from StyleBlock * working * cleanup * loadThemeStyles doesn't have to be async * revert changes in tabs2.less * remove old implementation * cleanup * remove file from another branch * fix issue where line in history view doesn't reflect the terminal theme * add key and value validation * add label to tab settings terminal theme dropdown * save work * save work * save work * working * trigger componentDidUpdate when switching tabs and sessions * cleanup * save work * save work * use UpdatePacket for theme changes as well * make methods cohesive * use themes coming from backend * reload terminal when styel block is unmounted and mounted * fix validation * re-render terminal when theme is updated * remove test styles * cleanup * more cleanup * revert unneeded change * more cleanup * fix type * more cleanup * render style blocks in the header instead of body using portal * add ability to reuse and dispose TermThemes instance and file watcher * remove comment * minor change * separate filewatcher as singleton * do not render app when term theme style blocks aren't rendered first * only render main when termstyles have been rendered already * add comment * use DoUpdate to send themes to front-end * support to watch subdirectories * added support for watch subdirectories * make watcher more flexible so it can be closed anywhere * cleanup * undo the app/main split * use TermThemesType in creating initial value for Themes field * simplify code * fix issue where dropdown label doesn't float when the theme selected is Inherit * remove unsed var * start watcher in main, merge themes (don't overwrite) on event. * ensure terminal-themes directory is created on startup * ah, wait for termThemes to be set (the connect packet needs to have been processed to proceed with rendering)
39 lines
1.1 KiB
Modula-2
39 lines
1.1 KiB
Modula-2
module github.com/wavetermdev/waveterm/wavesrv
|
|
|
|
go 1.22
|
|
|
|
toolchain go1.22.0
|
|
|
|
require (
|
|
github.com/alessio/shellescape v1.4.1
|
|
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2
|
|
github.com/creack/pty v1.1.18
|
|
github.com/fsnotify/fsnotify v1.6.0
|
|
github.com/golang-migrate/migrate/v4 v4.16.2
|
|
github.com/google/go-github/v60 v60.0.0
|
|
github.com/google/uuid v1.3.0
|
|
github.com/gorilla/mux v1.8.0
|
|
github.com/gorilla/websocket v1.5.0
|
|
github.com/jmoiron/sqlx v1.3.5
|
|
github.com/kevinburke/ssh_config v1.2.0
|
|
github.com/mattn/go-sqlite3 v1.14.16
|
|
github.com/sashabaranov/go-openai v1.9.0
|
|
github.com/sawka/txwrap v0.1.2
|
|
github.com/wavetermdev/waveterm/waveshell v0.0.0
|
|
golang.org/x/crypto v0.17.0
|
|
golang.org/x/mod v0.10.0
|
|
golang.org/x/sys v0.15.0
|
|
mvdan.cc/sh/v3 v3.7.0
|
|
)
|
|
|
|
require (
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
go.uber.org/atomic v1.7.0 // indirect
|
|
)
|
|
|
|
replace github.com/wavetermdev/waveterm/waveshell => ../waveshell
|
|
|
|
replace github.com/kevinburke/ssh_config => github.com/wavetermdev/ssh_config v0.0.0-20240306041034-17e2087ebde2
|