Skip to content

Commit 6c14533

Browse files
committed
Add people picker & combo box support, show command in lint and context menu, add hide SP list script
1 parent 8ac9380 commit 6c14533

21 files changed

+3086
-239
lines changed

SPFx/config/config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"externals": {},
1515
"localizedResources": {
16-
"EnhancedPowerAutomateTriggerCommandSetStrings": "lib/extensions/enhancedPowerAutomateTrigger/loc/{locale}.js"
16+
"EnhancedPowerAutomateTriggerCommandSetStrings": "lib/extensions/enhancedPowerAutomateTrigger/loc/{locale}.js",
17+
"ControlStrings": "node_modules/@pnp/spfx-controls-react/lib/loc/{locale}.js"
1718
}
18-
}
19+
}

SPFx/config/serve.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"pageUrl": "https://{your_SharePoint_site_here}",
88
"customActions": {
99
"543ef5be-c9cb-4b7b-bdaf-592c7be1493a": {
10-
"location": "ClientSideExtension.ListViewCommandSet.CommandBar",
10+
"location": "ClientSideExtension.ListViewCommandSet",
1111
"properties": {}
1212
}
1313
}
@@ -16,7 +16,7 @@
1616
"pageUrl": "https://{your_SharePoint_site_here}",
1717
"customActions": {
1818
"543ef5be-c9cb-4b7b-bdaf-592c7be1493a": {
19-
"location": "ClientSideExtension.ListViewCommandSet.CommandBar",
19+
"location": "ClientSideExtension.ListViewCommandSet",
2020
"properties": {}
2121
}
2222
}

SPFx/gulp-tasks/update-settings.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ var UpdateSettings = {
6767
`Using flow button display limit: ${inputJson.environments[targetEnv].FlowButtonDisplayLimit}`
6868
)
6969
);
70-
gutil.log(
71-
gutil.colors.yellow(
72-
`Using origin secret: ${inputJson.environments[targetEnv].OriginSecret}`
73-
)
74-
);
7570

7671
/* UPDATE APPSETTINGS.JSON */
7772
if (updateAppSettingsUponEnvironmentSwitch) {
@@ -101,15 +96,6 @@ var UpdateSettings = {
10196
appSettingsIsUpdated = true;
10297
}
10398

104-
if (
105-
appSettings.OriginSecret !==
106-
inputJson.environments[targetEnv].OriginSecret
107-
) {
108-
appSettings.OriginSecret =
109-
inputJson.environments[targetEnv].OriginSecret;
110-
appSettingsIsUpdated = true;
111-
}
112-
11399
// This prevents the function from unnecessarily updating the AppSettings.json file,
114100
// which, during gulp serve, will cause an annoying infinite rebuild loop
115101
if (appSettingsIsUpdated) {

0 commit comments

Comments
 (0)