Commit Graph

1414 Commits

Author SHA1 Message Date
Red Adaya
23b3250f18 remove dayjs import from bookmarks model 2024-02-08 08:41:22 +08:00
Red Adaya
b62977470b cleanup cmd model 2024-02-08 08:40:33 +08:00
Red Adaya
07f2794b1b cleanup clientsettingsview model 2024-02-08 08:37:56 +08:00
Red Adaya
cf27a8baff cleanup bookmarks model 2024-02-08 08:37:17 +08:00
Red Adaya
aace48d42a init 2024-02-08 08:35:30 +08:00
Red Adaya
15d02f3357 remove styles not related to Tooltip 2024-02-06 13:42:09 +08:00
Red Adaya
39d371681c remove styles not related to Toggle 2024-02-06 13:41:23 +08:00
Red Adaya
412c3ac5a2 remove styles not related to TextField 2024-02-06 13:37:15 +08:00
Red Adaya
36484621ec remove styles not related to Status 2024-02-06 13:35:15 +08:00
Red Adaya
72231ead1d SettingsError doesn't need styles cos it uses classnames in app.less 2024-02-06 13:33:42 +08:00
Red Adaya
81c1fd43f7 remove styles not related to ResizableSidebar 2024-02-06 13:31:20 +08:00
Red Adaya
c9a73c2204 RemoteStatusLight no longer used. It's replaced by Status component. 2024-02-06 13:27:58 +08:00
Red Adaya
434f980b49 remove styles not related to PasswordField 2024-02-06 13:26:22 +08:00
Red Adaya
75d462764d NumberField doesn't need styles cos it extends TextField 2024-02-06 13:24:50 +08:00
Red Adaya
c58c88af4e remove styles not related to modal 2024-02-06 13:23:32 +08:00
Red Adaya
05be301ea2 remove styles not related to markdown 2024-02-06 13:22:04 +08:00
Red Adaya
27e5a9154d LinkButton doesn't need styles cos it's extends Button component 2024-02-06 13:19:31 +08:00
Red Adaya
a7d2148bc0 remove styles not related to InputDecoration 2024-02-06 10:28:39 +08:00
Red Adaya
ead75880e1 remove styles not related to InlineSettingsTextEdit 2024-02-06 10:17:18 +08:00
Red Adaya
0bdb50cf91 fix import error 2024-02-06 10:12:32 +08:00
Red Adaya
abf3448f07 InfoMessage conmponent no longer needed 2024-02-06 10:09:01 +08:00
Red Adaya
8988d26867 remove old connections 2024-02-06 09:50:57 +08:00
Red Adaya
a084ca4801 IconButton doesn't need styles because it extends Button 2024-02-06 09:30:10 +08:00
Red Adaya
36e2578a03 remove styles not related to dropdown 2024-02-06 09:26:46 +08:00
Red Adaya
a49487c035 renderCmdText doesn't need styles 2024-02-06 09:15:51 +08:00
Red Adaya
03296043fb remove styles not related to CmdStrCode 2024-02-06 09:10:35 +08:00
Red Adaya
ec797f55ff remove styles not related to checkbox 2024-02-06 09:05:18 +08:00
Red Adaya
550461167b init 2024-02-05 23:08:59 +08:00
Red Adaya
cf5d2ecddf Merge branch 'main' of github.com:wavetermdev/waveterm into split-components-in-common 2024-02-05 23:07:48 +08:00
Red J Adaya
fc65e65f11
remove old connections (#273) 2024-02-03 01:23:10 -03:00
Red J Adaya
cedebe2196
split settings modals (#272) 2024-02-03 01:22:30 -03:00
Red Adaya
c4128cd266 init 2024-02-02 23:26:33 +08:00
Red Adaya
17bb07a47d split settings modals 2024-02-02 16:50:44 +08:00
Red J Adaya
3a9f6dec6d
remove modals.tsx as it's no longer used. rename modals.less to settings.less (#271) 2024-02-02 00:02:45 -03:00
Sylvie Crowe
51ee7bef61
Shellpref for sshconfig import (#270) 2024-01-31 14:11:12 -08:00
Evan Simkowitz
5ce7b92232
Simplify logic for startResizing width calculation (#269)
* Apply Red's suggestion and move width logic to getWidth

* remove unnecessary

* a little more

* remove comment
2024-01-30 22:34:00 -08:00
Evan Simkowitz
81a9e74991
Fix onMouseDown causing width to snap back to persisted width (#268)
* Fix onMouseDown causing width to snap back to persisted width

* var name change

* remove logs

* remove redundant call
2024-01-30 22:23:00 -08:00
Evan Simkowitz
679e85a84a
Fix sidebar width not persisting when un-collapsing (#267)
* Do not persist collapsed width to db

* remove console.logs

* one more

* one more

* remove setTemp from getWidth and add to the startResize call
2024-01-30 22:04:25 -08:00
Evan Simkowitz
da69a0f583
Fix broken merge (#266) 2024-01-30 20:56:32 -08:00
Red J Adaya
37ab1bca90
allow resizing of left sidebar (#244)
* wip

* integrate original sidebar content

* ResizableSidebar component

* trigger toggleCollapse

* remove debugging code

* minor refactor. disable text select on mousemove

* replace icons with fontawesome icons. fix alignment issues

* fix session view width when tabs overflow

* prevent index and icon from shifting when resizing

* snap effect

* minor refactor

* apply collapsed mode to sidebar contents

* change default width to 240px

* backend implementation

* fix wrong subcmd

* save collapsed state

* retore sidebar state on reload/launch

* use collapse data form db on first load. use previously saved width on expand.

* persist width as well collapse state

* various fixes and improvements

* bind methods

* refactor

* more refactor

* fix minor bug

* fix merge issues

* various fixes

* refactor

* fixes

* fix issues

* fix all issues

* resolve undefind tempWidth

* fix toggleCollapsed

* use Promise in stopResizing method

* use tempCollapsed to for real time toggling between logos

* minor method name change

* refactor

* remove debugging code

* fix conflict

* fix setting collapsed state via CLI

* minor refactor

* remove debugging code

* create setTempWidthAndTempCollapsed method

* handle invalid width set via cli

* refactor: setbycli not actually needed

* remove unused code
2024-01-30 20:17:49 -08:00
Evan Simkowitz
40757fa7f4
Prevent the status indicator flickering for quick-returning commands (#265)
* add status-indicator-visible

* save

* save

* Prevent the status indicator flickering for quick returns

* flx regression

* reduce delay, reset spinnerVisible when there's no more running commands

* clean up code reuse

* move code around

* slight optimizations to prevent rendering before spinner is visible

* rename var

* revert shouldSync change as it broke the sync
2024-01-30 16:31:38 -08:00
Evan Simkowitz
e576f7f07d
Sync RotateIcon spin as well (#262)
* Sync RotateIcon spin as well

* make shouldSync a boolean value
2024-01-30 14:16:33 -08:00
Evan Simkowitz
9e804232c2
Fix SidebarItem key error (#263) 2024-01-30 11:54:35 -08:00
sawka
d3dbac6e77 fix missing react key 2024-01-30 11:29:12 -08:00
Mike Sawka
198de02a65
code to restore indicator state on refresh (#260)
* code to restore indicator state on refresh

* fix style
2024-01-29 23:51:01 -08:00
Mike Sawka
8f64d6a589
set animation startTime to sync spinners for status indicators (#259)
* set animation startTime to sync spinners for status indicators

* catch animationstart (hover interaction) to restart startTime.

* use const

---------

Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2024-01-29 23:48:37 -08:00
Evan Simkowitz
1a51d93a54
Fix add-workspace so that only the plus button shows pointer (#258) 2024-01-29 14:10:58 -08:00
sawka
9ab3b2a5b7 only run prettier on js/ts/css/less files 2024-01-29 13:35:09 -08:00
Evan Simkowitz
856c879cdf
Adjust the status indicator icon to make the spinner a little bigger (#257) 2024-01-29 11:03:18 -08:00
sawka
ea3f744d93 bump to v0.6.1 2024-01-29 09:39:36 -08:00