Trevor Hudson
e5d616b0bf
add optional telemetry ( #1939 )
...
* add optional telemetry
* move capture
* add changeset
* implement suggestions
2025-02-27 15:40:47 -08:00
Frostbourne
916660a390
[ENG-126] Migrate to Vite ( #1876 )
...
* Initial webview vite migration
* Make vite work
* Fix test running
* Enable HMR, disable vite chunking
* Silence type checking errors
* Vite doesn't use browserslist
* get rid of breaking css flag
* add doc to getHMRHtmlContent
* Make it work
* Changeset
* Add IS_DEV to env definitions
* Update tasks to include HMR
* Update CSP image rules
* prettier
* reintroduce IS_DEV in env
* add new deps to pkg lock
---------
Co-authored-by: Dennis Bartlett <bartlett.dc.1@gmail.com>
2025-02-27 14:45:46 -08:00
Andrei Edell
202e3a6d05
Hugelung/rich mcp response ( #1941 )
...
* showing images after mcp responses
* images now open in a webview tab
* Open Graph link metadata display for MCP responses
* almost totally working rich mcp response display with images and embeds
* closer
* header for response display
* updated styling of mcp responses
* default to plain text if rich response is loading
* formatting fix
* added changeset output
* remove some old code
* add the dashed border back
* avoid XSS attacks by sanitizing the preview image urls and embeds
* remove incorrect vendor prefix css
* delete old version of open image implementation
* undo some comment removals and cleanups to make PR easier to read
---------
Co-authored-by: Andrei Edell <andrei@nugbase.com>
2025-02-27 14:45:42 -08:00
Evan
cb02277b45
More Mermaids ( #1833 )
...
* wip
* install dependencies
* rendering mermaid graphs
* fix render failure on streaming
* fix bouncy screen by debouncing mermaid parsing
* add loading state; clean up styling
* replace tag symbols when rendering code
* better mermaid theme for visibility
* added changeset
* remove rehype-mermaid
* update webview package.lock
* clean up
* fix package-lock
* remove regular markdown background styling for mermaid blocks
2025-02-18 12:25:03 -08:00
Saoud Rizwan
d67c7e36da
Add git context mention ( #1806 )
...
* Add git context mention
* Fix context mention highlight
* Create long-guests-occur.md
2025-02-14 19:03:11 -08:00
Saoud Rizwan
fce7f1bea3
Use more visual checkpoints tracking
2025-02-09 03:03:09 -08:00
dependabot[bot]
4d311ffb43
Bump vitest from 2.1.8 to 2.1.9 in /webview-ui in the npm_and_yarn group
...
Bumps the npm_and_yarn group in /webview-ui with 1 update: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ).
Updates `vitest` from 2.1.8 to 2.1.9
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-type: direct:development
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-05 06:18:51 +00:00
brownrw8
57bb43bb6f
Basic unit testing for frontend /webview-ui ( #1522 )
...
* feat: very basic unit testing
* move dep -> devDeps
* correct other deps
* resync after i18n revert on main
* update package-lock.json
2025-01-30 21:48:19 -08:00
Saoud Rizwan
65a860e75e
Revert localization
2025-01-28 18:50:45 -08:00
Saoud Rizwan
397e8bda1f
Revert "add esbuild linux dependancy ( #1448 )"
...
This reverts commit 7752d34947 .
2025-01-25 17:06:16 -08:00
Dennis Bartlett
7752d34947
add esbuild linux dependancy ( #1448 )
2025-01-25 16:41:19 -08:00
brownrw8
e643a4fbd4
feat: Adding react-i18next (preliminary support for en, de, zh, ja)
2025-01-21 06:40:44 -10:00
Saoud Rizwan
9de7253998
refactor: code cleanup, formatting updates, improved workspace handling, checkpoints feature
...
Add instructions
Fix completion
Refactor
Rename reset to restore
add haschanges flag
Remove log
Better error handling
Better error handling
Fix wording
Fix
Fix
Fix
Comment
Add hash for only latest tool
Prepare for release
Fix
Fix delete
Format fix
2025-01-06 12:40:30 -08:00
Mark Percival
93e70c62f1
Chore: Prettier for consistant formatting ( #794 )
...
* Chore: Pretier for consistant formatting
- TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes.
* Revert prettier config
* Run npm install
* Fix prettier config and ignore package lock
* Run format
---------
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-11-21 13:13:54 -08:00
Saoud Rizwan
2f08aed301
Add scrolling animation for streaming
2024-10-09 01:49:56 -04:00
Saoud Rizwan
c664403d4e
Replace react markdown with react remark for better performance when streaming
2024-10-09 01:49:55 -04:00
Saoud Rizwan
1fbf657410
Add fuzzy search to history view
2024-09-11 15:16:12 -04:00
Saoud Rizwan
2c91bafe1e
Add new vscode shell integration to run commands right in terminal
2024-09-08 10:30:50 -04:00
Saoud Rizwan
5578357270
Remove unused deps
2024-09-07 09:01:20 -04:00
Saoud Rizwan
715db7129d
Deep compare chatrow props to update when message changes
2024-09-07 04:57:38 -04:00
Saoud Rizwan
ea14481771
Replace react-syntax-highlighter with rehype-highlight to reduce memory footprint when scrolling code blocks
2024-09-06 21:06:36 -04:00
Saoud Rizwan
4237d6c250
Strip ansi from output
2024-09-02 03:12:33 -04:00
Saoud Rizwan
df4e8e7afc
Add Kodu provider
2024-08-26 01:00:00 -04:00
Saoud Rizwan
f6fd76823b
Add Maestro login button
2024-08-26 01:00:00 -04:00
Saoud Rizwan
69d2bb68b4
Remove react-text-truncate and use custom 'see more' button in task header
2024-08-14 00:22:20 -04:00
Saoud Rizwan
e5d86ffb8d
Revert "Rollback virtualized list changes"
...
This reverts commit e6f6d754b2 .
2024-07-30 04:22:47 -04:00
Saoud Rizwan
e6f6d754b2
Rollback virtualized list changes
2024-07-30 03:04:46 -04:00
Saoud Rizwan
44a4140486
Add memory optimizations, retry failed requests, markdown support
...
- Move isExpanded state up into ChatView to fix issue where virtualized list would reset ChatRow state
- Add ability to retry failed requests
- Add markdown rendering
2024-07-25 08:54:29 -04:00
Saoud Rizwan
9c85a36b2c
Implement virtualized rendering of items in the chat view
2024-07-24 12:19:14 -04:00
Saoud Rizwan
9a63f4f842
Replace react-scroll with custom scroll animation
2024-07-23 07:59:22 -04:00
Saoud Rizwan
9e5a475a2a
Replace event listeners with react-use useEvent; fix bugs with task text truncation, stale effects, and 'visible' extension TypeError
2024-07-23 06:29:37 -04:00
Saoud Rizwan
7170d2a2e8
Fixed garbage collection of aborted tasks; handle if run from root directory then don’t read/write; fixed scroll to bottom; fix other small bugs
2024-07-09 23:44:20 -04:00
Saoud Rizwan
97faff3ba5
Add CodeBlock component
2024-07-09 20:17:07 -04:00
Saoud Rizwan
a360d1007e
Use vscode scrollbar style; add TaskHeader
2024-07-09 08:57:39 -04:00
Saoud Rizwan
08effc4799
Make react build task; add react-textarea-autosize; add settings button; add settings page; get basic chat interface working
2024-07-07 05:05:28 -04:00
Saoud Rizwan
ed9ff69fc7
Fix react app build script
2024-07-06 02:25:54 -04:00
Saoud Rizwan
571c7d217e
Add vscode helper and fix formatting in react app
2024-07-06 01:45:54 -04:00
Saoud Rizwan
4bfc2a5bc4
Add CRA webview-ui
2024-07-06 01:35:59 -04:00