waveterm/wavesrv/pkg/sstore
Red J Adaya ca5117cda0
Terminal theming (#485)
* init

* use setStyleVar

* backend implementation. scrope level terminal theming.

* only invoke this.applyTermTheme for keys that are updated. command runner for global term theme

* invoke applyTermTheme for global terminal themes as well

* fix nil error

* fix issue were theme can't be found

* fix issue where selected termtheme is not set as default value

* term theme switcher for session

* do not force reload after setting css vars

* fix issues. screenview terminal theme switcher

* remove debugging code

* move getTermThemes to util

* fix global theme reset

* fix workspace theme reset

* fix screenview terminal theme reset issue

* cleanup

* do not apply theme if theme hasn't changed

* do not apply theme if theme hasn't changed in workspace view

* cleanup

* cleanup

* force reload terminal

* fix inconsistency

* fix reset issue

* add a mobx reaction so that theming working when switching sessions

* workig reset

* simplify and cleanup

* refactor

* working global and session terminal theming

* add check

* perf improvement

* more perf improvements

* put reaction componentDidUpdate to make sure ref is already associated to the element

* cleanup

* fix issue where session theme is overriden by global theme on reload

* reduce flickering on reload

* more on reducing flickering on reload

* cleanup

* more cleanup

* fix file not found when no global theme is set

* screen level terminal theming

* update comment

* re-render terminal in history view. cleanup.

* cleanup

* merge main
2024-04-01 23:41:24 -07:00
..
dbops.go update statediff algorithm for wavesrv / remote instances (#530) 2024-03-28 16:56:39 -07:00
fileops.go Break model update code out of sstore (#290) 2024-02-15 16:45:47 -08:00
map.go add license notice (#37) 2023-10-16 21:31:13 -07:00
memops.go code to restore indicator state on refresh (#260) 2024-01-29 23:51:01 -08:00
migrate.go Restart command (#253) 2024-01-26 16:25:21 -08:00
quick.go add license notice (#37) 2023-10-16 21:31:13 -07:00
sstore_migrate.go zsh support (#227) 2024-01-16 16:11:04 -08:00
sstore.go Terminal theming (#485) 2024-04-01 23:41:24 -07:00
updatetypes.go Move bookmarks, history, playbook, and telemetry code out of sstore (#493) 2024-03-25 20:20:52 -07:00