-
Notifications
You must be signed in to change notification settings - Fork 734
perf(amazonq): nep UI improvement #8264
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
Open
Will-ShaoHua
wants to merge
22
commits into
aws:master
Choose a base branch
from
Will-ShaoHua:nep-prefix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+257
−123
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
3b2e28f
Edit prefix match
Will-ShaoHua 070c66f
123
Will-ShaoHua 60c2c56
cleanup
Will-ShaoHua 934527d
Merge remote-tracking branch 'upstream/master' into nep-prefix
Will-ShaoHua 52b9553
t
Will-ShaoHua cb0f640
test
Will-ShaoHua b63f600
still wip, remember to reset soft this commit
Will-ShaoHua 649dc1a
make nep blocking
Will-ShaoHua 6ea4a29
revert unwanted
Will-ShaoHua 370a9a1
Merge remote-tracking branch 'upstream/master' into nep-prefix
Will-ShaoHua 001526c
make retry count 5
Will-ShaoHua 79a8d2a
fix
Will-ShaoHua d5e951e
disable test
Will-ShaoHua 6511039
try fix test
Will-ShaoHua 72fab96
comment
Will-ShaoHua c5426af
fix imageRenderer.test.ts
Will-ShaoHua 29cab05
cleanup
Will-ShaoHua d6bfffa
Merge remote-tracking branch 'upstream/master' into nep-prefix
Will-ShaoHua 1c66719
cleanup
Will-ShaoHua 9297181
cleanup
Will-ShaoHua d0a57e0
attemp to fix 0
Will-ShaoHua 1833db6
fix: done
Will-ShaoHua File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,9 +13,9 @@ | |
| "args": ["--extensionDevelopmentPath=${workspaceFolder}"], | ||
| "env": { | ||
| "SSMDOCUMENT_LANGUAGESERVER_PORT": "6010", | ||
| "WEBPACK_DEVELOPER_SERVER": "http://localhost:8080" | ||
| "WEBPACK_DEVELOPER_SERVER": "http://localhost:8080", | ||
| // Below allows for overrides used during development | ||
| // "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js", | ||
| "__AMAZONQLSP_PATH": "${workspaceFolder}/../../../language-servers/app/aws-lsp-codewhisperer-runtimes/out/agent-standalone.js" | ||
|
||
| // "__AMAZONQLSP_UI": "${workspaceFolder}/../../../language-servers/chat-client/build/amazonq-ui.js" | ||
| }, | ||
| "envFile": "${workspaceFolder}/.local.env", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -141,12 +141,12 @@ export class RecommendationService { | |
| * Edits leverage partialResultToken to achieve EditStreak such that clients can pull all continuous suggestions generated by the model within 1 EOS block. | ||
| */ | ||
| if (!isTriggerByDeletion && !request.partialResultToken && !EditSuggestionState.isEditSuggestionActive()) { | ||
| const completionPromise: Promise<InlineCompletionListWithReferences> = languageClient.sendRequest( | ||
| inlineCompletionWithReferencesRequestType.method, | ||
| request, | ||
| token | ||
| ) | ||
| ps.push(completionPromise) | ||
| // const completionPromise: Promise<InlineCompletionListWithReferences> = languageClient.sendRequest( | ||
| // inlineCompletionWithReferencesRequestType.method, | ||
| // request, | ||
| // token | ||
| // ) | ||
| // ps.push(completionPromise) | ||
|
||
| } | ||
|
|
||
| /** | ||
|
|
@@ -241,6 +241,7 @@ export class RecommendationService { | |
| result.items, | ||
| requestStartTime, | ||
| position, | ||
| document, | ||
| firstCompletionDisplayLatency | ||
| ) | ||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to revert, dev purpose