Commit Graph

865 Commits

Author SHA1 Message Date
Red J Adaya
7e9e76f089
error boundary for screens (#45)
* error boundary for screens

* error boundary for plugins

* remove changes.diff

* move load-error-text class to app.less

* implement mikes suggestions

* apply error boundary to workspace view

* fix minor issues
2023-10-25 18:24:14 -07:00
sawka
49f18a3e94 added waveterm logo (png and svg) 2023-10-25 15:25:07 -07:00
Red J Adaya
7c966e2660
change session to workspace (#47)
* change session to workspace

* also need to change the less file since the className was changed
2023-10-25 13:55:30 -07:00
sawka
2b72cd18b8 update build instructions for new webpack configuration. merge origin/main into dev branch to pick up linux changes. 2023-10-25 13:47:52 -07:00
Red J Adaya
6ae263f9fa
csvviewer rendering flash (#44)
* more fixes

* add delay and slight opacity animation

* cleanup
2023-10-24 18:34:37 -07:00
sawka
c0de69e4a2 move +3 for descenders to termHeightFromRows 2023-10-24 09:27:20 -07:00
anandamarsh
6016302814
PE 125 new tab flow (#43)
* please sync

* can select connection. now need add conection

* latest for discussion

* solved "autoselect connection" issue

* ready for PR

* pair programming, fix some issues with new tab flow

* final updates for new connection flow.  integrate add new connection with error messages.  add an option to cr to not create the line/history (non-interactive use)

---------

Co-authored-by: sawka
2023-10-23 23:22:18 -07:00
Red J Adaya
4000baa6c5
fix flashing issue (#41) 2023-10-23 17:10:14 -07:00
sawka
b01472a917 add platform class into main div 2023-10-18 13:32:23 -07:00
sawka
e920e09ccf backport linux changes to main 2023-10-17 21:54:44 -07:00
sawka
bdcdc202a1 minor fix for linux (use move/resize events vs past-tense). smaller default window size. 2023-10-17 21:48:02 -07:00
Red J Adaya
046d219555
add license notice (#37) 2023-10-16 21:31:13 -07:00
anandamarsh
805cb777d4
no brainer :) (#38) 2023-10-16 21:30:13 -07:00
sawka
f2eaa2e278 add example copyright to index.ts 2023-10-16 15:33:27 -07:00
sawka
266fc498c7 new paths for getting waveterm running with monorepo 2023-10-16 14:02:22 -07:00
sawka
393629cc2f fix TOS modal link, correct fixed-font for new tab. code blocks default to terminal font. 2023-10-16 10:59:20 -07:00
sawka
ce63a03528 fix error getting TOS modal 2023-10-16 10:47:14 -07:00
sawka
18fa085fa1 fix title-bar drag area 2023-10-14 14:30:50 -07:00
sawka
fbcf8f2fbb merge dev 0.4.0 again 2023-10-14 13:36:44 -07:00
Amarsh Anand
8166991928 fixed new-tab button 2023-10-13 18:18:06 -07:00
sawka
e561a8b280 first pass at increasing new-screen click target 2023-10-13 16:40:34 -07:00
sawka
2cd21d1c76 fix fontsize dropdown 2023-10-12 23:46:14 -07:00
Amarsh Anand
fed993a41c Merge branch 'DEV_0.4.0' of github.com:commandlinedev/prompt-client into DEV_0.4.0 2023-10-12 23:30:39 -07:00
Amarsh Anand
db2a47630c settings fixed too 2023-10-12 23:30:36 -07:00
Red J Adaya
1fafc53605
CSV viewer plugin enhancements (#33)
* init
* render table
* add packages
* filtering and sorting
* init pagination
* partially working min-max
* fix broken style
* styles fixes
* init
* sticky header
* resizable cols
* scrollable tbody instead
* remove unused deps
* add file size limit
* style fixes
* scrollable x-axis
* border fixes
* more style fixes
* handle csv without headers
* fix headers rendering
* revert changes to model
* revert changes to code plugin
* ellipsis mixin
* fix height calc problem
* minor fix
* minor fix
* minor fix
* minor fix
* minor fix
* reset model and code plugin changes
* more fixes
* fix wrong theme import path
2023-10-12 22:55:11 -07:00
Amarsh Anand
17a85734c8 fixed info 2023-10-12 22:25:53 -07:00
anandamarsh
53446e93d3
Pe 195 12 oct 2 (#36)
* history and imports fixed

* history and favourites are ready

* connections home works. now to Add connection

* connections done
2023-10-12 22:06:12 -07:00
sawka
11a90b01dc default tab color is green 2023-10-12 21:42:02 -07:00
sawka
852b227574 shrink cmd-exec space 2023-10-12 21:33:50 -07:00
sawka
e21d35288f fix markdown styles 2023-10-12 21:24:52 -07:00
sawka
ab9ed54b46 align sidebar icons with text. make discord icon slightly bigger 2023-10-12 21:05:04 -07:00
sawka
b23cbbbfc7 session -> workspace. also fix 'hide-prompt' class for openai 2023-10-12 20:59:16 -07:00
sawka
456f92d848 update from session to workspace 2023-10-12 20:39:01 -07:00
anandamarsh
a8700f25eb
Pe 195 12 oct (#35)
* history and imports fixed

* history and favourites are ready

* font size / font family
2023-10-12 20:37:47 -07:00
sawka
067767c70e more minor fixups, sizing, background colors, etc. 2023-10-12 12:58:05 -07:00
sawka
b96d97855b fix content max size 2023-10-12 12:42:33 -07:00
sawka
84f60a21f9 work on statediff styles 2023-10-12 12:20:04 -07:00
sawka
9d347ae08c fix some cmd typography. rtnstate, rtnstate diff, descenders on last line of terminal, lineheight, smaller info line, simple-rendering, etc. 2023-10-12 12:10:50 -07:00
sawka
0c9084364c try to fix background color for ctrl-r history header 2023-10-12 11:29:47 -07:00
sawka
130fcfe032 slightly wider ts column in history. also set min-width on collapsed left bar 2023-10-12 11:16:04 -07:00
anandamarsh
474552d732
Pe 199 pre rel 0.4.0 (#34)
* Tab bg matches selections

* WIP: need to fix all modals one by one

* ready to pull latest

* history fixed
2023-10-11 23:43:47 -07:00
sawka
acc4eea74f fix height, and work on new style for cmdinput 2023-10-11 18:55:20 -07:00
sawka
3359ee7457 jetbrains for terminal font. restore font loading. remove fractional font size. set line-height to 1.5 (not 20px).
fix terminal size calculation.
2023-10-09 22:29:05 -07:00
sawka
0d2a1ec95d update back to transparent background 2023-10-09 20:52:55 -07:00
Red J Adaya
ecff69eee8
Pe 193 csv viewer plugin (#32)
* init

* render table

* add packages

* filtering and sorting

* init pagination

* partially working min-max

* fix broken style

* styles fixes
2023-10-09 15:24:59 -07:00
Amarsh Anand
336ac776d4 more fixes 2023-10-09 15:08:15 -07:00
sawka
26c5136e43 make fixed-font variable in index.less 2023-10-09 10:28:18 -07:00
Amarsh Anand
50b9b9b0e5 changed buttons for code editor 2023-10-09 01:58:03 -07:00
anandamarsh
e2414b0130
played with scrollbars and other things (#31)
* played with scrollbars and other things

* fixed code stuff
2023-10-09 01:47:21 -07:00
Amarsh Anand
f39accabb6 refactored plugin 2023-10-05 14:41:42 -07:00
anandamarsh
26f7cea6a4
restructured plugins (#30) 2023-10-05 13:56:52 -07:00
sawka
71151f7073 fix tab color in settings 2023-10-05 13:27:29 -07:00
sawka
c7676bb22e make progress on tab colors 2023-10-05 13:05:40 -07:00
sawka
4708b4379a move tabs up, cool titlebar effect 2023-10-05 12:21:07 -07:00
sawka
b4b7c2c273 move css content from index.less to app/app.less 2023-10-05 12:11:50 -07:00
sawka
aca9fcdcad fun with transparency 2023-10-05 12:02:43 -07:00
anandamarsh
daee5c7c36
Refactored now (#29)
* redy to recover Terminal dir

* as Mike asked ... commit what you have :)

* fir anyone to have a look - DONT RUN

* works !!!
2023-10-05 11:25:32 -07:00
Amarsh Anand
9f284083bb try now 2023-10-04 10:49:17 -07:00
Amarsh Anand
2f43a1096e restoring LinkeRenderer 2023-10-03 15:02:55 -07:00
Amarsh Anand
3c320887d3 finding sessions settings in main 2023-10-03 14:40:06 -07:00
Amarsh Anand
a1329bfd45 ready for mike to have a look 2023-10-03 14:27:51 -07:00
anandamarsh
6e3b82f41b
Pe 125 128 tabs (#28)
* ready to redo tabs

* mov to tabs now

* we can do the tabs now

* tabs are done
2023-10-03 14:26:13 -07:00
anandamarsh
5a0effb691
Pe 96 left navbar (#27)
* nice. bottom done

* work on adding workspaces

* starting on Tabs
2023-09-30 12:13:40 -07:00
anandamarsh
b1820224d5
Pe 107 global changes (#26)
* chaged background etc. now making font changes

* need to go component by component now
2023-09-27 15:03:08 -07:00
anandamarsh
a25c7b4286
Pe 179 refactoring UI code (#25)
* refactored main JS files

* modals have been refactored

* lines and renderer refactored

* all refactoring done. ready for reskinning
2023-09-23 21:05:06 -07:00
anandamarsh
faeab0790a
refactored code editor (#24) 2023-09-19 17:08:35 -07:00
sawka
e30128d182
Mustache Template Renderer (#23)
* experimental version of the mustache renderer

* mustache error message / loading cleanup, add refresh button
2023-09-17 21:00:54 -07:00
anandamarsh
7e4401a625
Ready for PR (#22)
* redy for PR

* marked readonly
2023-09-17 20:14:36 -07:00
anandamarsh
9a578c04d3
PE-44 md viewer (#21)
* md does render. need cleanups

* simul scrolling works

* preview button works

* md previewer works

* use Markdown component from elements, fix null ptr with unset ref

* add scroller div back in

* scrollers should overscroll contain

---------

Co-authored-by: sawka
2023-09-17 13:58:12 -07:00
sawka
ca13c28a3f minor bugs in markdown renderer, up max size to 200k 2023-09-17 01:35:41 -07:00
sawka
968cd462f5 mostly fix physical focus indicator for code editor 2023-09-16 23:20:47 -07:00
sawka
26eec11526 add notfound error handler (and fontsize override) to markdown viewer (to match image viewer) 2023-09-16 23:07:30 -07:00
sawka
8a4ff84e95 open all iframe (name=webview) links in new window. deny any other iframe navigation. 2023-09-16 22:58:28 -07:00
sawka
6e8dcad1f1 fix PE-152 and PE-146, font size for new state, and force connection terminal to scroll if too big (when font size doesnt match) 2023-09-16 14:27:17 -07:00
sawka
8b8f7cda7b PE-151, need to use setWindowOpenHandler (in new version of electron) instead of new-window event. 2023-09-16 13:08:30 -07:00
sawka
caa11748e5 PE-150, error when image not found 2023-09-16 13:01:38 -07:00
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
17fef0341d remove webshare from screen settings 2023-09-15 15:46:17 -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
5f04f14df6 link new website 2023-09-08 14:26:30 -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
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
Amarsh Anand
c5861fd26f new prettier config 2023-08-21 20:06:17 -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
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
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
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
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
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
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
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
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
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
132c0dacde fade in the ... 2023-02-23 23:36:35 -08:00
sawka
281d964d86 improve rendering performance 2023-02-23 23:24:26 -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
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
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
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
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
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
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
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
9c95aa25d1 colorize prompt for remotes 2022-12-29 00:06:53 -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
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
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
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
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
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
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