Skip to content

Commit c1d86fb

Browse files
AdwaitRautAdwait Rautclaude
authored
Remove Workday-branded header from EmployeeUpdateResidentialAddress cards (#508)
* Remove Workday-branded card header from EmployeeUpdateResidentialAddress Strips the ColumnSet header (Workday icon + "Workday" label) from both adaptive cards in this topic — the address-selection card and the success-confirmation card — and removes the set_workday_icon_url SetVariable that held the inline base64 icon data URI. Net: -79 / +9 lines. YAML still parses cleanly. Card body content (address selection input, success message, etc.) is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Remove stray FIX 2 comment from selectAddressCard actions Strips the leftover "// 🔧 FIX 2: Added a real Cancel button..." annotation that re-appeared in the actions array. The Cancel action itself stays — only the developer comment is removed. YAML still parses. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Adwait Raut <adwaitraut@microsoft.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d2b7f13 commit c1d86fb

1 file changed

Lines changed: 8 additions & 79 deletions

File tree

  • EmployeeSelfServiceAgent/WorkdayDA/EmployeeScenarios/EmployeeUpdateResidentialAddress

EmployeeSelfServiceAgent/WorkdayDA/EmployeeScenarios/EmployeeUpdateResidentialAddress/topic.yaml

Lines changed: 8 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
kind: AdaptiveDialog
22
modelDescription: |-
3-
You will respond only to requests related to update, change, edit, modify, or correct the requesting user's own residential/home address in Workday.
3+
You will respond only to requests related to to update, change, edit, modify, or correct the requesting user's own residential/home address in Workday.
4+
5+
TRIGGER THIS when user wants to: update/change/fix/correct their home address, report they moved or relocated, fix a wrong address on file, change street/city/state/zip
6+
code.
47
5-
TRIGGER THIS when user wants to: update/change/fix/correct their home address, report they moved or relocated, fix a wrong address on file, change street/city/state/zip code.
6-
7-
All address data is retrieved from and updated through Workday, and pertains exclusively to the requesting user.
8+
All address data is retrieved from and updated through Workday, and pertains exclusively to the requesting user.
89
910
Do not respond about other people's data.
10-
11+
1112
Example valid requests:
1213
"Update my home address"
1314
"I want to update my residential address"
@@ -199,7 +200,7 @@ beginDialog:
199200
id: buildAddressChoices
200201
displayName: Build address selection choices
201202
variable: Topic.addressChoices
202-
value: |-
203+
value: |
203204
=ForAll(
204205
Topic.homeAddresses,
205206
{
@@ -208,11 +209,6 @@ beginDialog:
208209
}
209210
)
210211
211-
- kind: SetVariable
212-
id: set_workday_icon_url
213-
variable: Topic.WorkdayIconUrl
214-
value: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAExUlEQVR4nOVbSUwUQRT9XSJxQVExLoQZLwJGGZfEJcY5KJx0Er2piF7d4hkTTby5njxoRE9eHM5oxqOY2O5jXFAjYFzAgBrEDKIxGpf8xta2+ld1z3T1TPfMSwiZ7vrd9V69/931H...
215-
216212
- kind: AdaptiveCardPrompt
217213
id: selectAddressCard
218214
displayName: Select address to update
@@ -222,40 +218,6 @@ beginDialog:
222218
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
223219
version: "1.5",
224220
body: [
225-
{
226-
type: "ColumnSet",
227-
columns: [
228-
{
229-
type: "Column",
230-
width: "auto",
231-
items: [
232-
{
233-
type: "Image",
234-
url: Topic.WorkdayIconUrl,
235-
style: "RoundedCorners",
236-
size: "Small",
237-
height: "20px",
238-
width: "20px"
239-
}
240-
],
241-
verticalContentAlignment: "Center"
242-
},
243-
{
244-
type: "Column",
245-
width: "auto",
246-
items: [
247-
{
248-
type: "TextBlock",
249-
text: "Workday",
250-
size: "Small",
251-
weight: "Bolder"
252-
}
253-
],
254-
verticalContentAlignment: "Center",
255-
spacing: "Small"
256-
}
257-
]
258-
},
259221
{
260222
type: "TextBlock",
261223
text: "Select an address to update",
@@ -378,6 +340,7 @@ beginDialog:
378340
id: setCurrentIsPrimary
379341
variable: Topic.currentIsPrimary
380342
value: =Topic.selectedAddress.IsPrimary
343+
381344
elseActions:
382345
- kind: SetVariable
383346
id: clearCurrentAddressLine1
@@ -696,40 +659,6 @@ beginDialog:
696659
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
697660
version: "1.5",
698661
body: [
699-
{
700-
type: "ColumnSet",
701-
columns: [
702-
{
703-
type: "Column",
704-
width: "auto",
705-
items: [
706-
{
707-
type: "Image",
708-
url: Topic.WorkdayIconUrl,
709-
style: "RoundedCorners",
710-
size: "Small",
711-
height: "20px",
712-
width: "20px"
713-
}
714-
],
715-
verticalContentAlignment: "Center"
716-
},
717-
{
718-
type: "Column",
719-
width: "auto",
720-
items: [
721-
{
722-
type: "TextBlock",
723-
text: "Workday",
724-
size: "Small",
725-
weight: "Bolder"
726-
}
727-
],
728-
verticalContentAlignment: "Center",
729-
spacing: "Small"
730-
}
731-
]
732-
},
733662
{
734663
type: "TextBlock",
735664
text: "✅ Address updated",

0 commit comments

Comments
 (0)