Skip to content

Commit 93b015a

Browse files
authored
Merge branch 'main' into manodnyb/removeEnvVars
2 parents a64ef19 + b7e9b73 commit 93b015a

File tree

7 files changed

+23
-7
lines changed

7 files changed

+23
-7
lines changed

.changes/3.56.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"date" : "2025-02-20",
3+
"version" : "3.56",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Amazon Q /doc: support making changes to architecture diagrams"
7+
} ]
8+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q /doc: update workspace too large error message"
4+
}

.changes/next-release/feature-bfb6687a-a302-4968-8e7e-8fa0d4ef6c53.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# _3.56_ (2025-02-20)
2+
- **(Feature)** Amazon Q /doc: support making changes to architecture diagrams
3+
14
# _3.55_ (2025-02-13)
25
- **(Feature)** /transform: support transformations to Java 21
36
- **(Bug Fix)** Enable syntax highlighting when viewing diff for /test

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
# Toolkit Version
5-
toolkitVersion=3.56-SNAPSHOT
5+
toolkitVersion=3.57-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/plan/CodeModernizerPlanEditor.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,15 @@ class CodeModernizerPlanEditor(val project: Project, private val virtualFile: Vi
395395

396396
val table = tableMapping[step.id()]
397397

398-
val parsedTable = table?.let {
398+
var parsedTable = table?.let {
399399
MAPPER.readValue<PlanTable>(it)
400400
}
401401

402+
if (parsedTable?.rows?.isEmpty() == true) {
403+
descriptionText.text += "\n\nThere are no ${parsedTable.name.lowercase()} to display."
404+
parsedTable = null
405+
}
406+
402407
val renderedStepTable = parsedTable?.let {
403408
createTable(it)
404409
}

plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ amazonqDoc.edit.message=Okay, let's work on your README. Describe the changes yo
4545
amazonqDoc.edit.placeholder=Describe documentation changes
4646
amazonqDoc.error.generating=Unable to generate changes.
4747
amazonqDoc.error_text=I'm sorry, I ran into an issue while trying to generate your documentation. Please try again.
48-
amazonqDoc.exception.content_length_error=Your workspace is too large for me to review. Your workspace must be within the quota, even if you choose a smaller folder. For more information on quotas, see the <a href="https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/doc-generation.html#quotas" target="_blank">Amazon Q Developer documentation.</a>
48+
amazonqDoc.exception.content_length_error=The folder you selected is in a project or workspace that is too large for me to use as context. To create or update a README for your code, choose a folder in a smaller project or workspace. For information on quotas, see the <a href="https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/doc-generation.html#quotas" target="_blank">Amazon Q Developer documentation.</a>
4949
amazonqDoc.exception.no_change_required=I couldn't find any code changes to update in the README. Try another documentation task.
5050
amazonqDoc.exception.prompt_too_vague=I need more information to make changes to your README. Try providing some of the following details:\n- Which sections you want to modify\n- The content you want to add or remove\n- Specific issues that need correcting\n\nFor more information on prompt best practices, see the <a href="https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/doc-generation.html" target="_blank">Amazon Q Developer documentation.</a>
5151
amazonqDoc.exception.prompt_unrelated=These changes don't seem related to documentation. Try describing your changes again, using the following best practices:\n- Changes should relate to how project functionality is reflected in the README\n- Content you refer to should be available in your codebase\n\nFor more information on prompt best practices, see the <a href="https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/doc-generation.html" target="_blank">Amazon Q Developer documentation.</a>

0 commit comments

Comments
 (0)