Skip to content

Commit

Permalink
Chore (release): 7.0.0 (#2218)
Browse files Browse the repository at this point in the history
Features

* Feature: ABNF validation (#2044)

* Feature: Unconsent permissions (#2063)

Bug Fixes

* Fix: Prevent sample groups from collapsing (#2101)

* Fix: Remove float CSS property on snippets (#2106)

* Fix: Update wordSeparators in Monaco (#2109)

* Fix: Failing tests (#2144)

* Fix: failing tests [Attempt 2] (#2145)

* Fix: stop recursive deep copy (#2151)

* Fix: display suggestions for placeholder segments (#2156)

* Fix: Pass empty array to signOutSuccess when signing out (#2162)

* Fix: Permission search results (#2167)

* Fix: Component name on device characteristics event (#2173)

* Fix: Add consent status for successful consent (#2187)

Enhancements

* Task: Fix auto-collapsing of permissions items (#2099)

* Task: Take Modify Permissions out of preview (#2110)

* Task: fix accessibility unnecessary empty data scans (#2118)

* Task: Update doc.microsoft links to learn.microsoft (#2148)

* Task: Remove errors telemetry filter to capture more details (#2124)

* Task: Add Adaptive card templates to local repo (#2182)

* Task: Update adaptive cards templating (#2183)

* Task: more-info telemetry capture (#2188)

Dependencies

* Task: upgrade redux (#2179)

* Chore: Dependabot upgrades September 2022 (#2098)
  • Loading branch information
thewahome authored Nov 8, 2022
1 parent 0053df9 commit 1979149
Show file tree
Hide file tree
Showing 146 changed files with 5,363 additions and 963 deletions.
2 changes: 1 addition & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ module.exports = function (webpackEnv) {
// public/ and not a SPA route
new RegExp('/[^/]+\\.[^/]+$')
],
maximumFileSizeToCacheInBytes: 6 * 1024 * 1024
maximumFileSizeToCacheInBytes: 10 * 1024 * 1024
}),
// TypeScript type checking
useTypeScript &&
Expand Down
805 changes: 629 additions & 176 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graph-explorer-v2",
"version": "6.5.0",
"version": "7.0.0",
"private": true,
"dependencies": {
"@augloop/types-core": "file:packages/types-core-2.16.189.tgz",
Expand All @@ -15,8 +15,10 @@
"@microsoft/microsoft-graph-client": "3.0.2",
"@monaco-editor/react": "4.4.6",
"@ms-ofb/officebrowserfeedbacknpm": "file:packages/officebrowserfeedbacknpm-1.6.6.tgz",
"adaptive-expressions": "4.17.1",
"adaptivecards": "2.11.1",
"adaptivecards-templating": "1.4.0",
"adaptivecards-templating": "2.3.1",
"apg-js": "4.1.2",
"babel-loader": "8.2.5",
"babel-preset-react-app": "10.0.1",
"bfj": "7.0.2",
Expand Down Expand Up @@ -47,7 +49,7 @@
"react-app-polyfill": "3.0.0",
"react-dom": "16.14.0",
"react-intl": "2.8.0",
"react-redux": "7.2.8",
"react-redux": "8.0.4",
"redux": "4.2.0",
"redux-thunk": "2.4.1",
"resolve": "1.22.1",
Expand Down
59 changes: 59 additions & 0 deletions src/adaptivecards-templates/DirectReports.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"type": "AdaptiveCard",
"version": "1.0",
"@odata.type": "#microsoft.graph.user",
"body": [
{
"type": "Container",
"$data": "{value}",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "Image",
"altText": "",
"url": "https://graph.microsoft.com/v1.0/users/{mail}/photo/$value",
"size": "Small",
"style": "Person"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "{displayName}"
},
{
"type": "TextBlock",
"text": "{jobTitle}",
"isSubtle": true,
"spacing": "None"
}
]
}
]
}
]
}
]
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
43 changes: 43 additions & 0 deletions src/adaptivecards-templates/Files.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"type": "AdaptiveCard",
"@odata.type": "#microsoft.graph.driveItem",
"body": [
{
"$data": "${value}",
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "${name}",
"weight": "Bolder"
},
{
"type": "FactSet",
"facts": [
{
"title": "Created",
"value": "{{DATE(${createdDateTime}, SHORT)}} by ${createdBy.user.displayName}"
},
{
"title": "Modified",
"value": "{{DATE(${lastModifiedDateTime}, SHORT)}} by ${lastModifiedBy.user.displayName}"
}
]
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"title": "Open file",
"url": "${webUrl}"
}
]
}
],
"separator": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
128 changes: 128 additions & 0 deletions src/adaptivecards-templates/FullPersonCard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": 2
},
{
"type": "Column",
"width": 4,
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "Image",
"altText": "",
"size": "Small",
"url": "https://graph.microsoft.com/v1.0/users/{profile.mail}/photo/$value",
"style": "Person"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "{profile.displayName}"
},
{
"type": "TextBlock",
"text": "{profile.jobTitle}",
"spacing": "None",
"isSubtle": true
},
{
"type": "TextBlock",
"text": "{profile.officeLocation}",
"spacing": "None",
"isSubtle": true
}
]
}
]
}
],
"style": "emphasis"
},
{
"type": "Column",
"width": 2
}
]
},
{
"type": "Container",
"style": "emphasis",
"bleed": true,
"items": [
{
"type": "TextBlock",
"text": "People reporting to {profile.displayName} ({length(reports.value)})",
"wrap": true
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "Image",
"altText": "",
"url": "https://graph.microsoft.com/v1.0/users/{reports[0].mail}/photo/$value",
"size": "Small",
"style": "Person"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "{reports.value[0].displayName}"
},
{
"type": "TextBlock",
"text": "{reports.value[0].jobTitle}",
"isSubtle": true,
"spacing": "None"
}
]
}
]
}
]
},
{
"type": "Column",
"width": "stretch"
}
]
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
57 changes: 57 additions & 0 deletions src/adaptivecards-templates/Groups.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"type": "AdaptiveCard",
"version": "1.4",
"@odata.type": "#microsoft.graph.group",
"body": [
{
"type": "Container",
"$data": "${value}",
"items": [
{
"type": "TextBlock",
"$when": "${visibility != $null}",
"text": "${displayName} (${visibility})",
"size": "Medium",
"weight": "Bolder"
},
{
"type": "TextBlock",
"$when": "${visibility == $null}",
"text": "${displayName}",
"size": "Medium",
"weight": "Bolder"
},
{
"type": "TextBlock",
"$when": "${description != $null}",
"text": "${description}",
"spacing": "Small",
"wrap": true,
"maxLines": 2
},
{
"type": "TextBlock",
"$when": "${description == $null}",
"text": "No description provided",
"spacing": "Small",
"wrap": true,
"maxLines": 2,
"isSubtle": true
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"$when": "${mail != $null}",
"title": "Send an email",
"url": "mailto:${mail}"
}
]
}
],
"separator": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
28 changes: 28 additions & 0 deletions src/adaptivecards-templates/Insights.Trending.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"type": "AdaptiveCard",
"version": "1.0",
"@odata.type": "#microsoft.graph.trending",
"body": [
{
"type": "Container",
"$data": "{value}",
"items": [
{
"type": "TextBlock",
"text": "{resourceVisualization.title}"
},
{
"type": "TextBlock",
"text": "{resourceVisualization.previewText}"
},
{
"type": "Image",
"altText": "",
"url": "{resourceVisualization.previewImageUrl}"
}
],
"separator": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
Loading

0 comments on commit 1979149

Please sign in to comment.