waveterm/wavesrv/pkg
Red J Adaya 50203a6934
Simplified terminal theming (#570)
* 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)
2024-04-23 23:22:35 -07:00
..
bookmarks Move bookmarks, history, playbook, and telemetry code out of sstore (#493) 2024-03-25 20:20:52 -07:00
bufferedpipe Sudo Caching (#573) 2024-04-16 16:58:17 -07:00
cmdrunner Simplified terminal theming (#570) 2024-04-23 23:22:35 -07:00
comp zsh support (#227) 2024-01-16 16:11:04 -08:00
configstore Simplified terminal theming (#570) 2024-04-23 23:22:35 -07:00
dbutil big update to screen/session delete, and clear (#199) 2023-12-27 13:11:53 -08:00
ephemeral Support running ephemeral commands (#543) 2024-04-02 15:46:32 -07:00
history Move bookmarks, history, playbook, and telemetry code out of sstore (#493) 2024-03-25 20:20:52 -07:00
keygen Fixing linting errors in unused keygen function (#135) 2023-12-12 14:17:03 -08:00
mapqueue add license notice (#37) 2023-10-16 21:31:13 -07:00
pcloud Move bookmarks, history, playbook, and telemetry code out of sstore (#493) 2024-03-25 20:20:52 -07:00
playbook Move bookmarks, history, playbook, and telemetry code out of sstore (#493) 2024-03-25 20:20:52 -07:00
releasechecker Update dependencies (#383) 2024-03-05 16:12:52 -08:00
remote activity updates for v0.7.3 (#600) 2024-04-23 17:40:14 -07:00
rtnstate more zsh reinitialization fixes (allow user input during initialization process) (#480) 2024-03-20 23:38:05 -07:00
scbase Simplified terminal theming (#570) 2024-04-23 23:22:35 -07:00
scbus reinit updates (#500) 2024-03-27 00:22:57 -07:00
scpacket activity updates for v0.7.3 (#600) 2024-04-23 17:40:14 -07:00
scws Simplified terminal theming (#570) 2024-04-23 23:22:35 -07:00
shparse zsh support (#227) 2024-01-16 16:11:04 -08:00
sstore Simplified terminal theming (#570) 2024-04-23 23:22:35 -07:00
telemetry activity updates for v0.7.3 (#600) 2024-04-23 17:40:14 -07:00
userinput Sudo Caching (#573) 2024-04-16 16:58:17 -07:00
waveenc Sudo Caching (#573) 2024-04-16 16:58:17 -07:00
wsshell add license notice (#37) 2023-10-16 21:31:13 -07:00