Skip to content

Commit

Permalink
Merge branch 'OfficeDev:main' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
elegault authored Jan 6, 2024
2 parents ee432d7 + 19215ed commit 951e27b
Show file tree
Hide file tree
Showing 325 changed files with 216,379 additions and 12,749 deletions.
1,113 changes: 0 additions & 1,113 deletions .github/fabricbot.json

This file was deleted.

155 changes: 155 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description:
frequencies:
- hourly:
hour: 3
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: author feedback'
- noActivitySince:
days: 4
- isNotLabeledWith:
label: 'Status: no recent activity'
actions:
- addLabel:
label: 'Status: no recent activity'
- addReply:
reply: This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. Thank you for your interest in Office Add-ins!
- description:
frequencies:
- hourly:
hour: 3
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: author feedback'
- hasLabel:
label: 'Status: no recent activity'
- noActivitySince:
days: 3
actions:
- addReply:
reply: This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.
- closeIssue
- description:
frequencies:
- hourly:
hour: 1
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Type: programming question'
actions:
- addReply:
reply: Thanks for your interest in Office Add-ins development! Feedback here is intended for reporting problems with the Office Add-ins *documentation*. Can you please post your question to Stack Overflow with the [office-js](https://stackoverflow.com/questions/tagged/office-js) tag? By posting how-to questions like this to Stack Overflow, you'll not only be able to reach a broader audience of folks who have expertise in the area, but will also enable others to benefit from any answers that are provided there. Thanks!
- closeIssue
- description:
frequencies:
- hourly:
hour: 1
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Type: product feature request'
actions:
- addReply:
reply: Thanks for your interest in Office Add-ins development! Feedback here is intended for reporting problems with the Office Add-ins *documentation*. Can you please post this feature request to [Microsoft 365 on Q&A](https://learn.microsoft.com/answers/products/m365)? Feature Requests submitted to **Q&A** are regularly reviewed by the product teams as they plan future releases. Thanks!
- closeIssue
eventResponderTasks:
- if:
- payloadType: Issues
- isAction:
action: Opened
- not: isAssignedToSomeone
then:
- addLabel:
label: 'needs triage :mag:'
description:
- if:
- payloadType: Issues
- not:
isAction:
action: Closed
- hasLabel:
label: 'Status: no recent activity'
then:
- removeLabel:
label: 'Status: no recent activity'
description:
- if:
- payloadType: Issue_Comment
- hasLabel:
label: 'Status: no recent activity'
then:
- removeLabel:
label: 'Status: no recent activity'
description:
- if:
- payloadType: Issue_Comment
- isAction:
action: Created
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: author feedback'
then:
- addLabel:
label: 'Needs attention :wave:'
- removeLabel:
label: 'Needs: author feedback'
description:
- if:
- payloadType: Pull_Request
then:
- inPrLabel:
label: 'Status: in PR'
description:
- if:
- payloadType: Issues
- labelAdded:
label: 'Status: in PR'
- hasLabel:
label: 'Status: under investigation'
then:
- removeLabel:
label: 'Status: under investigation'
description:
triggerOnOwnActions: true
- if:
- payloadType: Issues
- labelAdded:
label: 'Status: in PR'
- hasLabel:
label: 'Status: in backlog'
then:
- removeLabel:
label: 'Status: in backlog'
description:
triggerOnOwnActions: true
- if:
- payloadType: Issues
- labelAdded:
label: 'Status: in PR'
- hasLabel:
label: 'Needs attention :wave:'
then:
- removeLabel:
label: 'Needs attention :wave:'
description:
triggerOnOwnActions: true
onFailure:
onSuccess:
41 changes: 41 additions & 0 deletions Excel-custom-functions/AzureFunction/assets/sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"name": "azure-function-with-excel-custom-function",
"reponame": "office-add-in-samples",
"source": "officedev",
"title": "Integrate an Azure Function with your Excel custom function",
"shortDescription": "You can expand the capabilities of Excel custom functions by integrating with Azure Functions.",
"url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Excel-custom-functions/AzureFunction",
"longDescription": [
"Expand the capabilities of Excel custom functions by integrating with Azure Functions. An Azure Function allows you to move your code to the cloud so it is not visible from the browser, and you can choose additional languages to run in besides JavaScript. Azure Function can also integrate with other Azure services, such as message queues and storage, and you can share the function with other clients."
],
"creationDateTime": "2019-10-02",
"updateDateTime": "2022-03-17",
"products": [
"Office"
],
"metadata": [
{
"key": "CLIENT-SIDE-DEV",
"value": "JavaScript"
}
],
"thumbnails": [
{
"type": "Image",
"order": 100,
"url": "https://raw.githubusercontent.com/OfficeDev/Office-Add-in-samples/main/Excel-custom-functions/AzureFunction/images/azure-function-overview.png",
"alt": "Overview diagram of Excel custom function calling an Azure Function that returns a result."
}
],
"authors": [
{
"gitHubAccount": "microsoft",
"pictureUrl": "https://github.com/microsoft.png",
"name": "Microsoft"
}
],
"references": [
]
}
]
40 changes: 40 additions & 0 deletions Excel-custom-functions/Batching/assets/sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[
{
"name": "excel-custom-function-batching-pattern",
"reponame": "office-add-in-samples",
"source": "officedev",
"title": "Custom function batching pattern",
"shortDescription": "If your functions call a remote service, use a batching pattern to reduce the number of network calls to the service.",
"url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Excel-custom-functions/Batching",
"longDescription": [
"Use a batching pattern to reduce the number of network calls your custom functions make to their remote web service. Batching the requests improves network performance."
],
"creationDateTime": "2019-04-05",
"updateDateTime": "2021-06-01",
"products": [
"Office"
],
"metadata": [
{
"key": "CLIENT-SIDE-DEV",
"value": "JavaScript"
}
],
"thumbnails": [
],
"authors": [
{
"gitHubAccount": "microsoft",
"pictureUrl": "https://github.com/microsoft.png",
"name": "Microsoft"
}
],
"references": [
{
"name": "Batch custom function calls for a remote service",
"description": "Batch custom functions together to reduce network calls to a remote service.",
"url": "https://learn.microsoft.com/en-us/office/dev/add-ins/excel/custom-functions-batching"
}
]
}
]
35 changes: 35 additions & 0 deletions Excel-custom-functions/web-worker/assets/sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[
{
"name": "excel-custom-function-web-worker-pattern",
"reponame": "office-add-in-samples",
"source": "officedev",
"title": "Custom function sample using web worker",
"shortDescription": "Use web workers in custom functions to prevent blocking the UI of your Office Add-in.",
"url": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Excel-custom-functions/web-worker",
"longDescription": [
"Shows how to use web workers in custom functions to prevent blocking the UI of your Office Add-in."
],
"creationDateTime": "2020-12-16",
"updateDateTime": "2022-07-28",
"products": [
"Office"
],
"metadata": [
{
"key": "CLIENT-SIDE-DEV",
"value": "JavaScript"
}
],
"thumbnails": [
],
"authors": [
{
"gitHubAccount": "microsoft",
"pictureUrl": "https://github.com/microsoft.png",
"name": "Microsoft"
}
],
"references": [
]
}
]
Loading

0 comments on commit 951e27b

Please sign in to comment.