Add Dynamic Poll Web Part with core functionality and styling

- Initialize Gulp build process with gulpfile.js
- Create package.json for project dependencies and scripts
- Add TypeScript declarations for SCSS modules
- Implement DynamicPollWebPart with property pane configuration
- Create PollDataService for SharePoint list interactions
- Develop core polling logic in PollCore.ts
- Define types for polls and answers in PollTypes.ts
- Create React components for DynamicPoll UI
- Add localization support for English and German
- Implement unit tests for core polling functionality
- Set up TypeScript and TSLint configurations
This commit is contained in:
Torsten Brendgen
2026-08-23 22:51:10 +02:00
commit ca41674188
30 changed files with 955 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/config.2.0.schema.json",
"version": "2.0",
"bundles": {
"dynamic-poll-web-part": {
"components": [{
"entrypoint": "./lib/webparts/dynamicPoll/DynamicPollWebPart.js",
"manifest": "./src/webparts/dynamicPoll/DynamicPollWebPart.manifest.json"
}]
}
},
"externals": {},
"localizedResources": {
"DynamicPollWebPartStrings": "lib/webparts/dynamicPoll/loc/{locale}.js"
}
}