Compare commits

..

468 Commits

Author SHA1 Message Date
sawka 2fa0239c13 resolve typescript errors created from merging PRs 2023-09-07 13:05:02 -07:00
sawka aaaf7af8a1 PE-74 and PE-54
pass isSelected (to prevent multiple scrolling).  also fix initial editorheight to prevent jitter (#19)
2023-09-07 13:02:45 -07:00
sawka 660795ea8f codeview / codeedit commands working (#17)
* server is setting 'mode' linestate to 'view' or 'edit'.  this change sets the editor in readonly mode based on this flag.  (requires the new build of prompt-server)

* apply prettier
2023-09-07 13:01:07 -07:00
sawka e78ea62932 bump mshell to v0.3, add readonly/notfound props. fix one mobx warning (#16) 2023-09-07 12:59:07 -07:00
sawka 7376ed2824 fix all typescript errors (#18) 2023-09-07 12:57:02 -07:00
sawka baeafdce78 bump version to 0.3.0 2023-09-06 19:54:06 -07:00
anandamarsh dee0ae4473 serving moncao from node_modules (#15)
* serving moncao from node_modules

* add monaco-editor to package.json

* allow node_modules/monaco-editor into the build

---------

Co-authored-by: sawka
2023-09-06 19:51:32 -07:00
anandamarsh 52a7e14df8 PE-71 close (#13)
* fixed expand issues

* removed expand

* can close the file, and min 5 lines are

* removed older file

* lag selection took some time :(

* ready for PR

* changed prompt:lang to lang
2023-09-06 16:36:49 -07:00
anandamarsh dff146db66 PE-71 close (#12)
* fixed expand issues

* removed expand

* can close the file, and min 5 lines are

* removed older file
2023-09-06 13:28:05 -07:00
anandamarsh fa04cd9e5c PE-71 (#11)
* fixed expand issues

* removed expand
2023-09-05 15:05:18 -07:00
sawka c81a01aa9c File/Code Editor Working (#9)
* save works

* ready for Fri night PR - Code editor working

---------

Authored-by: Amarsh Anand
2023-09-01 21:44:35 -07:00
sawka 238c8fb250 fix return type of writeRemoteFile, small formatting/fixes 2023-09-01 20:15:48 -07:00
anandamarsh b5e9e34c52 Pe 10 (#8)
* code window is always visible

* gotten resizing done. need more work

* starting on save now

* got save to display message. now need to intergrate with save() handler
2023-09-01 15:57:01 -07:00
sawka 2e18c56471 PE-41 Remote File API (#7)
* added API for read-file

* implement writeRemoteFile -- multipart upload, params/data

* format file, implement readOnly flag on file return from readRemoteFile

* fix model.ts typescript errors

* add usetemp to write-file api

* add GlobalCommandRunner.setLineState()

* implment PE-13, PE-60
2023-09-01 15:20:13 -07:00
anandamarsh af25dc65c2 Pe 11 12 18 (#5)
* ready to tackle the height issue

* height adjusts, but requires some more testing

* removed fullscreen

* height now works

* set font family to  "JetBrains Mono"
2023-08-28 17:00:02 -07:00
anandamarsh 49e0b7212d test (#4)
* test

* language can now be changed

* ready for PR

* ready for PR again
2023-08-23 20:46:47 -07:00
sawka c8cae274bc prettier all the files 2023-08-21 21:37:04 -07:00
sawka 8b473607c7 add prettier to package.json 2023-08-21 21:33:47 -07:00
anandamarsh e7dfa77245 Merge pull request #3 from commandlinedev/CLI-9-Create-a-new-Plugin-called-CodeRenderer
Cli 9 create a new plugin called code renderer
2023-08-21 21:31:31 -07:00
Amarsh Anand c5861fd26f new prettier config 2023-08-21 20:06:17 -07:00
Amarsh Anand d3d31a0121 added monaco 2023-08-21 19:56:53 -07:00
Amarsh Anand 81be0d4b38 first cut ready ... requires discussion with Mike 2023-08-20 17:08:05 -07:00
Amarsh Anand 2ab0f4af4c created CodeRenderer with hardcoded js as lang 2023-08-20 11:27:52 -07:00
sawka 758671adee Merge pull request #1 from commandlinedev/minimize_line
Minimize line
2023-08-17 21:31:52 -07:00
Amarsh Anand 21e6aad6c8 reverted emain 2023-08-17 21:26:49 -07:00
Amarsh Anand 939e452678 undid dev tools 2023-08-17 21:22:00 -07:00
Amarsh Anand 3164208a85 works but the change is too quisk. animation may be the right here 2023-08-17 14:31:24 -07:00
Amarsh Anand 2cbb28eb56 enabled debugging 2023-08-17 13:02:26 -07:00
sawka 139639b990 fix resize event. fix emain communication to local-server (use 127.0.0.1 to force ipv4) 2023-08-14 17:03:32 -07:00
sawka d289026a98 update electron version, rename files to prompt.ts and prompt.less 2023-08-03 14:29:06 -07:00
sawka fb823cfd79 remove more cmdid references 2023-07-30 18:26:25 -07:00
sawka 239f87ac42 updates for converting lines, removing cmdid 2023-07-30 18:24:35 -07:00
sawka 8ee17f5eb3 updates for new cmd/line data 2023-07-30 17:21:36 -07:00
sawka 6e84b1a426 remove fe migration status updates 2023-07-28 11:50:42 -07:00
sawka f5331f989a update some js dependencies, update for new repo names 2023-07-26 14:23:04 -07:00
sawka 985d265b47 remove animation 2023-07-26 10:09:27 -07:00
sawka 3657761976 remove logging errors 2023-05-08 18:03:24 -07:00
sawka d0f540e998 bump to v0.2.3 2023-05-08 17:57:44 -07:00
sawka 24955227c9 remove rendermode tag 2023-05-08 17:55:15 -07:00
sawka 26281e2ec6 got really simple openai support hacked in 2023-05-08 16:07:55 -07:00
sawka aefd982b1d fix height computation 2023-05-05 19:19:48 -07:00
sawka 6ffe0732e0 get chatgpt working inline 2023-05-05 16:13:18 -07:00
sawka 162dd5a7a9 fix expanded command 2023-05-05 13:06:29 -07:00
sawka 957a1e4059 make lineavatar smaller 2023-05-05 13:00:45 -07:00
sawka f9925c9187 allow openai to render as cmd for now 2023-05-04 01:01:38 -07:00
sawka 5e5a31715a css updates, removing collapsed, fix spacing in remotes modal 2023-05-02 12:41:38 -07:00
sawka f2b7637263 refactor css into sub-files 2023-04-25 12:27:41 -07:00
sawka e4a57376f8 v0.2.2 2023-04-17 17:36:30 -07:00
sawka a8c131d8cf more careful checking in setting line overflow. simple one way toggle 2023-04-17 16:19:29 -07:00
sawka 9296e60518 linesettings now works in real-time as well 2023-04-17 15:39:46 -07:00
sawka 86a65dff79 fix width of markdown 2023-04-17 15:22:55 -07:00
sawka ac0467f6c1 fix tabs, display better 2023-04-14 16:57:01 -07:00
sawka 9884e69da0 update session settings (include archive/delete). add delete to screen settings. 2023-04-14 15:32:21 -07:00
sawka 3ebc2090da add json viewer 2023-04-14 13:29:47 -07:00
sawka 6b14cd9de3 move renderers into their own directory 2023-04-14 12:58:27 -07:00
sawka 8b70a7e897 shift up/down arrow do not invoke history 2023-04-13 13:13:24 -07:00
sawka c689043265 better input size handling 2023-04-13 13:02:59 -07:00
sawka 507c79463c simplify focus types, better input focus, add ability to expand main input 2023-04-13 12:55:07 -07:00
sawka 1ef429466b fix input focus 2023-04-13 11:50:28 -07:00
sawka 69058ab39f bump version to v0.2.1 2023-04-12 22:07:52 -07:00
sawka c969966162 updates for showing git branch and venv in prompt -- also for webshare 2023-04-12 14:48:10 -07:00
sawka 88cc9f3096 implement branch/venv in prompt 2023-04-11 23:50:42 -07:00
sawka 810baa0dfb update html title for sharing page 2023-04-05 18:15:53 -07:00
sawka 5bad7b633f fix ts errors 2023-04-05 15:30:38 -07:00
sawka 8c0b9bfa80 fix typo and remove console logs 2023-04-05 15:29:08 -07:00
sawka f9544546fc bug fixes and updates to get prod version of webshare working 2023-04-05 15:11:37 -07:00
sawka 96640bf761 add open in browser link 2023-04-05 00:51:26 -07:00
sawka ea8b61278b get a webshare view working 2023-04-05 00:48:34 -07:00
sawka f492645530 confirm websharing. minor bug fixes, etc (hotkeys, menu edits, etc.) 2023-04-04 23:26:34 -07:00
sawka 1f2967c145 update sharename 2023-04-04 22:28:24 -07:00
sawka cd8e17413d tos, also redo screen settings so settings take affect immediately, working on smoother webshare flow 2023-04-04 21:54:20 -07:00
sawka 84da8264e8 fix textmeasure -- works now for chrome, safari, and firefox 2023-04-04 18:16:56 -07:00
sawka 0b3c7db1d4 inlineedit -- icon and focus 2023-04-04 16:22:42 -07:00
sawka e6aa2bae86 refactor markdown (for alerts), remote cmddone delay 2023-04-04 14:04:44 -07:00
sawka f470b8e66f tweak share-tag, link to settings 2023-04-04 13:44:21 -07:00
sawka 86ab25d6cd tweak background color of alt-views 2023-04-04 13:36:28 -07:00
sawka a46de10f42 commands return CommandRtnType promise. smaller font size for settings 2023-04-04 13:25:05 -07:00
sawka 4d813aa07a bump version to v0.2.0 2023-04-04 09:16:03 -07:00
sawka df4ef2b675 small fixups 2023-04-04 09:01:11 -07:00
sawka 81cb57e48d small changes to work on textwrapping in textarea 2023-04-03 23:17:15 -07:00
sawka a8eafca91b after connections modal closes, refocus 2023-04-03 22:21:57 -07:00
sawka 501e2ac76c add initialzing state to deal with quick data 2023-04-03 22:15:18 -07:00
sawka c1b4b7eb63 cleanup old connections code, more cleanup on the connection flows 2023-04-03 21:33:03 -07:00
sawka b731763746 create a new remote, show connect timeout, move alias to edit remote, fix archiving flow 2023-04-03 18:58:41 -07:00
sawka fb9eaf23f9 hook up remotes into remote command flow 2023-04-03 15:55:03 -07:00
sawka 81f555adcd info-message 2023-04-03 15:53:28 -07:00
sawka bc7446a908 more remotes refactoring 2023-04-03 11:38:53 -07:00
sawka 4cbeccbe38 refactor remotesmodal into its own file with its own model 2023-04-03 11:29:54 -07:00
sawka fc0cbc994a small cleanup on editing style 2023-04-03 01:53:34 -07:00
sawka 443c8155e7 working on new connections modal 2023-04-03 01:39:27 -07:00
sawka 7134a21f6a updates for serving off AWS / cloudfront 2023-04-02 00:19:20 -07:00
sawka 60bbf73b14 add webshare into settings 2023-04-01 22:25:18 -07:00
sawka 8599e2b57c switch to new model of ws notification -> screen update fetch 2023-03-31 21:02:44 -07:00
sawka 10da862942 update position of webshare and webshare-copy link 2023-03-31 21:01:29 -07:00
sawka 0a4de40e34 add rtnstate 2023-03-31 13:26:38 -07:00
sawka 576f67c5a0 fix initial size 2023-03-31 12:34:13 -07:00
sawka 164ae305ce modify todos 2023-03-31 10:09:50 -07:00
sawka 6af8aec315 get renderers working, updates to remove globalmodel dependencies on simplerender. 2023-03-31 00:34:39 -07:00
sawka ab0852b574 implement staticRender and isVisible, and terminalheight/contentheight 2023-03-30 22:50:20 -07:00
sawka a236348e44 webshare controls, sync selected, copy 2023-03-30 22:26:01 -07:00
sawka cf7c25e78d setselectedline 2023-03-30 21:20:30 -07:00
sawka 8ea8b406d3 fix isFirst offsetdelta 2023-03-30 21:20:00 -07:00
sawka 7ea4fb8db4 fix bug with null anchor 2023-03-30 20:54:52 -07:00
sawka 4f4949b406 use LinesView with WebShare 2023-03-30 18:33:37 -07:00
sawka 4d3ca62519 selected lines, webshare url, refactor linesview into its own component 2023-03-30 18:14:52 -07:00
sawka 516761815b removelines and resize width 2023-03-30 13:00:54 -07:00
sawka 62f6be22ea ws merging working 2023-03-30 01:00:04 -07:00
sawka 7609909e6d fix timeout array 2023-03-30 00:07:56 -07:00
sawka 414cd6bf0a webshare websocket implementation 2023-03-29 17:51:42 -07:00
sawka 394a2a9ab3 updates for new webremote, fix bug in cwd computation 2023-03-29 12:42:53 -07:00
sawka 99cf937ffd got terminal rendering working 2023-03-29 01:05:36 -07:00
sawka e83abeaa5b big refactor for webshare, reduce GlobalModel dependencies 2023-03-28 22:53:18 -07:00
sawka 6a42dcf07f working on webshare 2023-03-28 17:02:05 -07:00
sawka ac08af8be0 starting on webshare website 2023-03-28 12:10:11 -07:00
sawka c3159deb57 fix prompt color 2023-03-28 01:05:21 -07:00
sawka 5399283666 fix remote update bug, add 'connect now' button for disconnected remotes 2023-03-27 12:32:26 -07:00
sawka cceb490823 fix mods.ctrl, bind meta-ctrl-[num] to switch session 2023-03-26 23:30:50 -07:00
sawka 3816e908f9 less chatty 2023-03-26 23:07:47 -07:00
sawka 8b2fea604f show shared status/indicator 2023-03-25 12:55:44 -07:00
sawka dcdf04bc82 big performance update for lines, only render 100 lines around anchor. auto-load more. now anchor is an observable and will change what LinesView renders 2023-03-24 18:37:02 -07:00
sawka 11649f4c66 removed line.bookmarked, added screen webshare 2023-03-24 10:46:27 -07:00
sawka 5d24e75803 fix bug with pulling all rtnstate (just pull visible). fix typescript errors 2023-03-23 15:44:19 -07:00
sawka e6b9cc09ec update collapsed indicators 2023-03-23 12:16:45 -07:00
sawka 42e3a95fc6 client settings modal 2023-03-23 12:08:48 -07:00
sawka 74da2ff828 add control-P and control-N 2023-03-23 10:00:45 -07:00
sawka 36a6dd2a9e fix weird resize/scroll bug with losing anchor when focused on last line 2023-03-21 17:08:31 -07:00
sawka c695724166 fix bug with duplicate ids for lines (now handled with refs) 2023-03-20 21:37:45 -07:00
sawka e5490df56c big checkpoint on cmd screen migration 2023-03-20 19:22:52 -07:00
sawka e8ffd4b4b1 center the logo 2023-03-20 00:28:49 -07:00
sawka 874632939d fix another performance issue -- when lines is hidden vismap was set to all true 2023-03-20 00:05:25 -07:00
sawka 31d79b8829 fix 'giveFocus' issue 2023-03-19 23:36:04 -07:00
sawka 651146cab1 improvements to startup and disconnect modal 2023-03-19 14:59:21 -07:00
sawka 2a2d356814 fix settings to always set the correct session/screen 2023-03-17 21:15:42 -07:00
sawka 708cc809a0 fix typescript error 2023-03-17 16:23:35 -07:00
sawka 1ae7d72532 add ctrl-w 2023-03-17 16:21:43 -07:00
sawka c4ae7b51ad better markdown styles for github 2023-03-17 15:56:38 -07:00
sawka fc5900122d hover linesettings 2023-03-17 15:12:34 -07:00
sawka f7e81b14ae send port to server 2023-03-17 15:07:45 -07:00
sawka 920a327f70 finish up basic line settings 2023-03-17 14:46:25 -07:00
sawka b1535b9b9d line settings modal checkpoint 2023-03-17 12:37:10 -07:00
sawka 8ae09f6924 renderers, fix all savedheight issues with layout bounce 2023-03-17 12:17:54 -07:00
sawka ac1bba94d9 checkpoint, simplerender should send onHeightChange events 2023-03-17 10:11:38 -07:00
sawka 7a1166b2fa display ... for loading 2023-03-16 21:51:03 -07:00
sawka bc96a1bbed getting markdown/image simple renderers working 2023-03-16 21:48:30 -07:00
sawka efb63a1466 add screenid to cmd, remove sessionid from screenlines 2023-03-15 18:13:36 -07:00
sawka 962edd1d76 improve quick history display 2023-03-15 11:14:28 -07:00
sawka 5008c82521 remove welcome modal 2023-03-14 21:24:35 -07:00
sawka 6fe54f5fde use screenmap instead of screenlist, some tweaks to hints 2023-03-14 21:15:26 -07:00
sawka b9f10fb9b6 remove more references to window. also add 'archiving' to screen settings 2023-03-14 20:09:59 -07:00
sawka 78bd0d3788 remove windowid 2023-03-14 16:38:26 -07:00
sawka f1aacf82fd session settings modal 2023-03-14 11:48:14 -07:00
sawka d3d540014f screen settings modal 2023-03-14 11:25:42 -07:00
sawka d5007e71cc fix alert modal styling. working on screen settings 2023-03-13 23:36:27 -07:00
sawka 8e4c9172c0 add some hints 2023-03-13 21:56:29 -07:00
sawka 6835a8ea20 small updates 2023-03-13 19:54:41 -07:00
sawka bdf2f92c31 swap order (activescreen needs screens set) 2023-03-13 12:23:13 -07:00
sawka 0afacbd6d2 big update to support screen consolidation 2023-03-13 12:09:17 -07:00
sawka ed6737157b background color black on startup 2023-03-12 17:38:03 -07:00
sawka 5c0454e66f add sharemode 2023-03-12 13:33:56 -07:00
sawka d0138c2627 implement ctrl-u / ctrl-y in cmdinput. also start working on welcome modal 2023-03-07 20:40:30 -08:00
sawka feea45aa19 bump to v0.1.6 2023-03-06 15:52:53 -08:00
sawka 5986ec1398 hide playbooks feature 2023-03-06 15:51:50 -08:00
sawka 1a377a4324 history uses CmdStrCode, now supports use/copy 2023-03-06 15:50:05 -08:00
sawka 4f5c820af3 refactor the cmdstr display element 2023-03-06 14:30:53 -08:00
sawka 61fa23b854 added search filter cmds 2023-03-06 13:57:28 -08:00
sawka 3eadd676ce use new history search api 2023-03-06 11:49:14 -08:00
sawka aae5b81de0 updates for search by day 2023-03-05 13:54:17 -08:00
sawka 778d801b88 copy to clipboard as keyboard command as well 2023-03-05 13:24:29 -08:00
sawka 2e4d3c3da7 copied indicator -- quick flash. add copy button to cmdstr 2023-03-05 12:49:25 -08:00
sawka 04803a6c37 more advanced search options 2023-03-03 18:42:34 -08:00
sawka 80388a7399 scroll to bottom if anchorline is not found 2023-03-03 18:04:53 -08:00
sawka 8a0d58e05d can now purge history items from history view 2023-03-03 13:31:45 -08:00
sawka fb432b3cda submit command now returns a promise. add lines to modelupdate 2023-03-03 12:48:29 -08:00
sawka 68430d33a1 implement alert/confirm modal. some more history view cleanup 2023-03-03 12:38:55 -08:00
sawka a81bf6ec67 fix last line scrolling 2023-03-03 12:06:17 -08:00
sawka e073effe55 working on modal 2023-03-03 10:16:31 -08:00
sawka 58a8d02f9d can preview lines inside of history view. also implement view in context 2023-03-02 23:25:45 -08:00
sawka 075e98c4cf add getCmd to linecontainer 2023-03-02 00:41:16 -08:00
sawka adfec86d8b working on history inbox view 2023-03-02 00:33:10 -08:00
sawka c3d07223f7 change unknown to question mark 2023-02-28 17:51:17 -08:00
sawka 759a0b52c7 update icons for FA6 2023-02-27 18:01:05 -08:00
sawka 1949b76354 collapse mode for screen window view 2023-02-27 15:52:55 -08:00
sawka 779a7f2a18 bump to v0.1.5 2023-02-27 12:27:40 -08:00
sawka 326b8d9b92 switch to fontawesome 6 2023-02-27 12:22:45 -08:00
sawka 9372d3a9d0 allow cmd text expansion 2023-02-27 00:30:17 -08:00
sawka 3cb47da584 get fontsize from clientdata 2023-02-26 14:16:42 -08:00
sawka d11d76c670 always set sw size 2023-02-26 00:04:24 -08:00
sawka 5f92086fd2 model, getclientdata 2023-02-25 23:43:06 -08:00
sawka c66bee7657 put static values for font size, re-render entire window when font size changes 2023-02-25 23:16:58 -08:00
sawka 5e68c6b2f7 get floating point width 2023-02-25 21:11:34 -08:00
sawka 472acd8d99 textmeasure 2023-02-25 21:09:04 -08:00
sawka 037664a1c8 write the full dmg name 2023-02-23 23:47:21 -08:00
sawka 132c0dacde fade in the ... 2023-02-23 23:36:35 -08:00
sawka b415af4772 fix devtool setting 2023-02-23 23:27:05 -08:00
sawka 281d964d86 improve rendering performance 2023-02-23 23:24:26 -08:00
sawka 3b1198d6b7 remove production sourcemap 2023-02-23 19:57:31 -08:00
sawka a7af66be31 regression, input height 2023-02-23 17:51:59 -08:00
sawka 85df0837ad fix other terrible scrollbar display 2023-02-23 17:34:27 -08:00
sawka 8689ece6da start working on terrible scrollbar display 2023-02-23 16:06:44 -08:00
sawka ea3e377f6c updates for client version 2023-02-23 15:19:01 -08:00
sawka 3d0ce6ea27 add close button, refactor bookmarksview to new file 2023-02-23 09:21:37 -08:00
sawka 6c116e54b0 fix invalid reference to this 2023-02-22 16:15:02 -08:00
sawka 654ff3b0b8 stub out shared sessions 2023-02-21 22:42:44 -08:00
sawka 7f3e688475 finish up bookmark functionality 2023-02-21 22:10:45 -08:00
sawka cc5f8f81e7 bookmark editing/delete 2023-02-21 18:02:28 -08:00
sawka 9bb9e1fd5d making progress on bookmarks page. styling markdown. external link handler 2023-02-21 14:05:34 -08:00
sawka aadf9d854d working on bookmarks, fix hover issue 2023-02-21 11:29:54 -08:00
sawka c507769421 working on bookmarks view 2023-02-20 22:32:11 -08:00
sawka e47c31e414 updates for bookmarked/pinned 2023-02-20 18:01:47 -08:00
sawka 088e00f9da bump to version v0.1.4 2023-02-16 15:49:38 -08:00
sawka 9c391db16c remove collapsed feature for now, fix some small issues 2023-02-16 15:47:05 -08:00
sawka 45f107a650 scroll tab into view when selected 2023-02-15 20:48:19 -08:00
sawka 70c7a1ca21 fix padding 2023-02-15 20:35:43 -08:00
sawka 844eb58920 line collapsing 2023-02-15 20:32:17 -08:00
sawka 4429607eb5 refactor the data buffer functionality 2023-02-06 12:08:07 -08:00
sawka 62b9503387 sort working image renderer 2023-02-06 00:31:34 -08:00
sawka 2a1dcd97e9 add stub imagerenderer code 2023-02-05 23:01:27 -08:00
sawka c87d4f787c move reload url code to model from term 2023-02-05 23:01:02 -08:00
sawka 5e7fe63877 more refactoring 2023-02-05 22:07:57 -08:00
sawka bf1f0424a6 add remark / remark-gfm 2023-02-04 20:55:31 -08:00
sawka 237a2b083e small refactor to get ready for renderers 2023-02-03 18:29:07 -08:00
sawka a25deff1a2 working on refactoring out a 'renderer' type from TermWrap 2023-02-03 18:12:50 -08:00
sawka d6e0c038e4 minor updates 2023-02-03 16:26:56 -08:00
sawka ab92fc5f29 bump version of xtermjs 2023-02-03 14:36:17 -08:00
sawka 1d7113d91b stub out some history view code (disabled in UI right now) 2023-02-03 14:26:46 -08:00
sawka 8e77a5f84a fix issue with cmd-r 2023-02-03 14:25:14 -08:00
sawka 590e4d64da better showing of dev builds 2023-02-01 21:44:23 -08:00
sawka 8466dc41ce bump version to v0.1.3 2023-02-01 00:47:39 -08:00
sawka 06aefd358f remove typo 2023-02-01 00:45:48 -08:00
sawka 9aba013e22 always show install options 2023-02-01 00:45:08 -08:00
sawka 38b7bbfff2 setTUR will now set the usedrows into the backend. linetype sends used rows so the screen updates better on first load (perf as well) 2023-02-01 00:27:59 -08:00
sawka d34b879abb make termcontext a union, fix typing 2023-01-31 23:12:16 -08:00
sawka 7fb8c91db7 fix menu, keep hidden toggle dev tools, remove view menu, move force reload to file menu 2023-01-31 22:55:30 -08:00
sawka e52cd6eb21 remove testing context menu 2023-01-31 22:43:39 -08:00
sawka 6eb67f98fb set lineheight for tabs 2023-01-31 22:42:48 -08:00
sawka d7d6067fbb a bare enter will focus the last line in a window 2023-01-31 22:22:51 -08:00
sawka 65e23f9f48 partial resize handling 2023-01-31 21:25:11 -08:00
sawka 381ed04153 allow multiple window updates (change window to windows) 2023-01-31 17:57:26 -08:00
sawka 5f27c97dbe update ports 2023-01-30 11:35:39 -08:00
sawka 7ac70d6fc0 bump to v0.1.2 2023-01-25 22:28:22 -08:00
sawka 76ce588b3b update icon, check in new icon, remove hardcoding of 'sawka' in comment lines 2023-01-25 22:22:51 -08:00
sawka 4494db19e2 append to local-server.log, don't overwrite 2023-01-25 13:57:13 -08:00
sawka ac447e072b fix excessive line rendering with mobx.computed 2023-01-23 23:34:29 -08:00
sawka 9f034f39d4 remove loading animation 2023-01-23 23:11:34 -08:00
sawka 5a167961d9 set dev pcloud endpoint 2023-01-22 23:10:37 -08:00
sawka 9fd803bc11 centralize version info for building. change 'SH' vars to 'PROMPT' 2023-01-17 09:59:31 -08:00
sawka daeef7a4d0 updates for v0.1.0, update some js packages 2023-01-16 23:44:50 -08:00
sawka 8a7a114671 add create-dmg-m1 2023-01-11 22:20:23 -08:00
sawka a5c921a730 new loading spinner, fix bug with terminal not displaying (complicated effect via CharSizeService interacting with display:none and dom observer with 0 height) 2023-01-02 22:54:40 -08:00
sawka 988a6c92ff context menu working cut/copy/paste with some smarts about where it is displayed 2023-01-02 14:52:53 -08:00
sawka 7ccd842bf7 allow line to be selected (don't change focus when selecting text). working on contextmenu 2023-01-02 14:08:24 -08:00
sawka 6a5be9652d change back to /history 2023-01-02 12:13:41 -08:00
sawka 921053f1b7 don't show unknown for prompt, just show an empty prompt 2022-12-30 17:16:13 -08:00
sawka b7b742d3de update gitignore 2022-12-30 16:57:13 -08:00
sawka 9c95aa25d1 colorize prompt for remotes 2022-12-29 00:06:53 -08:00
sawka 9e2424567e update gitignore 2022-12-28 23:08:07 -08:00
sawka 5b98728fc6 move logo to sidebar, main-content fills vertical space 2022-12-28 17:46:15 -08:00
sawka 4e7929ee63 working on separate prompt-dev version 2022-12-28 13:47:51 -08:00
sawka cbf185a715 universal binary, prompt-dev home directory, create-dmg in scripthaus.md 2022-12-28 13:29:18 -08:00
sawka 2dd9cf16fa working on notarization, deal with multiple instances. remove fs-ext 2022-12-27 22:55:42 -08:00
sawka 773088d070 remove debug 2022-12-27 10:58:32 -08:00
sawka 465ff194e2 move screen based on input resize 2022-12-27 10:58:11 -08:00
sawka f977d2a0d6 replace ScriptHaus with Prompt 2022-12-26 19:17:24 -08:00
sawka 7f9b347562 frontend for session archiving 2022-12-26 18:50:22 -08:00
sawka 5882897e3e archived screens display 2022-12-26 12:36:24 -08:00
sawka 21c4e979d4 archived for screens/sessions 2022-12-25 13:03:34 -08:00
sawka ffba2f3d6c deal with line hide/show 2022-12-21 22:05:05 -08:00
sawka 71980589bb simple authkey based authentication between electron and local-server 2022-12-20 16:22:05 -08:00
sawka f0b9bc6eb8 more scripthaus -> prompt renaming 2022-12-19 17:45:27 -08:00
sawka 83166eb8f4 update to rename scripthaus to prompt 2022-12-19 17:35:08 -08:00
sawka 5344aef096 fix error regarding sw:set when screen is empty 2022-12-19 17:09:59 -08:00
sawka cb6712202f cleanup 2022-12-12 12:26:55 -08:00
sawka 90d32731db clean up sidebar 2022-12-12 12:11:02 -08:00
sawka 66a99adfef use capital for app name 2022-12-09 13:22:44 -08:00
sawka b82848eff3 upgrade some npm packages 2022-12-06 15:44:08 -08:00
sawka 222892e27b monofont for completions 2022-12-06 14:20:10 -08:00
sawka ff2ddd90a2 can click on linetext to select them 2022-12-06 10:24:44 -08:00
sawka 0620ff5d85 add line starring 2022-12-05 22:59:31 -08:00
sawka 5614589922 update title 2022-12-05 22:28:09 -08:00
sawka 44967fdeb3 add prompt icon to package. allow pty-jumping (when scrollback is too fast), fix scrolling issue by syncScrollArea on focus. 2022-12-05 15:00:53 -08:00
sawka 5aecdffead fix production build bugs -- utf-8 encoding and index.html 2022-11-28 18:38:25 -08:00
sawka 9f94da43d1 updates for remotestate and data structure changes 2022-11-28 18:08:19 -08:00
sawka 06c3a240b1 track rows in sw 2022-11-23 14:45:20 -08:00
sawka a4b15ca57e checkpoint, term height 2022-11-23 14:34:05 -08:00
sawka 3f710eec1d working on UI cleanups 2022-11-22 22:57:35 -08:00
sawka 5fa7aa52d3 updates for new compgen 2022-11-10 18:52:38 -08:00
sawka b8d4bb071a fix links to dist-dev 2022-11-08 14:36:30 -08:00
sawka d9cd211149 packaging with scripthaus-server and mshell binaries, separate dev/prod builds. emain to launch local server from package 2022-11-01 21:18:40 -07:00
sawka 56a91a9601 update packaging to create a packaged electron app for frontend 2022-11-01 00:07:25 -07:00
sawka 7b11999d29 electron packaging 2022-10-31 16:41:44 -07:00
sawka cd0a65f120 update to electron v19.1.3 2022-10-31 14:59:31 -07:00
sawka d5142a1eb9 update packages 2022-10-31 12:51:25 -07:00
sawka ebb196f164 send initial local server status 2022-10-30 13:06:25 -07:00
sawka 4078cb1f1e local server control 2022-10-30 12:53:39 -07:00
sawka 9027edc0e1 disconnected modal 2022-10-28 14:17:45 -07:00
sawka bba43c8540 minor css update 2022-10-27 22:24:22 -07:00
sawka f8d23a68f3 minor update 2022-10-27 15:25:58 -07:00
sawka bb7f475055 updates for rtnstate 2022-10-27 00:36:03 -07:00
sawka babf4f392a input modes 2022-10-22 23:54:46 -07:00
sawka c0b3db19d4 cleanups for terminal interaction 2022-10-20 16:15:21 -07:00
sawka 4744eaa491 handle non-running terminal keypresses 2022-10-13 18:58:21 -07:00
sawka f73baf440c fix scrollbars, lighten scrollbars when not focused 2022-10-13 16:09:26 -07:00
sawka 4892c45921 remove empty cursor line when terminal is not running 2022-10-12 13:57:15 -07:00
sawka aa2e6b471b small updates for cmd-fg 2022-10-11 23:13:34 -07:00
sawka 5c8dabbb2c fixing focus bugs 2022-10-11 14:57:22 -07:00
sawka a0de45949f better focus handling 2022-10-11 13:25:23 -07:00
sawka 0bf36be982 checkpoint, focusing cmds 2022-10-11 01:11:36 -07:00
sawka cb94936aad checkpoint on selection/fg model 2022-10-10 23:44:04 -07:00
sawka 8c01aa787b add focus indicator to comment lines 2022-10-10 17:29:59 -07:00
sawka b74ed98374 add meta-pageup/meta-pagedown 2022-10-10 17:18:40 -07:00
sawka 3bc8328c02 finish up scroll to newly selected line 2022-10-10 15:21:43 -07:00
sawka 82819bbe94 updating selectedline will now scroll the window 2022-10-10 12:45:57 -07:00
sawka d04f94d481 add static version of bulma 0.9.4 2022-10-10 12:21:55 -07:00
sawka c5e3de9fdc add static version of font-awesome 4.7 2022-10-10 12:19:19 -07:00
sawka 051110cdc1 fix font loading 2022-10-10 12:08:29 -07:00
sawka 05592bda4c big overhaul of scrollsync and term loading code for UI 2022-10-07 18:25:47 -07:00
sawka e7ceecee5b l-cmd model update 2022-10-07 14:37:25 -07:00
sawka 0053ebbfa9 add cmd-l listener 2022-10-07 14:36:34 -07:00
sawka 82e88d2f61 use refs 2022-10-07 11:32:58 -07:00
sawka ab31aecf90 working on line selection / fg commands 2022-10-07 01:08:52 -07:00
sawka 271dde4d1d checkpoint on screen window changes 2022-10-06 18:35:01 -07:00
sawka 1939cba14f use static font files, checkpoint on focus-indicator for lines 2022-10-06 15:40:53 -07:00
sawka 4e5c1aab1c fix termsize calculations for canvas renderer 7.2px not 8px 2022-10-06 15:17:48 -07:00
sawka 7c0476350d checkpoint 2022-10-06 14:00:24 -07:00
sawka 61071de644 checkpoint -- fg/focus 2022-10-04 13:53:04 -07:00
sawka 788ef1f33d archive remote button (with confirm). edit remote button in remote:show 2022-10-04 11:15:35 -07:00
sawka 0173cbce23 reset pw 2022-10-04 10:52:55 -07:00
sawka 4e76514f1b edit remote checkpoint 2022-10-03 19:05:52 -07:00
sawka a9c2020018 update to xterm v5 2022-10-03 15:23:40 -07:00
sawka 17fb5b2552 update packages 2022-10-03 15:03:40 -07:00
sawka b91bf6bd20 checkpoint, visual editing of remotes 2022-10-03 12:25:55 -07:00
sawka 1cc58944b8 UI for waiting for password 2022-09-30 17:23:28 -07:00
sawka 0b0b7307ba remote showall dialog 2022-09-30 15:42:10 -07:00
sawka 0821e35a37 checkpoint on remote:add/edit 2022-09-30 14:57:23 -07:00
sawka b981aafb1a merge 2022-09-26 23:25:12 -07:00
sawka 594c3472e3 remote install 2022-09-26 23:24:15 -07:00
sawka 392a7bebdd fix primary display bounds calculation 2022-09-26 11:50:02 -07:00
sawka 49f2611764 save/restore window pos/size 2022-09-25 00:25:31 -07:00
sawka aa0f9d98d1 stub remote show all 2022-09-24 19:53:06 -07:00
sawka 121da87eea refactor inforemoteshow out of info 2022-09-22 21:20:37 -07:00
sawka c63108a841 show mshellversion/uname in remote:show 2022-09-21 23:31:03 -07:00
sawka f3e61fb41d stub out add remote 2022-09-21 22:42:51 -07:00
sawka 52bad72ead minor fix for remotes display 2022-09-21 22:17:04 -07:00
sawka eb143b612f move width to ScreenWindowView, and only do a setcols to ScreenWindow model object (debounce moved to view as well) 2022-09-21 17:20:16 -07:00
sawka 6135a4540e add nextlinenum to window 2022-09-20 17:01:40 -07:00
sawka c39a7ed0f8 use linenum and linenumtemp to display avatar linenum 2022-09-20 16:51:42 -07:00
sawka abe8cc6f2a on connect message, reset session and remote information completely (clear lists) 2022-09-20 16:42:41 -07:00
sawka bc09722ef3 use mono-font mixin 2022-09-20 14:46:53 -07:00
sawka 3b5a428542 mono-font for remotes 2022-09-20 14:41:56 -07:00
sawka fb51263ed3 manual minmax control for infomsg box 2022-09-16 16:37:54 -07:00
sawka 1d3d19b7c3 only allow input while connecting 2022-09-16 12:02:46 -07:00
sawka 44e014b1ae status connecting 2022-09-15 17:44:58 -07:00
sawka b352c62397 handle remote input (can enter passwords now) 2022-09-15 17:10:02 -07:00
sawka 98d956b7c8 more progress on remotes 2022-09-15 00:37:52 -07:00
sawka 0e04a32e29 update to show remote pty in remoteshow window 2022-09-15 00:18:20 -07:00
sawka ffb29fce1a termcontext for remoteid terminals 2022-09-14 22:41:27 -07:00
sawka 1a02bb53d0 refactor infomsg 2022-09-14 17:14:27 -07:00
sawka 40c52fd195 a click on a remote runs /remote:show 2022-09-14 13:02:33 -07:00
sawka 8d78e145be sort remotes, order by remoteidx and status 2022-09-14 12:07:31 -07:00
sawka 95f992b1c0 working on remote display, bug fixes 2022-09-13 17:17:52 -07:00
sawka ecc737f68d fix crazy sessionid morphing bug, and add more debugging 2022-09-11 20:49:53 -07:00
sawka 677a60d735 unload terminals when they go out of view to save memory 2022-09-08 13:44:24 -07:00
sawka 400815a622 change signum to signame 2022-09-06 16:42:21 -07:00
sawka 8801ab147b force update usedRows when terminal is resized 2022-09-06 00:14:48 -07:00
sawka f4ec8f85fa send window:resize command 2022-09-05 20:06:44 -07:00
sawka bc476c3c23 working on resizing terminal to match window size 2022-09-05 17:21:31 -07:00
sawka d6d7e8bb25 send connect from ws and get session/remotes updates 2022-09-05 12:42:48 -07:00
sawka fb899cd458 read ptyoffset from header and initialize appropriately 2022-09-03 23:57:35 -07:00
sawka 225f120fbe move width from ScreenWindowView to ScreenWindow. pass termopts.cols in uicontext to cmdrunner 2022-09-03 23:39:50 -07:00
sawka 4a2b3cc381 remotes update in model update 2022-08-31 23:15:18 -07:00
sawka 3ab2023423 show global/session history 2022-08-31 13:29:59 -07:00
sawka f2451329cd suppress Cmd-W (close window) 2022-08-31 13:29:06 -07:00
sawka 604ec459db pass size always to createMainWindow 2022-08-31 12:46:18 -07:00
sawka bdf5e0fc09 filter history by remote 2022-08-31 12:00:53 -07:00
sawka e2212ad661 history query opts 2022-08-31 00:02:16 -07:00
sawka 9ed993078d big update to get base history info panel working 2022-08-30 23:12:37 -07:00
sawka 087c0c4f1f history checkpoint 2022-08-30 17:05:35 -07:00
sawka d037666ad1 checkpoint on history rendering 2022-08-30 15:25:51 -07:00
sawka 35a2fb71af checkpoint on layout of history info panel 2022-08-30 12:58:06 -07:00
sawka 8eab57e1ba checkpoint on history info panel, move info management to input model 2022-08-30 12:22:42 -07:00
sawka 387eda2a3d checkpoint on new historymodel 2022-08-29 21:58:04 -07:00
sawka c4d45ef344 pageup/pagedown by page 'size' 2022-08-29 15:42:50 -07:00
sawka b0b6f18cfb scroll lines, uicontext 2022-08-29 13:54:11 -07:00
sawka b8311c4e77 prevent some info message flash when running commands. pass 'interactive' flag for commands run through cmdinput 2022-08-29 11:23:20 -07:00
sawka 15178248a2 history item types 2022-08-28 14:24:25 -07:00
sawka 3a8f3dab38 lines spacer to have content scroll up from bottom 2022-08-26 22:07:12 -07:00
sawka 9f794d6590 tab colors 2022-08-26 21:43:48 -07:00
sawka 152db74075 add merge to Screen object 2022-08-26 17:50:15 -07:00
sawka c3d3647111 use new relative arguments for screen switching instead of computing it on FE 2022-08-26 17:35:36 -07:00
sawka e75765ee11 sessions update for get-all-sessions, show sessionidx number and no hash sign 2022-08-26 17:28:56 -07:00
sawka e677455419 fix typescript warnings 2022-08-25 12:12:56 -07:00
sawka 35179e06ec detect screen size 2022-08-24 22:32:43 -07:00
sawka 64fc0f335a fix overscroll behavior in xterm.js terminal and deal with focus in a better way. restore scrollbars for terminals. scroll focused terminals into view. 2022-08-24 19:00:03 -07:00
sawka da710fc4c8 switch cmd to use RemotePtrType, make Prompt react class to display fullremoteref and cwd 2022-08-24 13:19:59 -07:00
sawka 2028a98784 remoteinstance naming change 2022-08-24 02:12:28 -07:00
sawka 3aeab9d427 show metacmd completions 2022-08-23 17:27:12 -07:00
sawka e4bf68ca3b scrolling info box 2022-08-23 13:14:57 -07:00
sawka d984a8f82a infolines 2022-08-22 18:54:01 -07:00
sawka d61246e8a4 update to env0 2022-08-22 16:28:14 -07:00
sawka db3f780275 autoconnect -> connectmode 2022-08-21 12:26:10 -07:00
sawka f7796169f6 fix setCmd mobx.action call 2022-08-19 17:14:25 -07:00
sawka 739114045c use term.reset() not term.clear() 2022-08-19 16:38:24 -07:00
sawka 5dda89aa1a status display 2022-08-19 16:35:38 -07:00
sawka e454c170f8 don't report parse errors to console (lots of invalid terminal output). e.g. cat'ing a binary file will produce thousands of errors, but that's just how it is. 2022-08-19 15:54:38 -07:00
sawka b3a05ac72e update npm modules, add remotes modal 2022-08-18 00:39:06 -07:00
sawka 1914719ad1 proof of concept, file URL to open window using will-navigate 2022-08-17 13:32:02 -07:00
sawka c6e29c3314 proof of concept, open window 2022-08-17 13:26:03 -07:00
sawka 5a835e927e update prompt for remotes, display remotes in sidebar 2022-08-17 13:06:47 -07:00
sawka c310a4b9bc scrollintoview 2022-08-16 16:08:15 -07:00
sawka cc058490b2 cmd-up cmd-down working, new line type, remotealias 2022-08-16 15:59:28 -07:00
sawka 7af1d5cee6 lazy loading, cached TUR values 2022-08-12 18:34:56 -07:00
sawka b4e41bc36d better input handling -- expand textarea, fit textarea, up/down arrow control in textarea (w/ history) 2022-08-12 11:44:29 -07:00
sawka b70d42bca4 implement command history 2022-08-11 23:46:52 -07:00
sawka 034995ef2a fix typescript errors 2022-08-11 11:49:46 -07:00
sawka 291d1dc704 allow resize observer to fire conditional scroll to bottom (info panel updates) 2022-08-11 10:41:08 -07:00
sawka d5a5a9ce70 better directory vs file completion 2022-08-11 10:22:43 -07:00
sawka 5082330dcf implement info panel, more control in cmd-input, completions, errors 2022-08-10 18:35:18 -07:00
sawka 1f4ac87a9a implement new session and switch session 2022-08-08 16:22:36 -07:00
sawka 88e99fca62 add interactive flag 2022-07-15 17:52:57 -07:00
sawka 4a853ffa02 unify interactive/ws updates 2022-07-15 17:48:25 -07:00
sawka d297477807 use new global input model 2022-07-15 17:38:58 -07:00
sawka 6340a3e9ff implement delete session, bug fixes 2022-07-15 01:58:30 -07:00
sawka 057637660c hook up accelerators for switching screens 2022-07-14 18:50:58 -07:00
sawka 8cdf514bb9 checkpoint on updates. can switch screens using commands 2022-07-14 18:41:49 -07:00
sawka 879cb03da0 auto resize terminal width to window size 2022-07-14 00:54:31 -07:00
sawka 8a710669ec screen switching 2022-07-13 23:11:45 -07:00
sawka 94fd29cbad handle pty udpates again 2022-07-13 14:16:47 -07:00
sawka 05af5a8510 get input working, fix currentrowheight constant 2022-07-13 01:03:17 -07:00
sawka f4b3f94b13 add cmdinstances to allow windows/cmds to show in multiple screenwindows 2022-07-13 00:44:19 -07:00
sawka 059c98d1e0 checkpoint, getting screens integrated 2022-07-12 23:29:39 -07:00
sawka 4666ee8832 checkpoint 2022-07-12 14:27:40 -07:00
sawka 7867edb8da pass process id as client id to ws 2022-07-12 13:20:10 -07:00
sawka 28f5e9bf05 submit command 2022-07-12 00:45:10 -07:00
sawka 9af5edd451 get terminal follow scrolling working. create windowview 2022-07-11 22:43:58 -07:00
sawka 49c8b34a7c checkpoint, moving to model 2022-07-11 17:55:03 -07:00
sawka 77bd3ed5bf checkpoint, switching to model 2022-07-11 14:43:18 -07:00
sawka 5dc0e6b651 checkpoint working on electron 2022-07-09 01:37:19 -07:00
sawka 96961822a3 map cmd-i to grab input 2022-07-08 13:45:14 -07:00
sawka 882694b5ce get session list, switch to default session 2022-07-08 13:23:00 -07:00
sawka c4fb7d9ada updates for window type, getting window, etc 2022-07-08 13:01:37 -07:00
sawka 2e7059777b get input working 2022-07-07 22:46:49 -07:00
sawka 3d29d0d34e integrate cmd status into fe tailing 2022-07-07 21:49:15 -07:00
sawka 827c33095b hook up cmd cmdstr and prompt 2022-07-07 13:27:44 -07:00
sawka 0053a63536 fix fecmdpacket remotestate 2022-07-07 00:10:58 -07:00
sawka 45fa371956 checkpoint for migrating to remoteinstance 2022-07-05 16:55:21 -07:00
sawka b2a1560385 fix typescript errors 2022-07-04 22:37:45 -07:00
sawka 31f90d5401 checkpoint 2022-07-04 22:18:36 -07:00
sawka 1486c0243c checkpoint, new scpacket.FeCommandPacket 2022-07-03 12:02:22 -07:00
sawka bfaa504249 checkpoint, reading session from server 2022-07-02 13:32:25 -07:00
sawka 7d059fe573 small change to fix bouncy scroll scolor 2022-06-20 22:48:34 -07:00
sawka 92812bc613 update how usedrows is computed 2022-06-20 17:49:14 -07:00
sawka c3626a6547 add session history 2022-06-20 16:06:37 -07:00
sawka 15c3f2fc10 fix getDefaultSession, set foreground color to be not fff 2022-06-20 13:19:53 -07:00
sawka d679ff7cf3 mock up a sidebar for scripthaus 2022-06-20 13:03:20 -07:00
sawka 365e9c55a2 dark theme, follow content when at bottom, date format 2022-06-17 17:54:14 -07:00
sawka 0cce8ad503 cmd input working 2022-06-17 15:32:19 -07:00
sawka bb159bac5b got websocket ptyout tailing working 2022-06-16 22:25:07 -07:00
sawka e58cd1c4ad checkpoint, getting websockets working 2022-06-16 21:14:26 -07:00
sawka bb37a829de moving model functionality into session.ts 2022-06-16 16:34:46 -07:00
sawka 71c67a4cc2 checkpoint, session, window, termmap 2022-06-16 15:51:17 -07:00
sawka a9f96dd983 flexible resizing logic, fix TermMap, work on ptyout 2022-06-16 12:40:09 -07:00
sawka 4f2c75af0c small updates 2022-06-16 01:08:56 -07:00
sawka 45cd98ef00 refactor term/ws into separate modules 2022-06-16 00:31:54 -07:00
sawka 76ac2c4ff9 websocket connection/reconnection 2022-06-15 18:12:22 -07:00
sawka 0be0da9c0a resize terminal viewer with content 2022-06-14 16:02:20 -07:00
sawka 54a3b082fc updates to test terminal updating / xpos 2022-06-14 14:16:32 -07:00
sawka df3b7a3bb0 run commands via run-command 2022-06-13 11:12:39 -07:00
sawka 751914196b initial commit 2022-06-07 17:25:35 -07:00
442 changed files with 30201 additions and 60264 deletions
-10
View File
@@ -1,10 +0,0 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,jsx,ts,tsx,cjs,json,yml,yaml,css,less}]
charset = utf-8
indent_style = space
indent_size = 4
-1
View File
@@ -1 +0,0 @@
* text=lf
-31
View File
@@ -1,31 +0,0 @@
---
name: Bug Report
about: Create a bug report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. MacOS/Linux, x64 or arm64]
- Version [e.g. v0.5.0]
**Additional context**
Add any other context about the problem here.
-14
View File
@@ -1,14 +0,0 @@
---
name: Feature Request
about: Suggest a new idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
-39
View File
@@ -1,39 +0,0 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
time: "09:00"
timezone: "America/Los_Angeles"
groups:
dev-dependencies:
dependency-type: "development"
exclude-patterns:
- "*storybook*"
- "*electron*"
storybook:
patterns:
- "*storybook*"
prod-dependencies:
dependency-type: "production"
exclude-patterns:
- "*electron*"
electron:
patterns:
- "*electron*"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
time: "09:00"
timezone: "America/Los_Angeles"
- package-ecosystem: "github-actions"
directory: "/.github/workflows"
schedule:
interval: "weekly"
day: "friday"
time: "09:00"
timezone: "America/Los_Angeles"
-151
View File
@@ -1,151 +0,0 @@
# Build Helper workflow - Builds, signs, and packages binaries for each supported platform, then uploads to a staging bucket in S3 for wider distribution.
# For more information on the macOS signing and notarization, see https://www.electron.build/code-signing and https://www.electron.build/configuration/mac
# For more information on the Windows Code Signing, see https://docs.digicert.com/en/digicert-keylocker/ci-cd-integrations/plugins/github-custom-action-for-keypair-signing.html and https://docs.digicert.com/en/digicert-keylocker/signing-tools/sign-authenticode-with-electron-builder-using-ksp-integration.html
name: Build Helper
run-name: Build ${{ github.ref_name }}
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
env:
GO_VERSION: "1.22.5"
NODE_VERSION: "22.5.1"
jobs:
runbuild:
permissions:
contents: write
outputs:
version: ${{ steps.set-version.outputs.WAVETERM_VERSION }}
strategy:
matrix:
include:
- platform: "darwin"
runner: "macos-latest-xlarge"
- platform: "linux"
runner: "ubuntu-latest"
- platform: "linux"
runner: ubuntu-24.04-arm64-16core
- platform: "windows"
runner: "windows-latest"
# - platform: "windows"
# runner: "windows-11-arm64-16core"
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Install Linux Build Dependencies (Linux only)
if: matrix.platform == 'linux'
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y libarchive-tools libopenjp2-tools rpm squashfs-tools
# The pre-installed version of the AWS CLI has a segfault problem so we'll install it via Homebrew instead.
- name: Upgrade AWS CLI (Mac only)
if: matrix.platform == 'darwin'
run: brew update && brew install awscli
# The version of FPM that comes bundled with electron-builder doesn't include a Linux ARM target. Installing Gems onto the runner is super quick so we'll just do this for all targets.
- name: Install FPM (not Windows)
if: matrix.platform != 'windows'
run: sudo gem install fpm
- name: Install FPM (Windows only)
if: matrix.platform == 'windows'
run: gem install fpm
# General build dependencies
- uses: actions/setup-go@v5
with:
go-version: ${{env.GO_VERSION}}
cache-dependency-path: |
go.sum
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
- name: Install Yarn
run: |
corepack enable
yarn install
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: "Set Version"
id: set-version
run: echo "WAVETERM_VERSION=$(task version)" >> "$GITHUB_OUTPUT"
shell: bash
# Windows Code Signing Setup
- name: Set up certificate (Windows only)
if: matrix.platform == 'windows'
run: |
echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > /d/Certificate_pkcs12.p12
shell: bash
- name: Set signing variables (Windows only)
if: matrix.platform == 'windows'
id: variables
run: |
echo "SM_HOST=${{ secrets.SM_HOST }}" >> "$GITHUB_ENV"
echo "SM_API_KEY=${{ secrets.SM_API_KEY }}" >> "$GITHUB_ENV"
echo "SM_CODE_SIGNING_CERT_SHA1_HASH=${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}" >> "$GITHUB_ENV"
echo "SM_CLIENT_CERT_FILE=D:\\Certificate_pkcs12.p12" >> "$GITHUB_ENV"
echo "SM_CLIENT_CERT_FILE=D:\\Certificate_pkcs12.p12" >> "$GITHUB_OUTPUT"
echo "SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}" >> "$GITHUB_ENV"
echo "C:\Program Files (x86)\Windows Kits\10\App Certification Kit" >> $GITHUB_PATH
echo "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools" >> $GITHUB_PATH
echo "C:\Program Files\DigiCert\DigiCert Keylocker Tools" >> $GITHUB_PATH
shell: bash
- name: Setup Keylocker KSP (Windows only)
if: matrix.platform == 'windows'
run: |
curl -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/Keylockertools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%" -o Keylockertools-windows-x64.msi
msiexec /i Keylockertools-windows-x64.msi /quiet /qn
C:\Windows\System32\certutil.exe -csp "DigiCert Signing Manager KSP" -key -user
smctl windows certsync
shell: cmd
# Build and upload packages
- name: Build (not Windows)
if: matrix.platform != 'windows'
run: task package
env:
USE_SYSTEM_FPM: true # Ensure that the installed version of FPM is used rather than the bundled one.
CSC_LINK: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_CERTIFICATE_2}}
CSC_KEY_PASSWORD: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_CERTIFICATE_PWD_2 }}
APPLE_ID: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_APPLE_ID_2 }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_PWD_2 }}
APPLE_TEAM_ID: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_TEAM_ID_2 }}
- name: Build (Windows only)
if: matrix.platform == 'windows'
run: task package
env:
USE_SYSTEM_FPM: true # Ensure that the installed version of FPM is used rather than the bundled one.
CSC_LINK: ${{ steps.variables.outputs.SM_CLIENT_CERT_FILE }}
CSC_KEY_PASSWORD: ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
shell: powershell # electron-builder's Windows code signing package has some compatibility issues with pwsh, so we need to use Windows Powershell
- name: Upload to S3 staging
run: task artifacts:upload
env:
AWS_ACCESS_KEY_ID: "${{ secrets.ARTIFACTS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.ARTIFACTS_KEY_SECRET }}"
AWS_DEFAULT_REGION: us-west-2
- name: Create draft release
uses: softprops/action-gh-release@v2
with:
prerelease: ${{ contains(github.ref_name, '-beta') }}
name: Wave Terminal ${{ github.ref_name }} Release
generate_release_notes: true
draft: true
files: |
make/*.zip
make/*.dmg
make/*.exe
make/*.msi
make/*.rpm
make/*.deb
make/*.pacman
make/*.snap
make/*.flatpak
make/*.AppImage
-84
View File
@@ -1,84 +0,0 @@
# Workflow to manage bumping the package version and pushing it to the target branch with a new tag.
# This workflow uses a GitHub App to bypass branch protection and uses the GitHub API directly to ensure commits and tags are signed.
# For more information, see this doc: https://github.com/Nautilus-Cyberneering/pygithub/blob/main/docs/how_to_sign_automatic_commits_in_github_actions.md
name: Bump Version
run-name: "branch: ${{ github.ref_name }}; semver-bump: ${{ inputs.bump }}; prerelease: ${{ inputs.is-prerelease }}"
on:
workflow_dispatch:
inputs:
bump:
description: SemVer Bump
required: true
type: choice
default: none
options:
- none
- patch
- minor
- major
is-prerelease:
description: Is Prerelease
required: true
type: boolean
default: true
env:
NODE_VERSION: "22.5.1"
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: Get App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.WAVE_BUILDER_APPID }}
private-key: ${{ secrets.WAVE_BUILDER_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
# General build dependencies
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
- name: Install Yarn
run: |
corepack enable
yarn install
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: "Bump Version: ${{ inputs.bump }}"
id: bump-version
run: echo "WAVETERM_VERSION=$( task version -- ${{ inputs.bump }} ${{inputs.is-prerelease}} )" >> "$GITHUB_OUTPUT"
shell: bash
- name: "Push version bump: ${{ steps.bump-version.outputs.WAVETERM_VERSION }}"
if: github.ref_protected
run: |
# Create a new commit for the package version bump in package.json
export VERSION=${{ steps.bump-version.outputs.WAVETERM_VERSION }}
export MESSAGE="chore: bump package version to $VERSION"
export FILE=package.json
export BRANCH=${{github.ref_name}}
export SHA=$( git rev-parse $BRANCH:$FILE )
export CONTENT=$( base64 -i $FILE )
gh api --method PUT /repos/:owner/:repo/contents/$FILE \
--field branch="$BRANCH" \
--field message="$MESSAGE" \
--field content="$CONTENT" \
--field sha="$SHA"
# Fetch the new commit and create a tag referencing it
git fetch
export TAG_SHA=$( git rev-parse origin/$BRANCH )
gh api --method POST /repos/:owner/:repo/git/refs \
--field ref="refs/tags/v$VERSION" \
--field sha="$TAG_SHA"
shell: bash
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
-114
View File
@@ -1,114 +0,0 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "36 5 * * 5"
env:
NODE_VERSION: "21.5.0"
jobs:
analyze:
name: Analyze
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["go", "javascript-typescript"]
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
cache-dependency-path: |
go.sum
- uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
- name: Install yarn
run: |
corepack enable
yarn install
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Generate bindings
run: task generate
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild (not Go)
if: matrix.language != 'go'
uses: github/codeql-action/autobuild@v3
- name: Build (Go only)
if: matrix.language == 'go'
run: |
task build:server
task build:wsh
# ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
-25
View File
@@ -1,25 +0,0 @@
# Workflow to copy artifacts from the staging bucket to the release bucket when a new GitHub Release is published.
name: Publish Release
run-name: Publish ${{ github.ref_name }}
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish from staging
if: startsWith(github.ref, 'refs/tags/')
run: "task artifacts:publish:${{ github.ref_name }}"
env:
AWS_ACCESS_KEY_ID: "${{ secrets.PUBLISHER_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.PUBLISHER_KEY_SECRET }}"
AWS_DEFAULT_REGION: us-west-2
shell: bash
+10 -26
View File
@@ -1,31 +1,15 @@
.task
frontend/dist
dist/
dist-dev/
frontend/node_modules
node_modules/
frontend/bindings
bindings/
*.log
bin/
*.dmg
*.exe
.DS_Store
*~
*.log
out/
make/
artifacts/
# Yarn Modern
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
*storybook.log
test-results.xml
.DS_Store
bin/
dev-bin
local-server-bin
*.pw
build/
*.dmg
webshare/dist/
webshare/dist-dev/
+6 -5
View File
@@ -1,8 +1,9 @@
node_modules
dist
dist-dev
static
build
bin
.git
frontend/dist
frontend/node_modules
*.min.*
frontend/app/store/services.ts
frontend/types/gotypes.d.ts
webshare
out
+4
View File
@@ -0,0 +1,4 @@
{
"tabWidth": 4,
"printWidth": 120
}
-17
View File
@@ -1,17 +0,0 @@
body {
height: 100vh;
padding: 0;
}
#storybook-root {
height: 100%;
}
.grid-item {
background-color: aquamarine;
border: 1px black solid;
&.react-grid-placeholder {
background-color: orange;
}
}
-41
View File
@@ -1,41 +0,0 @@
import type { StorybookConfig } from "@storybook/react-vite";
import type { ElectronViteConfig } from "electron-vite";
import type { UserConfig } from "vite";
const config: StorybookConfig = {
stories: ["../frontend/**/*.mdx", "../frontend/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
],
core: {},
framework: {
name: "@storybook/react-vite",
options: {},
},
docs: {},
managerHead: (head) => `
${head}
<meta name="robots" content="noindex" />
`,
typescript: {
reactDocgen: "react-docgen-typescript",
},
async viteFinal(config) {
const { mergeConfig } = await import("vite");
const { tsImport } = await import("tsx/esm/api");
const electronViteConfig = (await tsImport("../electron.vite.config.ts", import.meta.url))
.default as ElectronViteConfig;
return mergeConfig(config, electronViteConfig.renderer as UserConfig);
},
};
export default config;
-29
View File
@@ -1,29 +0,0 @@
// organize-imports-ignore
import type { Preview } from "@storybook/react";
import React from "react";
import { DndProvider } from "react-dnd";
import { HTML5Backend } from "react-dnd-html5-backend";
import "./global.css";
const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
decorators: [
(Story) => (
<DndProvider backend={HTML5Backend}>
<Story />
</DndProvider>
),
],
tags: ["autodocs"],
};
export default preview;
-9
View File
@@ -1,9 +0,0 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"golang.go",
"dbaeumer.vscode-eslint",
"vitest.explorer",
"task.vscode-task"
]
}
-40
View File
@@ -1,40 +0,0 @@
{
"editor.formatOnSave": true,
"editor.detectIndentation": false,
"editor.formatOnPaste": true,
"editor.tabSize": 4,
"editor.insertSpaces": false,
"prettier.useEditorConfig": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.insertSpaces": true,
"editor.autoIndent": "keep"
},
"[go]": {
"editor.defaultFormatter": "golang.go"
}
}
-1
View File
@@ -1 +0,0 @@
nodeLinker: node-modules
-128
View File
@@ -1,128 +0,0 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
coc@commandline.dev.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
-47
View File
@@ -1,47 +0,0 @@
# Contributing to Wave Terminal
We welcome and value contributions to Wave Terminal! Wave is an open source project, always open for contributors. There are several ways you can contribute:
* Submit issues related to bugs or new feature requests
* Fix outstanding [issues](https://github.com/wavetermdev/waveterm/issues) with the existing code
* Contribute to [documentation](https://github.com/wavetermdev/waveterm-docs)
* Spread the word on social media (tag us on [LinkedIn](https://www.linkedin.com/company/commandlinedev), [Twitter/X](https://twitter.com/commandlinedev))
* Or simply ⭐️ the repository to show your appreciation
However you choose to contribute, please be mindful and respect our [code of conduct](./CODE_OF_CONDUCT.md).
> All contributions are highly appreciated! 🥰
## Before You Start
We accept patches in the form of github pull requests. If you are new to github, please review this [github pull request guide](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).
### Contributor License Agreement
Contributions to this project must be accompanied by a Contributor License Agreement (CLA). You (or your employer) retain the copyright to your contribution, this simply gives us permission to use and redistribute your contributions as part of the project.
> On submission of your first pull request you will be prompted to sign the CLA confirming your original code contribution and that you own the intellectual property.
### Style guide
The project uses American English.
Coding style and formatting is automated for each pull request. We use [Prettier](https://prettier.io/).
## How to contribute
* For minor changes, you are welcome to [open a pull request](https://github.com/wavetermdev/waveterm/pulls).
* For major changes, please [create an issue](https://github.com/wavetermdev/waveterm/issues/new) first.
* If you are looking for a place to start take a look at [open issues](https://github.com/wavetermdev/waveterm/issues).
* Join the [Discord channel](https://discord.gg/XfvZ334gwU) to collaborate with the community on your contribution.
### Development Environment
To build and run wave term locally see instructions below:
* [MacOS build instructions](./BUILD.md)
* [Linux build instructions](./build-linux.md)
### Create a Pull Request
Guidelines:
* Before writing any code, please look through existing PRs or issues to make sure nobody is already working on the same thing.
* Develop features on a branch - do not work on the main branch
* For anything but minor fixes, please submit tests and documentation
* Please reference the issue in the pull request

Some files were not shown because too many files have changed in this diff Show More