Commit Graph
1728 Commits
Author SHA1 Message Date
anandamarshandGitHub faeab0790a refactored code editor (#24) 2023-09-19 17:08:35 -07:00
Amarsh Anand f251718d62 Merge branches 'PE_153-Close_without_saving' and 'main' of github.com:commandlinedev/prompt-client 2023-09-19 16:42:59 -07:00
sawkaandGitHub 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
sawka aa5c09368e bump version to v0.3.1 2023-09-17 20:32:35 -07:00
sawka 4953550425 bump version to v0.3.1 2023-09-17 20:31:55 -07:00
anandamarshandGitHub 7e4401a625 Ready for PR (#22)
* redy for PR

* marked readonly
2023-09-17 20:14:36 -07:00
Amarsh Anand ac3765c16d marked readonly 2023-09-17 19:45:03 -07:00
Amarsh Anand 83f1ec5c8b redy for PR 2023-09-17 19:07:15 -07:00
sawka 6864f2b5a7 bump xterm.js version to v5.3.0 (perf improvements) 2023-09-17 14:14:51 -07:00
sawka 6563b5855c better cmdrunner / linestate integration (lang, template, etc.). lineState is now passed to AddCmdLine 2023-09-17 14:10:35 -07:00
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 de04a700d1 PE-117, PE-116, PE-149 2023-09-16 11:15:09 -07:00
sawka 975512d4eb Merge branch 'codeedit-focus' 2023-09-15 17:25:01 -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
sawkaandGitHub f6b9b6df3e CodeEdit Focus and Remove WebSharing (#20)
* implement codeedit focus with the help of a shouldFocus prop from the Line component.  also update line status, and remove websharing in left nav

* remove webshare from screen settings
2023-09-15 17:19:24 -07:00
sawka 17fef0341d remove webshare from screen settings 2023-09-15 15:46:17 -07:00
sawka 54c2087ad6 remove websharing backend, migrate db to stop websharing any screens that are currently shared 2023-09-15 13:48:58 -07:00
sawka 13fe90cdb5 implement codeedit focus with the help of a shouldFocus prop from the Line component. also update line status, and remove websharing in left nav 2023-09-15 13:01:04 -07:00