Add Portal Settings Web Part with styles, localization, and tests

- Implemented the PortalSettings Web Part with a new manifest and TypeScript file.
- Created SCSS styles for the Web Part, defining various UI elements and responsive design.
- Added localization support for English and German languages.
- Developed tests for Provider Registry and static assets validation.
- Included PowerShell script for project validation.
This commit is contained in:
Torsten Brendgen
2026-07-21 22:43:35 +02:00
parent 62fef65c12
commit 10f7463094
49 changed files with 2411 additions and 462 deletions

View File

@@ -2,17 +2,17 @@
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/config.2.0.schema.json",
"version": "2.0",
"bundles": {
"portal-settings-application-customizer": {
"portal-settings-web-part": {
"components": [
{
"entrypoint": "./lib/extensions/portalSettings/PortalSettingsApplicationCustomizer.js",
"manifest": "./src/extensions/portalSettings/PortalSettingsApplicationCustomizer.manifest.json"
"entrypoint": "./lib/webparts/portalSettings/PortalSettingsWebPart.js",
"manifest": "./src/webparts/portalSettings/PortalSettingsWebPart.manifest.json"
}
]
}
},
"externals": {},
"localizedResources": {
"PortalSettingsApplicationCustomizerStrings": "lib/extensions/portalSettings/loc/{locale}.js"
"PortalSettingsWebPartStrings": "lib/webparts/portalSettings/loc/{locale}.js"
}
}

View File

@@ -1,4 +0,0 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
"deployCdnPath": "temp/deploy"
}

View File

@@ -1,7 +0,0 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
"workingDir": "./release/assets/",
"account": "[account]",
"container": "portal-settings",
"accessKey": "[access-key]"
}

View File

@@ -3,28 +3,9 @@
"solution": {
"name": "portal-settings-client-side-solution",
"id": "1c98e32d-bb7b-43b7-9625-074d6e4ea286",
"version": "2.2.0.0",
"version": "3.0.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": false,
"features": [
{
"title": "Portal Settings",
"description": "Provisioniert die zentrale Settings-Seite fuer aktive Portal-Erweiterungen.",
"id": "57bd9daf-48f9-49e2-aebd-11b15a0b5e93",
"version": "2.2.0.0",
"assets": {
"elementManifests": [
"elements-v2.xml"
],
"elementFiles": [
"PortalSettings.aspx"
],
"upgradeActions": [
"upgrade-actions-v2.xml"
]
}
}
]
"skipFeatureDeployment": false
},
"paths": {
"zippedPackage": "solution/portal-settings.sppkg"

View File

@@ -4,13 +4,7 @@
"https": true,
"serveConfigurations": {
"default": {
"pageUrl": "http://clshp001/SitePages/PortalSettings.aspx",
"customActions": {
"cd6b9e8d-07b9-4468-b230-6bb35acd9a5f": {
"location": "ClientSideExtension.ApplicationCustomizer",
"properties": {}
}
}
"pageUrl": "http://clshp001/_layouts/15/workbench.aspx"
}
}
}