Skip to content

Commit e11c27d

Browse files
dhasani23David Hasani
andauthored
fix(amazonq): replace icons with text (#6398)
## Problem The multiple icons in the top right of our Transformation Hub were not easily visible or sufficiently clear to users. ## Solution Remove the icons, replacing them with a description of what the icon/button does. --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license. --------- Co-authored-by: David Hasani <[email protected]>
1 parent 2837d80 commit e11c27d

File tree

4 files changed

+19
-23
lines changed

4 files changed

+19
-23
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "/transform: replace icons in Transformation Hub with text"
4+
}

packages/amazonq/package.json

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -314,16 +314,14 @@
314314
"group": "navigation@3"
315315
},
316316
{
317-
"command": "aws.amazonq.transformationHub.summary.reveal",
318-
"when": "view == aws.amazonq.transformationHub"
319-
},
320-
{
321-
"command": "aws.amazonq.transformationHub.reviewChanges.reveal",
322-
"when": "view == aws.amazonq.transformationHub"
317+
"command": "aws.amazonq.showTransformationPlanInHub",
318+
"when": "view == aws.amazonq.transformationHub",
319+
"group": "navigation@4"
323320
},
324321
{
325-
"command": "aws.amazonq.showTransformationPlanInHub",
326-
"when": "view == aws.amazonq.transformationHub"
322+
"command": "aws.amazonq.transformationHub.summary.reveal",
323+
"when": "view == aws.amazonq.transformationHub",
324+
"group": "navigation@5"
327325
},
328326
{
329327
"command": "aws.amazonq.transformationHub.reviewChanges.acceptChanges",
@@ -568,11 +566,6 @@
568566
"title": "%AWS.command.q.transform.showChangeSummary%",
569567
"enablement": "gumby.isSummaryAvailable"
570568
},
571-
{
572-
"command": "aws.amazonq.transformationHub.reviewChanges.reveal",
573-
"title": "%AWS.command.q.transform.showChanges%",
574-
"enablement": "gumby.reviewState == InReview"
575-
},
576569
{
577570
"command": "aws.amazonq.showTransformationPlanInHub",
578571
"title": "%AWS.command.q.transform.showTransformationPlan%",
@@ -643,19 +636,16 @@
643636
},
644637
{
645638
"command": "aws.amazonq.stopTransformationInHub",
646-
"title": "Stop Transformation",
647-
"icon": "$(stop)",
639+
"title": "%AWS.command.q.transform.stopJobInHub%",
648640
"enablement": "gumby.isStopButtonAvailable"
649641
},
650642
{
651643
"command": "aws.amazonq.showPlanProgressInHub",
652-
"title": "Show Transformation Status",
653-
"icon": "$(checklist)"
644+
"title": "%AWS.command.q.transform.viewJobProgress%"
654645
},
655646
{
656647
"command": "aws.amazonq.showHistoryInHub",
657-
"title": "Show Job Status",
658-
"icon": "$(history)"
648+
"title": "%AWS.command.q.transform.viewJobStatus%"
659649
},
660650
{
661651
"command": "aws.amazonq.selectCustomization",

packages/core/package.nls.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,11 @@
240240
"AWS.command.codewhisperer.openReferencePanel": "Open Code Reference Log",
241241
"AWS.command.q.transform.acceptChanges": "Accept",
242242
"AWS.command.q.transform.rejectChanges": "Reject",
243-
"AWS.command.q.transform.showChanges": "Show Proposed Changes",
244-
"AWS.command.q.transform.showChangeSummary": "Show Transformation Summary",
245-
"AWS.command.q.transform.showTransformationPlan": "Show Transformation Plan",
243+
"AWS.command.q.transform.stopJobInHub": "Stop job",
244+
"AWS.command.q.transform.viewJobProgress": "View job progress",
245+
"AWS.command.q.transform.viewJobStatus": "View job status",
246+
"AWS.command.q.transform.showTransformationPlan": "View plan",
247+
"AWS.command.q.transform.showChangeSummary": "View summary",
246248
"AWS.command.threatComposer.createNew": "Create New Threat Composer File",
247249
"AWS.command.threatComposer.newFile": "Threat Composer File",
248250
"AWS.threatComposer.page.title": "{0} (Threat Composer)",

packages/core/src/codewhisperer/service/transformByQ/transformationHubViewProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class TransformationHubViewProvider implements vscode.WebviewViewProvider
9898
</style>
9999
</head>
100100
<body>
101-
<p><b>Job Status</b></p>
101+
<p><b>Transformation Status</b></p>
102102
${
103103
Object.keys(sessionJobHistory).length === 0
104104
? `<p>${CodeWhispererConstants.nothingToShowMessage}</p>`

0 commit comments

Comments
 (0)