Commit graph

51 commits

Author SHA1 Message Date
Jacob Kim
f27e7c71de
feat: add user-friendly way to toggle between FIM and next edit (#7355)
* feat: don't format when model is not mercury

* chore: bump

* fix: remove mercury-coder-nextedit

* refactor: remove refs to mercury-coder-nextedit

* feat: add util function for converting model name to enum

* refactor: add new types

* refactor: create an abstract base class for providers

* refactor: add child provider for instinct

* refactor: add provider for mercury coder

* refactor: provider factory

* refactor: use factory to create model providers based on helper.modelName

* refactor: clean up redundant logic to be more provider-friendly

* add buildPromptMetadata as an abstract method

* refactor: use handlebars and provider-specific template renderers

* refactor: use this.modelProvider instead of prompt engine

* refactor: remove redundant helper

* fix: update vitest after refactor

* feat: add test for convertNextEditModelNameToEnum

* fix: add isSecurityConcern imports

* feat: add functions to return next edit menu items and update config

* fix: get rid of callbacks

* feat: render next edit menu items

* fix: get rid of redundant completion request

* feat: update next edit status on vscode workspace config update, refactor out common logic

* feat: add continue.enableNextEdit

* feat: add aborted field to check for false positives

* fix: remove zetaDataset suffix

* feat: make sure that we are tracking completions

* feat: log aborts and move id generation to the top

* feat: all requests are tracked. when request is aborted, log as aborted with zero-value data. else, graduate it from pending completion and set aborted to false

* feat: add aborted to schema

* feat: add a toggleNextEditEnabled command

* feat: show (NE) in the status bar when next edit is enabled, add keymap

* feat: add command definitions for toggleNextEditEnabled

* refactor: handle validation in VsCodeExtension

* feat: check if model does not support next edit

* feat: use better menu item labels

* fix: casing

* chore: bump

* feat: add a function to disable next edit

* feat: disable next edit before e2e tests

* chore: bump

* fix: add a small delay to wait for UI loading

* fix: NE is shown for all statuses

* fix: wait for the NE to pop up

* fix: wait longer for disableNextEdit, clear potential next edit notifications

* fix: roll back clearAllNotifications

* fix: try disabling next edit before each

* fix: revert

* feat: add sane defaults when no workspace settings are set

* fix: fall back to false

* fix: debugging

* chore: change name

* fix: try waiting for text

* debug: more debug logs

* fix: clear notifs

* fix: suppress warning

* fix: string matching

* fix: jump label overlapping with the inline tip label (#7399)

* feat: add methods to temporarily hide and show tooltip

* feat: hide the inline tooltip when the jumpmanager's tooltip is shown

* feat: focus on chat input after apply

* revert

* fix: HOTFIX local assistant loading (#7354)

* fix: local assistant loading

* fix: no need for excluding .continue/.continue

* test: cases for config.yml and config.yaml names

* feat: remove hide/show logic for creating a new svgbuilder instance

* feat: use a new svgBuilder istance

* chore: update package-lock.json

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>
2025-08-26 21:54:29 -04:00
Tomasz Stefaniak
f7412ba627
Fetch CA certificate tests (#6803)
* test: certificates

* fix: failing tests

* test: e2e

* fix: prettier

* improv: clean up code

* chore: update dependencies

* fix: type errors

* fix: formatting
2025-07-31 15:37:36 -07:00
Jacob Kim
1f84b2994a fix: reduce time 2025-07-25 16:01:54 -07:00
Jacob Kim
1238a66b2d stash: works locally 2025-07-23 14:49:00 -07:00
Jacob Kim
bf916bc44c fix: try long polling 2025-07-23 13:50:19 -07:00
Jacob Kim
c7fcbff7b0 test: would doubling the time work? 2025-07-23 13:35:49 -07:00
Jacob Kim
945cd4a854 fix: add more time 2025-07-23 12:19:18 -07:00
Jacob Kim
da2bfa1a0f feat: use a selector uitl 2025-07-23 11:49:43 -07:00
Jacob Kim
3b170263e6 fix: calculate svgDecoration before 2025-07-23 11:17:51 -07:00
Jacob Kim
569dc58202 feat: wait longer for decoration to appear 2025-07-23 10:59:51 -07:00
Jacob Kim
8223010f29 feat: wait for SVG 2025-07-23 10:49:35 -07:00
Jacob Kim
afbcb58b6a fix: add more time 2025-07-23 10:37:31 -07:00
Jacob Kim
c638a95854 feat: fix flake 2025-07-23 10:07:37 -07:00
Jacob Kim
c5a22b3e4a fix: test 2025-07-22 17:07:58 -07:00
Jacob Kim
6ae38bfba4 fix: MD doesn't work on CI, use XL again 2025-07-22 15:43:54 -07:00
Jacob Kim
7ff252034f feat: update next edit e2e test 2025-07-22 15:29:36 -07:00
Tomasz Stefaniak
25ebca018f
feat: compaction (#6662)
* feat: compaction

* fix: type errors

* fix: prettier

* fix: type errrors

* Update gui/src/components/StepContainer/StepContainer.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* Update gui/src/components/StepContainer/ResponseActions.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* Update gui/src/components/StepContainer/ConversationSummary.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* fix: compaction

* fix: type errors

* fix: type errors

* fix: add passthrough

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-07-17 16:22:46 -07:00
Jacob Kim
e73561a18e TIME MAGAZINE 2025-06-30 18:04:17 -07:00
Jacob Kim
ccddba0168 MORE TIME 2025-06-30 17:59:07 -07:00
Jacob Kim
2acc5dd11d give more time 2025-06-30 17:50:33 -07:00
Jacob Kim
8c52642cdb update config programmatically and reload before and after next edit tests 2025-06-27 19:28:16 -07:00
Jacob Kim
e2ef6a9b67 add test for next edit esc to reject 2025-06-27 18:32:29 -07:00
Jacob Kim
d65ba33a57 add test for tab to accept 2025-06-27 18:21:16 -07:00
Jacob Kim
4b642303de add svg decoration render test for next edit 2025-06-27 16:41:13 -07:00
Tomasz Stefaniak
77989095ba fix: formatting 2025-06-20 11:24:06 -07:00
shamanic
dcffd3529f test: add force autocomplete test case
- Adds `forceCompletion` method to `AutocompleteActions` to trigger autocomplete via command.
- Includes new test case to verify forced autocomplete functionality.
- Attempted to test these tests to the best of my ability`
2025-06-07 05:03:12 +01:00
chezsmithy
8c3805c067 fix tests that now only work in Agent Mode 2025-05-06 23:26:48 -07:00
Nate
fc7e3ccf7f Merge branch 'main' into nate/e2e-test-tools 2025-04-19 22:44:52 -07:00
Nate
b9c92b5db0 test fixes 2025-04-19 22:18:35 -07:00
Nate
3ab5faa176 tests for tool calling 2025-04-19 16:01:37 -07:00
Patrick Erichsen
e9e13f01f3 test: update deleteFile 2025-04-15 17:17:09 -07:00
Patrick Erichsen
12b3ed9291 feat: apply e2e tests 2025-04-14 22:55:24 -07:00
Owen W. Taylor
25ee72e8fb e2e: select quick picks based on strings, not harcoded indexes
Selecting the 14th view container ran into problems when an
(emty) Continue Console view container was added. This also
changes it to move to new secondary sidebar container rather than
reusing one from Copilot.
2025-04-07 14:11:38 -04:00
Test
e6533965bd test(e2e): edit flow 2025-01-10 15:29:12 -08:00
tomasz-io
93c9507542 fix: close sidebar when cmd+l pressed on focus 2024-12-19 16:36:38 -08:00
Dallin Romney
9603c719f1 Merge branch 'main' of https://github.com/continuedev/continue into dallin/path-uri-v2 2024-12-17 12:30:54 -08:00
tomasz-io
ccd3bb74da test: cmd + l edge cases 2024-12-17 12:11:43 -08:00
tomasz-io
d24af6627f test: keyboard shortcuts 2024-12-17 11:16:57 -08:00
Dallin Romney
205a6137be Merge branch 'main' of https://github.com/continuedev/continue into dallin/path-uri-v2 2024-12-13 16:58:24 -08:00
tomasz-io
5b9f4e3040 fest: fix flakiness 2024-12-13 12:52:02 -08:00
tomasz-io
0c4d9eb819 fix: timeouts 2024-12-13 12:06:28 -08:00
tomasz-io
e20997748e test: fix flaky tests 2024-12-13 10:47:58 -08:00
tomasz-io
4190c1b26a test: ssh completions 2024-12-12 15:41:01 -08:00
Dallin Romney
e0ba578411 merge conflicts 2024-12-12 11:32:04 -08:00
tomasz-io
1173211fe1 test: completions 2024-12-11 13:26:59 -08:00
tomasz-io
47a2697d05 test: editing messages 2024-12-09 16:57:07 -08:00
tomasz-io
8d06b9f381 test: wait for element 2024-12-06 17:51:52 -08:00
tomasz-io
120e46fcbc test: timeout 2024-12-06 17:50:18 -08:00
tomasz-io
b9f161f6d8 fix: timeout 2024-12-06 17:43:13 -08:00
tomasz-io
ec121409f8 test: clean up code 2024-12-06 17:25:10 -08:00