You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to the cognitive-load and UX audits:
- Add node-level output-pane warning hint for Create so the billing caution
shows even when params are collapsed or the node runs via usableAsTool
- Fold the credential-fit reminder into createCostNotice and gate
shippingCredentialNotice to Get Rates + Validate, so Create shows one yellow block
- Give phone + dimension fields distinct inline hint text vs. hover description
- Swap Validate's Country to the COUNTRY_OPTIONS dropdown (matches Get Rates)
- Add harness pnpm scripts (harness, harness:reset, harness:login)
Co-authored-by: Kyle Tully <kytully@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
// Each resource mirrors a FedEx dev-portal project and binds that project's credential:
@@ -82,13 +94,16 @@ export class Fedex implements INodeType {
82
94
default: '',
83
95
displayOptions: {show: {resource: ['tracking']}},
84
96
},
97
+
// Shown for Get Rates + Validate only. Create gets the same credential-fit reminder
98
+
// folded into its cost notice (createCostNotice) so its panel carries a single yellow
99
+
// block instead of two stacked notices (UX audit, Recommended #1).
85
100
{
86
101
displayName:
87
102
'These operations use a <b>FedEx Shipping OAuth2 API</b> credential. If the credential field above is empty or shows a red mark, create or select one of that type — Shipping and Track require separate FedEx project keys, so a Track credential cannot be used here.',
description: 'FedEx requires a phone number for the shipment contact',
105
+
// description = hover tooltip (longer, explains why); hint = persistent inline text
106
+
// (terse). Kept distinct so the two layers don't render identical copy (UX audit, Minor #2).
107
+
description:
108
+
'FedEx requires a phone number for the shipment contact. It is used by FedEx and the delivering carrier to reach the sender or recipient about delivery exceptions, and for customs contact on international shipments.',
109
+
hint: 'FedEx requires a phone number for the shipment contact',
// Honest friction (cognitive-load audit, "What NOT to touch" #2): Create buys a real
35
35
// shipment and bills the configured account, and the node is usableAsTool, so an AI agent
36
36
// can invoke it. Surface the cost up front rather than burying it in docs.
37
+
//
38
+
// The credential-fit reminder is merged in here (rather than rendered as a second standalone
39
+
// notice like shippingCredentialNotice on the other shipping ops) so the Create panel shows a
40
+
// single yellow block, keeping the high-stakes billing message from being diluted by a stacked
41
+
// callout (UX audit, Recommended #1).
37
42
{
38
43
displayName:
39
-
'Running this operation books a real FedEx shipment and bills the Shipping Account below. In Sandbox it is free; in Production it incurs charges.',
44
+
'Running this operation books a real FedEx shipment and bills the Shipping Account below — free in Sandbox, charged in Production. It needs a <b>FedEx Shipping OAuth2 API</b> credential; a Track credential will not work here.',
0 commit comments