Skip to content

Conversation

@XiaoxuanLu
Copy link
Contributor

@XiaoxuanLu XiaoxuanLu commented Sep 26, 2025

Problem

In large workspaces, indexing can take a long time with no indication of status

Solution

An optional pending flag is added to ContextCommand definition type. This allows a pending state to be indicated before the Context Command is sent to the client. The ui can then interpret this pending flag to grey out and disable the context command
Should be merged before aws/mynah-ui#421 and aws/language-servers#2060

This pr is a replacement of the #652

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@XiaoxuanLu XiaoxuanLu requested a review from a team as a code owner September 26, 2025 00:03
@XiaoxuanLu XiaoxuanLu enabled auto-merge (squash) September 29, 2025 19:48
@XiaoxuanLu XiaoxuanLu disabled auto-merge September 29, 2025 19:48
@XiaoxuanLu XiaoxuanLu merged commit df9c9a1 into aws:main Sep 29, 2025
4 checks passed
chungjac pushed a commit that referenced this pull request Oct 1, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>chat-client-ui-types: 0.1.63</summary>

##
[0.1.63](chat-client-ui-types/v0.1.62...chat-client-ui-types/v0.1.63)
(2025-10-01)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @aws/language-server-runtimes-types bumped from ^0.1.56 to ^0.1.57
</details>

<details><summary>language-server-runtimes: 0.3.1</summary>

##
[0.3.1](language-server-runtimes/v0.3.0...language-server-runtimes/v0.3.1)
(2025-10-01)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @aws/language-server-runtimes-types bumped from ^0.1.56 to ^0.1.57
</details>

<details><summary>language-server-runtimes-types: 0.1.57</summary>

##
[0.1.57](language-server-runtimes-types/v0.1.56...language-server-runtimes-types/v0.1.57)
(2025-10-01)


### Features

* add description to model interface
([#689](#689))
([0e74829](0e74829))
* optional pending state for ContextCommand
([#687](#687))
([df9c9a1](df9c9a1))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants