Commit Graph

901 Commits

Author SHA1 Message Date
Sylvie Crowe
40af311e5b
remove handleKeyDown for NumberField (#166)
handleKeyDown was a method that filtered out specific keypresses if they
weren't specific keycodes. This did not play well with all keyboards
which made it impossible to enter port numbers. furthermore,
handleInputChange should already filter out non-numeric characters, so
the filtering still works properly with this removal.
2023-12-18 16:03:51 -08:00
Evan Simkowitz
112fda912f
Modify "Check for Updates" setting name (#164) 2023-12-18 15:28:35 -08:00
sawka
80f7162691 dont scroll main view when selecting line in sidebar 2023-12-18 14:11:04 -08:00
sawka
ce252d479b fix id issue -- must use a unique id for tabs so we don't get collisions on real elements in the CSS 2023-12-18 00:16:57 -08:00
Mike Sawka
21ab82e2e2
Implement a Sidebar for Tabs (#157)
* work on basic sidebar layout

* fix more golang warnings

* sidebar open/close

* add ability to set width of split

* sidebar add and remove, set width, etc.

* almost working sidebar implementation -- still needs height/width, input control, and bug with initial add, but getting there

* add isSidebarOpen() method

* fix resize jump -- must set width in error handler as well (before window is loaded)

* sidebar UI touchups and help

* more sidebar progress, render more like regular lines, just in the right column

* merge

* move migration to 26

* simplify sidebar types

* checkpoint

* proxy things through parent screen object for sidebar

* checkpoint, add/remove from sidebar

* work on add/remove icons for sidebar

* fix height calculation, remove close button

* bring back close button when no line is selected

* add sidebar flag to run command to run new command output in sidebar

* implement 'sidebar' kwarg in eval.  this lets sidebar work for slashcommands as well that produce lines (codeedit, mdview, etc.)

* prettier

* minor fixes

* working on resizing.  must exclude sidebar entries and send separate resize events based on size of sidebar (implement exclude / include for resize)

* fix sidebar terminal command resizing

* add sidebar header (toggles for half/partial width and close).  add hotkey to open/close sidebar (Cmd-Ctrl-S).  more robust calculation for sidebar width. add width validation.  minimum sidebar width is 200px.  other fixes, etc.
2023-12-17 23:46:53 -08:00
sawka
781ebe8154 add checking for latestversion (avoid potential error in semver.compareLoose) 2023-12-16 11:36:38 -08:00
sawka
ad225ed28a fix some ts errors in emain.ts 2023-12-16 10:59:30 -08:00
Cole Lashley
4ccd62f12a
Add support for proxying open AI chat completion through cloud (#148)
* wrote client code for communicating with lambda cloud

* Added timeout functionality, added check for telemetry enabled for clouod completion, added capability to unset token, other small fixes

* removed stale prints and comments, readded non stream completion for now

* changed json encode to json marshal, also testing my new commit author

* added no telemetry error message and removed check for model in cloud completion

* added defer conn.close() to doOpenAIStreamCompletion, so websocket is always closed

* made a constant for the long telemetry error message

* added endpoint getter, made errors better

* updated scripthaus file to include dev ws endpoint

* added error check for open ai errors

* changed bool condition for better readability

* update some error messages (use error message from server if returned)

* dont blow up the whole response if the server times out.  just write a timeout message

* render streaming errors with a new prompt in openai.tsx (show content and error).  render cmd status 'error' with red x as well.  show exitcode in tooltip of 'x'

* set hadError for errors.  update timeout error to work with new frontend code

* bump client timeout to 5 minutes (longer than server timeout)

---------

Co-authored-by: sawka
2023-12-15 22:20:03 -08:00
Evan Simkowitz
b733724c7d
Add sidebar banner when new release is available (#147)
* Server impl

* add update check setting

* add commands

* fix capitalization of commands

* apply suggestions

* add migration and fix backend bugs

* Add sidebar banner

* remove installedversion, add 5s timeout

* add icon, capture and log errors from release check

* missing return nil

* remove highlight

* remove commented less

* do not fail releasecheckoncommand if release check operation fails

* remove debug condition

* fix update on auto check, move banner display logic into frontend

* remove unnecessary import

* simplify null check

* clean up the invoking of the releasechecker
2023-12-15 17:43:54 -08:00
Red J Adaya
4ff5dcf1e0
fix mouse scroll (#151) 2023-12-15 16:15:45 -08:00
Red J Adaya
f9d0e63d0c
delete screen immediately when there are no lines in it (#152) 2023-12-15 15:40:34 -08:00
Red J Adaya
ea9cb37de1
drag and drop support for tabs (#146)
* back-end implementation. initial ui implementation

* rough implementation of drag and drop

* wrap with AnimatePresence

* persist screen order

* cleanup

* return all screens when updating indices

* remove y axis anitation

* remove debugging code

* chain filtering and sorting logic

* remove unused var

* fix issue where tabs shift to left on hover

* fix tabElem scroll into view regression

* clear scrollIntoViewTimeout when component unmounts

* remove borken style prop

* completely remove animation related props

* scroll into view only when there's a new tab

* minor comment fix

* resolvePosInt() to resolve index

* move tab width const to magiclayout.ts

* move back scroll into view code as it was before

* clear timout

* refactor setTimeout

* remov debugging codes

* format cmdrunner.go

* move clearTimeout

* remove wheel event listener
2023-12-14 21:50:47 -08:00
Mike Sawka
8200a312b9
On MacOS allow UserShell to override /bin/bash (#137)
* switch emain to using the bash from PATH, not defaulting to /bin/bash.  not convinced this fixes #132 yet because the PATH set for MacOS applications is not set from .bash_profile or .zprofile.  those seem to be set with launchctl setenv.

* move MacUserShell() func to shexec.  use dscl UserShell output as bash path on MacOS when present.  fixes #132
2023-12-14 21:45:27 -08:00
Evan Simkowitz
3b65e9941a
Clean up potentially unsafe external links (#139)
* Clean up potentially unsafe external links

* fix broken imports

* fix error in conditional

* fix one more typo
2023-12-13 17:43:30 -08:00
sawka
b6c880c6ff add 'cmd' parameter to /api/run-command for debugging purposes (easier filtering and visual inspection of run-command calls) 2023-12-12 20:37:00 -08:00
sawka
f442236679 fix performance issue where cmdinput was causing additional loading of screenlines 2023-12-12 20:36:11 -08:00
Red J Adaya
8a938744f7
migrate modals to new modals system (#124)
* migrate screen settings modal to new modals system

* use screen member var in the methods

* migrate session settings modal to new modal system

* use Modal component in session settings modal

* migrate line settings modal to new modals system

* use Modal component in line settings modal

* migrate client settings modal to new modals framework

* set alert modal width to 500px

* remove screen settings modal after deletion

* use Dropdown component for connnections dropdown

* use Dropdown component for connections dropdown in new tab flow

* replace InfoMessage with Tooltip

* use Dropdown for fontsize dropdown

* use Dropdown for renderer dropdown

* fix dropdown width issue on new tab container

* fix class names concatenation

* fix dropdown width issue in screen settings modal
2023-12-07 22:51:46 -08:00
sawka
32a825aea1 move force install to main connection screen, remove edit/delete from edit screen 2023-12-05 17:42:43 -08:00
Sylvie Crowe
6791d874e3
Add Waveterm Icon to Linux (#120)
* add icon for Linux

The app icon previously did not show up in Linux. This change fixes that
by providing the wave-logo-dark.png to the electron Browser Window.

* set the icon to only use the direct path on linux

The previous change was only required on linux and not on mac. This
ensures the old behavior will continue to be done on mac while using the
new behavior on linux.
2023-12-04 22:47:01 -08:00
Red J Adaya
9ebd5bda8f
TOS Modal (#123)
* register tos modal and fix its styles

* hard-code render TOS modal in ModalsProvider

* cleanup

* remove tos const
2023-12-04 18:29:21 -08:00
Red J Adaya
0c756838e0
Tab Settings (#117)
* use Modal component

* icons selector

* do not limit icons in the backend
2023-12-04 09:52:59 -08:00
Sylvie Crowe
7310481383
Add a button to filter out non-running commands (#113)
* add filter button to the command input box

This will become a button that temporarily filters out the non-running
commands from your screen. At the moment it is only a placeholder design
that will likely change with more feedback. It does not have any
functionality at the moment.

* add view indication of active filter

This will become a clickable notification to let users know that a
filter is being applied. It displays the number of lines that are being
filtered. The plan is for it to be clickable to remove the filter. The
current version is a placeholder that is likely to change. It has no
functionality at the moment.

* add basic state to the filtering buttons

The filtering buttons up until this point haven't done anything. Now
they can be clicked and unclick causing them to render differently
depending on if they're selected. They still have no functionality
outside of their own appearance.

* add filtering functionality to filter button

The filter button now hides all non-running commands. And pressing it
again or pressing the other filter button will bring
back the hidden commands.

There are currently some formatting issues with the second button as it
jumps to the top of the screen if the filter is on and no running
commands are present.

An additional change was made to remove a variable accidentally
introduced in the last commit.

* add count for number of lines filtered out

The secondary filter button now lists the number of non-running commands
that have been filtered out. This count is added to the screen model in
case it is needed elsewhere.

* fix the style on the secondary buttons

This fixes the margin an the button to bring it in line with the line
items. It also fixes empty window screen to use a different css class.
Previously, the window-view class being used would cover the button. It
is now using the window-empty class instead.

* change formatting for secondary filter button

The button is now yellow with a border style instead of red with a solid
style. The border-radius has been changed to give the button a pill
shape.

Additionally, a style tab has been added to the button component to
provide it with custom styling. It should be changed to a custom class
design in the future.

* update style on primary filter button

This is being changed to simpler hover text in line with other text in
the cmd box.

* add number display as text for first filter button

The main filter button originally displayed a somewhat vague message.
Now it displays the number of running tasks with the rotating arrow
symbol.

* remove numLinesHidden count from model

This numLineHidden count is no longer needed with the new button design.
Furthermore, it created several warnings in react due to its
implementation. For both of these reasons, it has been removed.

* update filter functionality to better utilize mobx

This consisted of a few changes. The first was to move the filter state
from the GlobalModel to ScreenLines in order to track state separately
for each screen. Then several of the functions had to be rewritten to
wrap setting variables in the mobx.action wrapper.

As is, there are still a few issues with this design:
- the filter is not remembered when switching tabs
- if all running tasks expire, the second filter button is still present

* move filtering observable to Screen model

The previous observable did not persist when changing tabs because
ScreenLines did not persist. By moving it to Screen, the ovservable now
persists after changing tabs.
2023-12-01 20:54:49 -08:00
Red J Adaya
23b6bb29e7
modals system (#106)
* init

* connections table

* view styles

* new components. header and status.

* action buttons

* use Button component in other modals

* hook add connection button

* RemoteConnDetailModal component

* refactor remotes model. read connection modal.

* remote conn detail modal layout and styles

* fix xterm styles

* use correct status message in xterm

* tone down color of settings input

* clean up

* edit remote conn modal

* fix buttons gap

* change button label

* archive and force install features

* use classnames

* add some class names and also set some widths / maxwidth for the table.  too hard to read on large screens.

* small style updates

* fix some typescript errors, other small fixups

* fix type error

* move add button to the bottom of the table

* more improvements

* adjust layout, behavior, and style accrdg to mike's feedback

* set table max-width in css

* open detail modal after creation of new remote

* new modal component. migrate about modal to new modal component.

* migrate create remote conn modal to modal component

* working modals stack

* update some working (remote -> connection).  fix typescript error in connections.  remove some console.logs

* fix a couple of mobx warnings (need to wrap in action)

* register create conn modal

* follow model naming convention

* register edit remote conn modal

* reset

* reset

* reset

* reset

* use remotes model methods and wrap pushModal calls in mobx action

* only close connect modal after update for remotes returns

* register alert modal

* fix type error in app.tsx

* migrate remote detail and alert modal to base modal component

* Revert "fix conflicts"

This reverts commit 962da77918, reversing
changes made to 34cbe34ba5.

* only wrapper ModalProvider with mobx provider

* change archive label to delete

* fix error where isOpen method does not exist

* remove registry modal

* rename ModalStoreModel to ModalsModal

* fix issue where edit remote conn modal doesn't show

* simplify modal component

* grab remoteModel from within the remote modals

* fix edit modal

* minor change

* cleanup

* more cleanup

* change confirm wording to 'delete' instead of 'archive'.  remove or-equals since isBlank is designed to check for exactly that.

* undo some of the strict typescript fixes

* undo more typescript fixes

* cleanup

* fix import

* revert build.md change
2023-12-01 20:04:59 -08:00
Sylvie Crowe
ebf356417d
add link to terms of service (#105)
* add link to terms of service

The welcome page previously referenced the terms of service without
providing a link to them. This change adds a hyperlink which allows
users to easily navigate to them.

* remove the tos checkbox

Additionally, small cleanups have been made to the formatting of the
source code.

* update color name from prompt-green to wave-green

Previously, the name prompt-green was used for the green color
associated with the branding. It has now been changed to wave-green.
This is in response to the terminal being renamed from prompt to
waveterm.

As a part of this, change the css class is-prompt-green has also been
changed. It is renamed to is-wave-green.

* update anchor tags to use wave-green color

Previously, anchor tags used the blue color that comes as default with
bulma css. They are now changed to be the wave-green color that matches
the rest of the branding.

This also involved updating the hover text to be the same color.
Note that hover links had to be specified but focus links did not. I
imagine this is because of bulma css defaults. Regardless, the previous
.content overwrite that we used for hovering hyperlinks was removed as
it is no longer necessary.
2023-11-29 00:27:54 -08:00
Red J Adaya
e95934e2df
connections screen and modals (#69)
* init

* connections table

* view styles

* new components. header and status.

* action buttons

* use Button component in other modals

* hook add connection button

* RemoteConnDetailModal component

* refactor remotes model. read connection modal.

* remote conn detail modal layout and styles

* fix xterm styles

* use correct status message in xterm

* tone down color of settings input

* clean up

* edit remote conn modal

* fix buttons gap

* change button label

* archive and force install features

* use classnames

* add some class names and also set some widths / maxwidth for the table.  too hard to read on large screens.

* small style updates

* fix some typescript errors, other small fixups

* fix type error

* move add button to the bottom of the table

* more improvements

* adjust layout, behavior, and style accrdg to mike's feedback

* set table max-width in css

* open detail modal after creation of new remote

* update some working (remote -> connection).  fix typescript error in connections.  remove some console.logs

* fix a couple of mobx warnings (need to wrap in action)
2023-11-27 16:22:15 -08:00
sawka
7d8f811228 fix typo 2023-11-24 00:15:09 -08:00
sawka
ebdc1ff524 fix ctrl-w functionality 2023-11-20 22:03:56 -08:00
sawka
3f57ee8c46 drop visible map recomputation time to 100ms (from 1000ms). lines fill in much faster when scrolling 2023-11-16 23:57:36 -08:00
sawka
e15558690f make ctrl-shift-v work in the terminal (paste text) 2023-11-16 23:40:20 -08:00
sawka
bf03ff2591 add ctrl-shift-c handler for terminal (to copy text) 2023-11-16 23:11:42 -08:00
sawka
ad0f11c097 allow terminal font sizes up to 24px 2023-11-16 22:49:59 -08:00
sawka
5327258287 add logo to left sidebar, change how collapse works 2023-11-10 13:16:35 -08:00
sawka
dd49e43579 update screen -> tab in user facing messages. waveshell var / ignore. fix bug with external urls 2023-11-10 12:31:31 -08:00
sawka
7449d9db67 remove show metacmds from history search (we always want to show meta) 2023-11-09 22:44:39 -08:00
sawka
4076c58b53 update in-app links to point to waveterm.dev 2023-11-09 21:49:06 -08:00
Red J Adaya
a0479c4683
add connection modal (#64)
* various improvements

* animation menu on close

* finish custom dropdown

* minor change

* minor fix

* add error support for dropdown

* create remote modal

* NumberField component and more on add remote connection modal implementation

* extend TextField instead. dobounce should be handled by the user not the component

* PasswordField

* remove used code. fix ssh key file field issue

* style buttons. fix modal height issue

* use react portal for dropdown menu

* remove debugging code

* tooltip implementation

* put back modal background

* (sawka) add autofocus attribute to textfield.  change label color to color-secondary.  fix file menu name.  fix typescript error in basicrenderer
2023-11-09 16:28:37 -08:00
sawka
68731f45a2 make binary paths consistent between dev/prod. add 'eval' as a rtnstate command. fix waveterm.lock file 2023-11-09 16:08:32 -08:00
sawka
379854e049 don't load remote content, and dont show codeeditor if closed 2023-11-08 00:26:28 -08:00
sawka
8daac68aad dont load plugin resources at startup (delays important loads). load on demand if we open the apps screen. 2023-11-08 00:12:41 -08:00
sawka
86436d050e limit size of newstate on line 2023-11-07 23:58:54 -08:00
sawka
1be2716f6e add square icon back, fix spacing somewhat 2023-11-07 16:15:54 -08:00
sawka
aa0e8415c1 rename talk to us to discord 2023-11-07 01:27:11 -08:00
sawka
85f6aed2ad remove apps in prod (not implemented yet) 2023-11-07 01:26:22 -08:00
sawka
d076fc0c72 remove current version check in about modal (not implemented). text not selectable (except for version) 2023-11-07 01:24:35 -08:00
sawka
80675f8c0f update base cmdinput height 2023-11-07 01:16:48 -08:00
sawka
8ffd537bb7 fix cmdinput expand size calc 2023-11-07 01:14:26 -08:00
sawka
a2b529f950 fix typescript errors 2023-11-07 00:18:45 -08:00
sawka
7920a797dc
Merge branch 'main' into dev-0.5.0 2023-11-07 00:08:43 -08:00
Red J Adaya
847de1fc60
new tab flow (#60)
* init

* init

* error handling

* use css

* minor improvements

* fix some issues and tabicon init

* show error indicator when empty and is required

* debounce input

* fix decorator linting issue

* icon system init

* fix bugs

* color custom icons and fix regression

* remove debugging code

* remove @tab-magenta. fix formatting.

* swap magenta for mint

* change tab color order
2023-11-07 00:04:25 -08:00
sawka
f8d3c0c19c rename MainSideBar to sidebar 2023-11-06 14:00:43 -08:00
sawka
6430593e5f upgrade packages 2023-11-06 13:56:09 -08:00
sawka
d405352823
Create MacOS Universal Build (#62)
* testing universal build

* arch files not required anymore

* use CGO_ENABLED for wavesrv.  write out notes about the universal build problems/solution

* script and updates for universal build

* more updates for sign/notarize flow for universal app

* put in prod migration check

* build prompt to wave migration into emain.  updates to macos build scripts

* update some packages

* successful universal build

* remove unused code
2023-11-05 00:00:47 -07:00
sawka
cccaf83b39 Merge branch 'dev-0.5.0' 2023-11-03 16:25:39 -07:00
Red J Adaya
a69e844178
init (#61) 2023-11-03 13:11:49 -07:00
sawka
61d6d2ddff scope this section rule so it doesn't conflict with monaco editor 2023-11-03 00:44:47 -07:00
sawka
bda9943ed7 Merge remote-tracking branch 'origin/dev-0.5.0' 2023-11-02 14:06:22 -07:00
sawka
38a1f95115 migrate DB WAL file as well as DB file. make dev leftnav color more subtle 2023-11-02 14:05:43 -07:00
sawka
5708b3f19f working on small history UI updates 2023-11-02 01:02:50 -07:00
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
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