Commit Graph

1651 Commits

Author SHA1 Message Date
Red Adaya
80e1e3ce55 re-render terminal when theme is updated 2024-04-15 20:06:34 +08:00
Red Adaya
85886afeb4 fix validation 2024-04-15 20:03:07 +08:00
Red Adaya
567e5b662c reload terminal when styel block is unmounted and mounted 2024-04-15 19:52:09 +08:00
Red Adaya
6b5d2833eb use themes coming from backend 2024-04-15 13:30:12 +08:00
Red Adaya
b10910d229 make methods cohesive 2024-04-15 10:02:51 +08:00
Red Adaya
a7e6224862 use UpdatePacket for theme changes as well 2024-04-14 23:07:51 +08:00
Red Adaya
5476b45f22 save work 2024-04-14 22:42:00 +08:00
Red Adaya
efcd8ad03a save work 2024-04-12 14:57:42 +08:00
Red Adaya
03acda07b5 cleanup 2024-04-11 22:34:26 +08:00
Red Adaya
32342629c8 trigger componentDidUpdate when switching tabs and sessions 2024-04-11 22:27:46 +08:00
Red Adaya
d2ddf7bc58 working 2024-04-11 22:02:53 +08:00
Red Adaya
01fb217785 save work 2024-04-11 21:55:55 +08:00
Red Adaya
e5d3db7631 save work 2024-04-11 17:35:32 +08:00
Red Adaya
c24e99e9ff save work 2024-04-11 14:31:34 +08:00
Red Adaya
65cab8a59a add label to tab settings terminal theme dropdown 2024-04-10 14:58:53 +08:00
Red Adaya
c737c9df57 add key and value validation 2024-04-10 10:14:33 +08:00
Red Adaya
17cc4769af fix issue where line in history view doesn't reflect the terminal theme 2024-04-10 09:21:13 +08:00
Red Adaya
b4d04c3a57 merge main 2024-04-10 09:09:34 +08:00
Mike Sawka
73e5515e17
when the window gets focus, if our mainview is session (and no modals are open), refocus either the cmdinput or the cmd (#562) 2024-04-09 11:48:34 -07:00
Mike Sawka
6919dbfb5f
force our exit trap to always run (for rtnstate commands) (#556)
* add command validation to shellapi.  mock out bash/zsh versions

* implement validate command fn bash and zsh

* test validate command

* change rtnstate commands to always end with a builtin, so we always get our exit trap to run

* simplify the rtnstate modification, don't add the 'wait' (as this is a different problem/feature)

* update schema
2024-04-09 11:33:23 -07:00
Evan Simkowitz
1f5309e097
undo text cursor on prompt area (#559) 2024-04-08 13:47:03 -07:00
Evan Simkowitz
af7cc866d3
Make cmdinput prompt smaller, properly handle select events to take priority over onclick (#558) 2024-04-08 13:15:33 -07:00
Evan Simkowitz
37e56acf63
Cleanup unused variables in workspaceview (#557) 2024-04-08 10:17:26 -07:00
Mike Sawka
70088afdb5
daystr custom func (#555)
* working on daystr funcs

* daystr custom function
2024-04-05 22:42:22 -07:00
Evan Simkowitz
455790416d
Clean up the input model's auxiliary view logic (#553)
* Clean up the input model's auxiliary view logic

* fix

* save work

* rename appconst

* fix keybindings

* remove debugs

* Add comments

* fix focus order

* givefocus whenever focus var is updated, don't update if nothign changes

* remove debug statements

* one more debug

* revert unnecessary newline

* remove cmdinput placeholder to allow for better window resizing
2024-04-05 17:39:27 -07:00
Cole Lashley
eed234a131
added codeedit keybinding fix (#554) 2024-04-05 13:01:51 -07:00
Red J Adaya
5a6575a393
Copy button (#550)
* cop button

* cleanup

* fix wrong type

* updates to try to set the cmdinput position (as well as text).  fix button alignment, change checkmark to green (and extend), and remove the transition from parent component and move to copy (sawka)
2024-04-05 12:06:04 -07:00
Sylvie Crowe
84cea373a8
SSH Bugfixes Early April 2024 (#551)
* fix: add vix for missing known_hosts file

In a recent cleanup, I accidentally deleted this fix from before. This
adds it back.

* chore: clarify that the ssh should use private key
2024-04-05 10:54:12 -07:00
Mike Sawka
181e14f55c
try to detect and return mimetype with stream file info (#552) 2024-04-05 10:52:04 -07:00
Evan Simkowitz
1c23701181
Clean up styling and focus behavior for cmdinput (#546)
* Clean up cmdinput

* Remove unused css styles, clicking on textarea will focus back to textarea without closing history

* cleanup logic for activating textarea

* actions buttons should always show, should properly disable inactive views

* clicking actions toggles the view

* remove titlebar spacer, clean up padding

* Make AIChat and HistoryInfo share a common layout

* fix ai chat scroll

* clean up formatting

* fix chat textarea resizing

* align prompt and input

* update infomsg to use auxview

* update comments

* fix widths and key error

* add todo

* adjust padding for input, remove debug

* Don't capture clicks on the prompt area
2024-04-04 19:29:43 -07:00
Cole Lashley
0fe767cdf3
Bugfixes for ai chat code select (#537)
* added uuid to code select to fix some render related bugs

* added input popup type, and fixed aichat computed condition

* fixed stash artifacts
2024-04-04 16:58:26 -07:00
Mike Sawka
097623ab51
have initial run-command return faster to the frontend for quicker updating (#549)
* have initial run-command return faster to the frontend for quicker updating.  cuts time from 70-80ms down to 20ms for an average command

* remove wlogs

* more logging cleanup

* fix focus for when start cmd returns an error
2024-04-04 15:08:45 -07:00
Red Adaya
5e4eb738b3 remove file from another branch 2024-04-04 22:02:07 +08:00
Red Adaya
936e9fa7b4 cleanup 2024-04-04 11:15:38 +08:00
Red Adaya
af6486e8bb remove old implementation 2024-04-04 11:11:08 +08:00
Red Adaya
1038a08789 revert changes in tabs2.less 2024-04-04 11:09:32 +08:00
Red Adaya
7a377c4a2a loadThemeStyles doesn't have to be async 2024-04-04 11:08:04 +08:00
Red Adaya
8afa62fff2 cleanup 2024-04-04 11:04:34 +08:00
Red Adaya
97595a7718 working 2024-04-04 11:02:27 +08:00
Red Adaya
e4d353b5c1 remove selector prop from StyleBlock 2024-04-04 07:34:38 +08:00
Red Adaya
2462c64793 selector should always be :root 2024-04-04 07:33:10 +08:00
Red Adaya
b451ee1ef9 change prop from classname to selector 2024-04-04 07:21:26 +08:00
Red J Adaya
9de25e4869
truncate labels (#544) 2024-04-03 09:55:36 -07:00
Red Adaya
2c64668382 ability to inherit root styles 2024-04-03 22:22:05 +08:00
Red Adaya
de21303fb1 root level 2024-04-03 22:12:48 +08:00
Red Adaya
f6cdd53fd4 StyleBlock in elements dir 2024-04-03 20:50:47 +08:00
Red Adaya
840b69d100 reusable StyleBlock component 2024-04-03 20:48:13 +08:00
Red Adaya
683c66f386 save work 2024-04-03 16:37:15 +08:00
Evan Simkowitz
a139633375
Send NumRunningCommands updates via the main bus, regardless of where other updates are being sent (#545) 2024-04-02 18:47:54 -07:00
Evan Simkowitz
ccc63937b6
Support running ephemeral commands (#543)
* initial

* save work, starting to add backend types

* save work

* save work

* Add EphemeralWriteCloser

* Command pipes thru, triggers infinite loop

* save debugging

* fix bad merge

* save debug statements

* fixing spaghetti

* clean up code

* got cwd override working

* Add separate paths for stdout and stderr writers

* fix stdout/stderr

* env vars are now working

* revert waveshell changes

* Making EphemeralWriteCloser into a more generic BufferedPipe

* formatting

* comment

* delete unused package

* more naming changes

* add package comment

* add UsePty to EphemeralRunOpts

* document UsePty

* ensure only one downstream writer can read from the buffer

* store pointer to syncs

* remove inshellisense stuff for now

* remove debugs

* revert yarn

* remove unnecessary debugs in main-server

* more debugging removed

* revert tsconfig
2024-04-02 15:46:32 -07:00