Skip to content

Commit 1d22c59

Browse files
committed
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccastrotrejo/iframeExcludeURls
2 parents 71a3e0e + 38a85ba commit 1d22c59

File tree

53 files changed

+4275
-935
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4275
-935
lines changed

.github/workflows/pr-coverage.yml

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989
**/types.ts
9090
**/types.tsx
9191
**/styles.ts
92+
**/styles.tsx
93+
**/*.styles.ts
94+
**/*.styles.tsx
9295
**/constants.ts
9396
**/constants/**
9497
# Config files
@@ -128,6 +131,8 @@ jobs:
128131
**/*Provider.ts
129132
**/*Provider.tsx
130133
**/providers/**
134+
# VS Code webview communication (uses acquireVsCodeApi runtime global, cannot be unit tested)
135+
**/webviewCommunication.tsx
131136
132137
- name: Check coverage on changed files
133138
id: coverage-check
@@ -141,6 +146,7 @@ jobs:
141146
if [ -z "$CHANGED_FILES" ]; then
142147
echo "No source files changed in this PR." >> $GITHUB_STEP_SUMMARY
143148
echo "coverage_status=skip" >> $GITHUB_OUTPUT
149+
printf '%s\n\n%s\n' "## 📊 Coverage Check" "No source files changed in this PR." > ./coverage-comment.md
144150
exit 0
145151
fi
146152
@@ -161,6 +167,7 @@ jobs:
161167
echo "" >> $GITHUB_STEP_SUMMARY
162168
echo "❌ **No coverage data found.** Please ensure tests generate coverage reports." >> $GITHUB_STEP_SUMMARY
163169
echo "coverage_status=no_data" >> $GITHUB_OUTPUT
170+
printf '%s\n\n%s\n' "## 📊 Coverage Check" "⚠️ No coverage data found. Please ensure tests generate coverage reports." > ./coverage-comment.md
164171
exit 0
165172
fi
166173
fi
@@ -265,6 +272,27 @@ jobs:
265272
echo "coverage_status=pass" >> $GITHUB_OUTPUT
266273
fi
267274
275+
# Build a concise PR comment with failing files
276+
{
277+
echo "## 📊 Coverage Check"
278+
echo ""
279+
if [ -n "$UNCOVERED_FILES" ] || [ -n "$PARTIAL_FILES" ]; then
280+
echo "The following changed files need attention:"
281+
echo ""
282+
if [ -n "$UNCOVERED_FILES" ]; then
283+
echo -e "$UNCOVERED_FILES"
284+
echo ""
285+
fi
286+
if [ -n "$PARTIAL_FILES" ]; then
287+
echo -e "$PARTIAL_FILES"
288+
echo ""
289+
fi
290+
echo "**Please add tests for the uncovered files before merging.**"
291+
else
292+
echo "🎉 **All changed files have adequate test coverage!**"
293+
fi
294+
} > ./coverage-comment.md
295+
268296
- name: Post coverage comment on PR
269297
if: always()
270298
uses: actions/github-script@v7
@@ -281,17 +309,18 @@ jobs:
281309
return;
282310
}
283311
284-
// Read the step summary
285-
const summaryPath = process.env.GITHUB_STEP_SUMMARY;
312+
const COMMENT_MARKER = '<!-- pr-coverage-check-comment -->';
313+
314+
// Read the coverage comment built by the coverage-check step
286315
let summary = '';
287316
try {
288-
summary = fs.readFileSync(summaryPath, 'utf8');
317+
summary = fs.readFileSync('./coverage-comment.md', 'utf8');
289318
} catch (e) {
290319
summary = '📊 Coverage check completed. See workflow run for details.';
291320
}
292321
293322
try {
294-
// Find existing comment
323+
// Find existing comment by hidden marker
295324
const { data: comments } = await github.rest.issues.listComments({
296325
owner: context.repo.owner,
297326
repo: context.repo.repo,
@@ -300,10 +329,10 @@ jobs:
300329
301330
const botComment = comments.find(comment =>
302331
comment.user.type === 'Bot' &&
303-
comment.body.includes('📊 Coverage Report for Changed Files')
332+
comment.body.includes(COMMENT_MARKER)
304333
);
305334
306-
const commentBody = summary || '📊 Coverage check completed. See workflow run for details.';
335+
const commentBody = COMMENT_MARKER + '\n' + (summary || '📊 Coverage check completed. See workflow run for details.');
307336
308337
if (botComment) {
309338
await github.rest.issues.updateComment({

Localize/lang/strings.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
"3n5pnv": "(UTC+10:30) Lord Howe Island",
254254
"3n6GJG": "Enter a valid JSON.",
255255
"3nUf86": "Provided value",
256+
"3nbg4r": "From",
256257
"3pOMqH": "This could mean that the variable is set up incorrectly.",
257258
"3pheF6": "Select schema",
258259
"3qDalD": "Add optional parameters",
@@ -590,6 +591,7 @@
590591
"BKL0ZG": "Start time",
591592
"BMCFV3": "If available, default parameters specify the minimum inputs for this task. You can add any optional parameters for your scenario. By default, parameters get dynamic values from the AI model, but you can choose to enter static values instead.",
592593
"BO1cXH": "Either limit count or timeout must be specified.",
594+
"BOD0+G": "To",
593595
"BP+WUL": "Close",
594596
"BQCPY7": "Required. The string to decode the URL-unsafe characters from.",
595597
"BQSRV0": "Enter password as plain text or use a secure parameter",
@@ -878,6 +880,7 @@
878880
"IQyOth": "If available, dynamic content is automatically generated from the connectors and actions you choose for your flow.",
879881
"IS4vNX": "(UTC-12:00) International Date Line West",
880882
"ISaPr+": "Create, manage Logic Apps parameters, give it a default value.",
883+
"IU8Zu9": "Select date",
881884
"IUbVFR": "Search",
882885
"IW2MjQ": "Converts a string timestamp passed in from a UTC to a target time zone",
883886
"IXy91L": "Add a target schema",
@@ -1167,6 +1170,7 @@
11671170
"PNk3n4": "Runs {onTime}",
11681171
"PORNMZ": "Inputs",
11691172
"PP63jY": "more panels",
1173+
"PPssRb": "Custom range",
11701174
"PPvsfZ": "No supported channels exist for this agent.",
11711175
"PQOiAc": "Collapse",
11721176
"PRaFHG": "Workflow is in progress",
@@ -1406,6 +1410,7 @@
14061410
"Ug4sWZ": "Expand",
14071411
"UgaIRz": "Required. The length of each chunk.",
14081412
"UksFS1": "Select agents",
1413+
"Ul4k7r": "Last 48 hours",
14091414
"Umpr3z": "Every {interval} weeks",
14101415
"Unc2tG": "Returns true if two values are equal.",
14111416
"UnrrzF": "Source schema",
@@ -1465,6 +1470,7 @@
14651470
"W5bj8F": "Description",
14661471
"W621ZA": "Contact info",
14671472
"W6FdMh": "Required. The name of the new property.",
1473+
"W7l+j+": "Last 14 days",
14681474
"W83QYZ": "No results for",
14691475
"W99jiu": "Show description",
14701476
"WBDuOo": "Fetching...",
@@ -1505,6 +1511,7 @@
15051511
"WxcmZr": "This action has testing configured.",
15061512
"WyH1wr": "Searching for results...",
15071513
"X/7je+": "Minute",
1514+
"X0/aJy": "Last 30 days",
15081515
"X02GGK": "Tags",
15091516
"X1TOAH": "Enter operation description",
15101517
"X2idLs": "(UTC-03:00) Montevideo",
@@ -1904,6 +1911,7 @@
19041911
"_3n5pnv.comment": "Time zone value ",
19051912
"_3n6GJG.comment": "Error validation message for Objects",
19061913
"_3nUf86.comment": "Label for input field in parameter editor",
1914+
"_3nbg4r.comment": "Custom time range start label",
19071915
"_3pOMqH.comment": "Warning body for when unable to parse variables",
19081916
"_3pheF6.comment": "Select schema",
19091917
"_3qDalD.comment": "Label for adding new optional parameters in the dropdown",
@@ -2241,6 +2249,7 @@
22412249
"_BKL0ZG.comment": "Column header text for start time",
22422250
"_BMCFV3.comment": "Description for the parameters section",
22432251
"_BO1cXH.comment": "Error message to show when either limit count or timeout is not specified.",
2252+
"_BOD0+G.comment": "Custom time range end label",
22442253
"_BP+WUL.comment": "Button text for exiting the blade in the clone wizard",
22452254
"_BQCPY7.comment": "Required string parameter to be decoded using decodeUriComponent function",
22462255
"_BQSRV0.comment": "Basic Password Placeholder Text",
@@ -2529,6 +2538,7 @@
25292538
"_IQyOth.comment": "Section 1 of text for including dynamic content section",
25302539
"_IS4vNX.comment": "Time zone value ",
25312540
"_ISaPr+.comment": "Description for Workflow Parameters Part 1 for Legacy Parameters mode.",
2541+
"_IU8Zu9.comment": "Placeholder for date picker input",
25322542
"_IUbVFR.comment": "Placeholder text for search templates",
25332543
"_IW2MjQ.comment": "Label for description of custom convertFromUtc Function",
25342544
"_IXy91L.comment": "label to inform to add a target schema to be used",
@@ -2818,6 +2828,7 @@
28182828
"_PNk3n4.comment": "Recurrence schedule description on days of week at times",
28192829
"_PORNMZ.comment": "Inputs text",
28202830
"_PP63jY.comment": "This is a label to access the overflowed panels",
2831+
"_PPssRb.comment": "Custom time range filter",
28212832
"_PPvsfZ.comment": "Channel not supported message",
28222833
"_PQOiAc.comment": "An accessible label for collapse toggle icon",
28232834
"_PRaFHG.comment": "Text shown when a run is in progress",
@@ -3057,6 +3068,7 @@
30573068
"_Ug4sWZ.comment": "Expand to make the node bigger and show the contents.",
30583069
"_UgaIRz.comment": "Required number parameter to get length of each chunk for chunk function",
30593070
"_UksFS1.comment": "Select Agents",
3071+
"_Ul4k7r.comment": "Last 48 hours filter",
30603072
"_Umpr3z.comment": "Recurrence schedule description every interval weeks",
30613073
"_Unc2tG.comment": "Label for description of custom equals Function",
30623074
"_UnrrzF.comment": "Label to inform the below schema name is for source schema",
@@ -3116,6 +3128,7 @@
31163128
"_W5bj8F.comment": "Label for the MCP Server description field",
31173129
"_W621ZA.comment": "Contact info section title",
31183130
"_W6FdMh.comment": "Required string parameter for new property name in addProperty function",
3131+
"_W7l+j+.comment": "Last 14 days filter",
31193132
"_W83QYZ.comment": "Text displayed when no results match the search term",
31203133
"_W99jiu.comment": "Toggle button label to show comment section",
31213134
"_WBDuOo.comment": "Fetching data text",
@@ -3156,6 +3169,7 @@
31563169
"_WxcmZr.comment": "This is a tooltip for the Status results badge shown on a card. It's shown when the baged is hovered over.",
31573170
"_WyH1wr.comment": "Message to show when loading search results",
31583171
"_X/7je+.comment": "Frequency value ",
3172+
"_X0/aJy.comment": "Last 30 days filter",
31593173
"_X02GGK.comment": "Title for the tags section in the template overview tab",
31603174
"_X1TOAH.comment": "Placeholder text for operation description field",
31613175
"_X2idLs.comment": "Time zone value ",
@@ -3809,6 +3823,7 @@
38093823
"_lbq5E1.comment": "description of upload content transfer setting",
38103824
"_lciYKh.comment": "Loading message for the MCP server workflows field",
38113825
"_lckgnb.comment": "Required collection parameter to apply reverse function on",
3826+
"_ldBi4y.comment": "Aria label for the toggle filters button",
38123827
"_ldn/IC.comment": "Test button",
38133828
"_leYJf/.comment": "Description for workflow display name field",
38143829
"_lexzgJ.comment": "Message on failure to remove source node",
@@ -3958,6 +3973,7 @@
39583973
"_odQ554.comment": "Response body for test map API",
39593974
"_oeQQ8q.comment": "Label for array item",
39603975
"_og5JOA.comment": "Millisecond",
3976+
"_oglOen.comment": "Time interval filter label",
39613977
"_ohpbkw.comment": "title for retry policy exponential interval setting",
39623978
"_ol3TWp.comment": "Button label to automaticlaly generate agent parameter",
39633979
"_olgoo5.comment": "Title for step 2 - tools selection",
@@ -4074,6 +4090,7 @@
40744090
"_rSIBjh.comment": "Parameter Field Value Placeholder Text",
40754091
"_rSa1Id.comment": "Files could not be found in specified path",
40764092
"_raBiud.comment": "Require parameters to find maximum using max function",
4093+
"_rbVW+z.comment": "Last 24 hours filter",
40774094
"_rcz4w4.comment": "Label for description of custom uriComponent Function",
40784095
"_rd6fai.comment": "Aria describing the way to control the keyboard navigation",
40794096
"_rh5g4p.comment": "Successful run",
@@ -4109,6 +4126,7 @@
41094126
"_sRpETS.comment": "Warning message for when custom value does not match schema node type",
41104127
"_sVQe34.comment": "The description for the test tab parameters.",
41114128
"_sVcvcG.comment": "The tab label for the monitoring name and state tab on the create workflow panel",
4129+
"_sXFMqZ.comment": "All time intervals",
41124130
"_sYQDN+.comment": "Label for Font family dropdown",
41134131
"_sZ0G/Z.comment": "Required string parameter to represent the unit of time",
41144132
"_sZHTQV.comment": "Time zone value ",
@@ -4128,6 +4146,7 @@
41284146
"_snzCiK.comment": "Label to hide password",
41294147
"_soqP+Z.comment": "Label for description of custom or Function",
41304148
"_sqA07R.comment": "Button text for moving to the previous tab in the connector panel",
4149+
"_sqeFva.comment": "Placeholder for time picker input",
41314150
"_sqsHMO.comment": "Label for the Azure Container Apps session pool",
41324151
"_srMbm9.comment": "Chatbot undo operation cancel button text",
41334152
"_srg0hY.comment": "Label text for production publish state",
@@ -4263,6 +4282,7 @@
42634282
"_v3Xc8p.comment": "Label for description of custom decodeXmlValue Function",
42644283
"_v5CBNu.comment": "Default value label",
42654284
"_v6V2NA.comment": "Text for the \"Deselect All\" option in a multiselect dropdown",
4285+
"_v80mnx.comment": "Last 7 days filter",
42664286
"_v95bFR.comment": "Error message title for duplicate workflow ids",
42674287
"_vAdBMk.comment": "Next button text",
42684288
"_vAtGzU.comment": "Path to the file to select",
@@ -4983,6 +5003,7 @@
49835003
"lbq5E1": "Large messages may be split up into smaller requests to the connector to allow large message upload. More details can be found at http://aka.ms/logicapps-chunk#upload-content-in-chunks",
49845004
"lciYKh": "Loading workflows...",
49855005
"lckgnb": "Required. The collection to reverse.",
5006+
"ldBi4y": "Toggle filters",
49865007
"ldn/IC": "Test",
49875008
"leYJf/": "The unique internal system name for this workflow. Use lowercase letters, numbers, and hyphens only—no spaces or special characters.",
49885009
"lexzgJ": "Remove all references to element ' {nodeName} ' before you remove the element.",
@@ -5132,6 +5153,7 @@
51325153
"odQ554": "Response body",
51335154
"oeQQ8q": "{label} item",
51345155
"og5JOA": "{count} Millisecond",
5156+
"oglOen": "Time range",
51355157
"ohpbkw": "Exponential interval",
51365158
"ol3TWp": "Select to generate the agent parameter",
51375159
"olgoo5": "Select allowed tools",
@@ -5248,6 +5270,7 @@
52485270
"rSIBjh": "Enter value for parameter.",
52495271
"rSa1Id": "No files found in {filePath}, please save XSLT to specified path to use this function",
52505272
"raBiud": "Required. Either an array of values to find the maximum value, or the first value of a set.",
5273+
"rbVW+z": "Last 24 hours",
52515274
"rcz4w4": "Returns a URI encoded representation of a value",
52525275
"rd6fai": "Use left and right arrow keys to navigate between commands",
52535276
"rh5g4p": "Is successful",
@@ -5283,6 +5306,7 @@
52835306
"sRpETS": "Warning: custom value does not match the schema node's type",
52845307
"sVQe34": "Provide parameters to test the output.",
52855308
"sVcvcG": "Basics",
5309+
"sXFMqZ": "All",
52865310
"sYQDN+": "Formatting options for font family",
52875311
"sZ0G/Z": "Required. A string containing the unit of time specified in the interval to add.",
52885312
"sZHTQV": "(UTC+09:00) Chita",
@@ -5302,6 +5326,7 @@
53025326
"snzCiK": "Hide Password",
53035327
"soqP+Z": "Returns true if either parameter is true",
53045328
"sqA07R": "Previous",
5329+
"sqeFva": "Select time",
53055330
"sqsHMO": "Session Pool",
53065331
"srMbm9": "Cancel",
53075332
"srg0hY": "Production",
@@ -5437,6 +5462,7 @@
54375462
"v3Xc8p": "Decodes a string that has been encoded as an XML element value back to its original form.",
54385463
"v5CBNu": "Default value",
54395464
"v6V2NA": "Deselect all",
5465+
"v80mnx": "Last 7 days",
54405466
"v95bFR": "Workflow names must be unique. Duplicate workflow ids:",
54415467
"vAdBMk": "Next",
54425468
"vAtGzU": "Select file",

0 commit comments

Comments
 (0)