Commit Graph

643 Commits

Author SHA1 Message Date
sawka
d528f3db27 abstract connection selector dropdown properly. use in settings. remove old selector. 2023-11-02 00:08:04 -07:00
sawka
f2baa59af6 fix default workspace creation bug. fix no workspace message 2023-11-01 23:41:04 -07:00
sawka
055d00d78a use nextlinenum to decide whether to show newtab flow 2023-11-01 23:10:01 -07:00
sawka
90e07266bf try to fix the inline edit control 2023-11-01 23:02:19 -07:00
sawka
a7c2d440b2 new tab colors. also re-implement tab gradients according to figma file 2023-11-01 22:38:37 -07:00
sawka
df073724e0 remove console.log from pluginsview 2023-11-01 01:29:17 -07:00
sawka
afc5bbd212
Update Data Directories and Environment Variables (#59)
* phase 1 of wave runtime migration.  update waveterm_dev, build vars, waveterm_app_path.  fix errors with plugins readmes and screenshot directories.  use asset loaders in webpack.  fix window-empty styles.  wave-migrate script.  remove unused scripthaus commands.  other fixes

* waveterm_home directory.  lots of internal scbase prompt names to wave

* update waveterm.lock file

* change wave data directories.  remove welcome modal code

* update waveterm.db name

* fix Wave menu (add back default items).  Update TOS modal words

* fix typescript errors
2023-11-01 01:26:19 -07:00
Red J Adaya
15a4719b17
About Modal (#39)
* menu item and send event to renderer

* wire up everything

* update content

* modal content

* add mising text

* minor fix

* style fixes

* figma design init

* about header, content, and general styles

* css refactor

* more on refactor

* reuse styles from app.less in about modal

* dynamic status

* external linkn

* finish about modal

* update links

* update license link
2023-10-31 22:24:36 -07:00
sawka
8211a0bb26 reduce line jitter when switching from simple to full mode 2023-10-31 12:55:35 -07:00
sawka
e1189a5051 remove a lot of hover effects, unselectable menu text. move apps to bottom. remove favorites 2023-10-31 11:29:17 -07:00
sawka
ab8021fad7 add fontawesome back into the repo 2023-10-31 11:18:12 -07:00
sawka
a8836ec691
Merge pull request #57 from wavetermdev/dev-0.5.0
Initial v0.5.0 merge into main
2023-10-30 23:36:29 -07:00
Red J Adaya
e7b58c1077
user oboarding flow (#54)
* init

* telemetry toggle

* finish styling and functionality

* remove unused style

* rever some styles

* use goroutine in sending telementry updates

* remove wave-modal class from AlertModal

* icons and button state fixes

* minor change with goroutines

* use default cursor not not-allowed
2023-10-30 22:39:51 -07:00
sawka
616a7d2dc0 fix new-tab button when scrolling (was getting flex-shrunk) 2023-10-30 20:47:45 -07:00
sawka
14715ec5b1
Fix All TypeScript Errors (#56)
* update newtab screen to make it match the figma mockup (still waiting on UI for name)

* fix all typescript errors

* update for new build

* remove old import
2023-10-30 09:53:17 -07:00
sawka
9b5bc33125
update newtab screen to make it match the figma mockup (still waiting on UI for name) (#52) 2023-10-30 09:43:54 -07:00
sawka
940a187d34 update dmg build for Wave. Fix tab rounding 2023-10-29 20:02:57 -07:00
anandamarsh
c9c2b91a77
Pe 222 apps sidebar (#51)
* can open / close Apps view

* gotten app list to load dynamically

* updated icons  bizzare that they all have the same bg
color

* can select an app form left bar

* could not get ImageViewer to work :(

* getting rid of screenshots

* readme.md works

* fixed the color problems for icons
2023-10-28 13:18:31 -07:00
Tracy Miranda
505ab56ef4
PE 178 Add OSS files (#50)
* Add contribution guide

* Format improvements

* Add security guidelines

* Create CODE_OF_CONDUCT.md

* Add README.md
2023-10-28 13:16:50 -07:00
Red J Adaya
e0cd8516b8
update color tab names (#49)
* change color names and values

* migrations

* update tab colors in fe

* set to default instead of null

* minor server fixes
2023-10-28 13:14:20 -07:00
sawka
9804dcb14c fix up spacing for workspaces in sidebar 2023-10-26 15:17:23 -07:00
sawka
5bf83a7e59 move to 12.5px font for sizebar, increase icon size 2023-10-26 15:08:21 -07:00
sawka
f239832435 clicking anywhere on the cmdinput will give focus. also fix the click handler for exec to only be on the icon 2023-10-26 01:40:18 -07:00
sawka
d8d7d0b7d2 add 'magiclayout' to hold magical layout constants. compute the constants with the new padding/margins for new UI. use to compute runtime heights. 2023-10-26 01:25:46 -07:00
sawka
04cdab6f74 add metabarecmds into command completion 2023-10-26 00:01:52 -07:00
sawka
267b035fc8
remove autoinstall options from GUI, always set autoinstall flag, db migration to set autoinstall for all remotes (#48) 2023-10-25 22:07:00 -07:00
Red J Adaya
736fb7be6a
csvviwer focus support (#46)
* more fixes

* add delay and slight opacity animation

* cleanup

* focus support

* use savedHeight as initial tbody height

* cleanup

* set container to savedHeight initially

* fix calc issue

* more calc fixes

* more calc fixes
2023-10-25 21:41:52 -07:00
sawka
65db030126 change prompt.js/css to waveterm.js/css 2023-10-25 18:45:14 -07:00
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