-
Notifications
You must be signed in to change notification settings - Fork 251
fix(amazonq): do not model types that are directly passthrough to chat ui #5702
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
Conversation
…t ui Due to mix of Jackson and Gson, history is not rendered correctly due to incorrect deserialization of enums
…-history-restore Conflicts: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageClientImpl.kt
Qodana Community for JVM21 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
|
||
enum class AuthFollowupType(val value: String) { | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class AuthFollowupType(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
@JsonProperty("calendar") | ||
CALENDAR, | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class IconType(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class IconType(@JsonValue val repr: String) { | ||
FILE("file"), | ||
FOLDER("folder"), |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
FILE("file"), | ||
FOLDER("folder"), | ||
CODE_BLOCK("code-block"), | ||
LIST_ADD("list-add"), |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
...unity/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/aws/chat/ChatMessage.kt
Fixed
Show fixed
Hide fixed
...ity/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/aws/chat/Conversations.kt
Fixed
Show fixed
Hide fixed
...ftware/aws/toolkits/jetbrains/services/amazonq/lsp/model/aws/chat/GetSerializedChatParams.kt
Fixed
Show fixed
Hide fixed
...ftware/aws/toolkits/jetbrains/services/amazonq/lsp/model/aws/chat/GetSerializedChatParams.kt
Fixed
Show fixed
Hide fixed
...rc/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/aws/chat/TabBarActionParams.kt
Fixed
Show fixed
Hide fixed
...rc/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/aws/chat/TabBarActionParams.kt
Fixed
Show fixed
Hide fixed
FOLDER("folder"), | ||
CODE_BLOCK("code-block"), | ||
LIST_ADD("list-add"), | ||
MAGIC("magic"), |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
CODE_BLOCK("code-block"), | ||
LIST_ADD("list-add"), | ||
MAGIC("magic"), | ||
HELP("help"), |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
LIST_ADD("list-add"), | ||
MAGIC("magic"), | ||
HELP("help"), | ||
TRASH("trash"), |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
MAGIC("magic"), | ||
HELP("help"), | ||
TRASH("trash"), | ||
SEARCH("search"), |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
HELP("help"), | ||
TRASH("trash"), | ||
SEARCH("search"), | ||
CALENDAR("calendar"), |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
} | ||
|
||
enum class ConversationAction(val value: String) { | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class ConversationAction(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
|
||
enum class SerializedChatFormat(val value: String) { | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class SerializedChatFormat(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
|
||
enum class SerializedChatFormat(val value: String) { | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class SerializedChatFormat(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
|
||
enum class TabBarAction(val value: String) { | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class TabBarAction(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
|
||
enum class TabBarAction(val value: String) { | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class TabBarAction(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
// https://github.com/aws/language-server-runtimes/blob/main/chat-client-ui-types/src/uiContracts.ts#L27 | ||
enum class TriggerType(val value: String) { | ||
@JsonAdapter(EnumJsonValueAdapter::class) | ||
enum class TriggerType(@JsonValue val repr: String) { |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
Due to mix of Jackson and Gson, history is not rendered correctly due to incorrect deserialization of enums
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.