Commit Graph

1108 Commits

Author SHA1 Message Date
sawka
b9ff6bd20f codeedit: on close, if we're focused, give focus back to the input box 2023-09-15 17:24:38 -07:00
sawka
f6b9b6df3e
CodeEdit Focus and Remove WebSharing (#20)
* implement codeedit focus with the help of a shouldFocus prop from the Line component.  also update line status, and remove websharing in left nav

* remove webshare from screen settings
2023-09-15 17:19:24 -07:00
sawka
17fef0341d remove webshare from screen settings 2023-09-15 15:46:17 -07:00
sawka
54c2087ad6 remove websharing backend, migrate db to stop websharing any screens that are currently shared 2023-09-15 13:48:58 -07:00
sawka
13fe90cdb5 implement codeedit focus with the help of a shouldFocus prop from the Line component. also update line status, and remove websharing in left nav 2023-09-15 13:01:04 -07:00
sawka
0df800a390 for codeedit, set the focus to the line (not the input) 2023-09-15 12:57:47 -07:00
sawka
5f04f14df6 link new website 2023-09-08 14:26:30 -07:00
sawka
b8ef07e064 updated go.sum 2023-09-07 15:12:50 -07:00
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
d97c1862c7 should be 666 not 777 (don't set executable flag by default) 2023-09-06 21:57:41 -07:00
sawka
c7d09b4692 bump mshell version to v0.3 2023-09-06 21:50:59 -07:00
sawka
1127d2cfbd bump mshell version to v0.3.0 2023-09-06 21:50:38 -07:00
sawka
71ba4b5b46 update writefile code. changed the way usetemp works to make sure file permissions/owner/attributes are kept on original file 2023-09-06 21:45:15 -07:00
sawka
8cb3bd49b5 bump prompt-server version to v0.3.0 2023-09-06 19:55:52 -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
sawka
1d77b2d5d6 add codeview command 2023-09-05 22:09:24 -07:00
sawka
bc488cf242 fix PE-63, permissions for temp files 2023-09-05 21:21:34 -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
d84dd75d94 resolve ~ in read/write file api 2023-09-01 20:40:28 -07:00
sawka
238c8fb250 fix return type of writeRemoteFile, small formatting/fixes 2023-09-01 20:15:48 -07:00
sawka
9785aaac19 set linestate 2023-09-01 16:45:01 -07:00
sawka
fea5f3306e add codeedit command (testing) 2023-09-01 16:38:54 -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
5d89e0cfef
add line.linestate to DB. switch linetype to a dbmappable. update line sql queries. add state to /line:set command. bump migration (#2) 2023-09-01 15:21:35 -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
sawka
22fb034cc4
PE-41 remote file api (#1)
* RPC for remote file streaming -- just implemented 'stat' for now (streaming to come)

* allow RPC iterators for MShell RPCs.  implement two test commands to test viewing files

* implement read-file handler

* read-file: allow overriding of content-type and use line's cwd not remote instance cwd

* checkpoint on write-file impl

* implemented metacommand version of write file

* checkpoint, untested write-file impl

* multipart handling for write-file data

* add usetemp param to writefile
2023-08-31 22:04:31 -07:00
sawka
c29c4a9a2d
PE-41 remote file api (#1)
* new remote file streaming API packets.  implemented 'stat' for remote files

* introduce filedata packets.  allow streaming RPCs.  fix RPC bug with combined packet parsers.  implement file streaming for filestream RPC.

* checkpoint on adding write-file

* completely untested write-file impl -- writefilecontext, condition var for signaling new data packets, cleanup goroutine, ready/done states.

* better error messages, also unlock MServer before calling done on wfcs

* fix bug with perm json tag.  change constant name
2023-08-31 22:03:38 -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
681d80e0a6 force ipv4 listening in local server (consistent ipv4 throughout stack) 2023-08-14 17:04:16 -07:00