Skip to content

feat: initial feature-flagged, new autocompleter MONGOSH-2036 #2424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
May 27, 2025
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6a931fa
Initial feature-flagged, draft new autocompleter.
lerouxb Mar 31, 2025
88edcd3
use the specified connection and db name
lerouxb Apr 2, 2025
70168e6
port some tests to autocomplete
lerouxb Apr 2, 2025
fd845e6
this one just worked
lerouxb Apr 2, 2025
b1ccc97
also just works
lerouxb Apr 2, 2025
7fecfac
use the new mongodb-schema
lerouxb Apr 4, 2025
30ad07e
Merge branch 'main' into use-new-autocomplete
lerouxb May 23, 2025
16242e0
backport the circular ref fix
lerouxb May 23, 2025
4c2a001
just use an incrementing unique connection id
lerouxb May 26, 2025
7731cd8
better event based waiting
lerouxb May 26, 2025
824ea47
add ticket number
lerouxb May 26, 2025
df1c303
add ticket number
lerouxb May 26, 2025
f354fe3
add ticket number
lerouxb May 26, 2025
1e92a11
Merge branch 'main' into use-new-autocomplete
lerouxb May 26, 2025
06b5b66
Merge branch 'use-new-autocomplete' of https://github.com/mongodb-js/…
lerouxb May 26, 2025
729b4c1
put mongodb-schema as a dep in the right place
lerouxb May 26, 2025
691fdfe
put mongodb-schema as a dep in the right place
lerouxb May 26, 2025
b7bba92
don't add getConnectionId to the public interface
lerouxb May 26, 2025
1edc212
move it back
lerouxb May 26, 2025
8b859ce
remove the TODO again, can just use the constant
lerouxb May 26, 2025
001c1d0
add some options to the sample aggregate
lerouxb May 26, 2025
7e39d40
'new', not true
lerouxb May 26, 2025
b3dd61b
unnecessary TODO
lerouxb May 26, 2025
cf99e0b
add an integration test
lerouxb May 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 144 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/browser-runtime-core/src/open-context-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface InterpreterEnvironment {
*/
export class OpenContextRuntime implements Runtime {
private interpreterEnvironment: InterpreterEnvironment;
// TODO: we have to also port this to the new autocomplete
private autocompleter: ShellApiAutocompleter | null = null;
private shellEvaluator: ShellEvaluator;
private instanceState: ShellInstanceState;
Expand Down
Loading
Loading