Phase 3: - Declare PowerPointApi 1.5 and replace template manifest values - Remove the dead command pipeline and the tracked Babel/polyfill setup - Extract constants, status/settings contexts, PowerPoint services, and an error boundary - Build with ES2020 and strict TypeScript; hash production assets and drop prod source maps - Add Vitest tests, CI, LICENSE, Node 20 pinning, and prune unused dependencies - Correct the README, user guide, developer guide, and audit notes Phase 4: - Add a persisted 16:9/4:3 slide size setting used by all layout tools - Add dark mode with Office/system theme detection - Make sections collapsible and move to accessible Fluent controls - Announce status through aria-live and add semantic status icons - Add a progress counter with cooperative cancellation and a Stop button - Update the tracked dependency tree for the pruned packages
This commit is contained in:
1 parent
e57258afe9
commit
89989c04e9
6211 files changed
+7028
-274819
No files matched your search
@@ -2,6 +2,10 @@
|
||||
|
||||
This document serves as an index for the UML diagrams created for the PowerPoint toolbox add-in repository.
|
||||
|
||||
> **Note:** These diagrams were created before the v1.2.0 context/service refactoring.
|
||||
> They remain useful as a high-level overview, but the current source tree (and
|
||||
> `docs/DEVELOPERS.md`) is authoritative.
|
||||
|
||||
## Available Diagrams
|
||||
|
||||
1. [Component Relationships](powerpoint-toolbox-uml.md) - Shows the relationships between React components and their interactions.
|
||||
@@ -25,9 +29,10 @@ The PowerPoint toolbox add-in is a Microsoft Office add-in built with React and
|
||||
### Architecture Highlights
|
||||
|
||||
- **Component-Based Structure**: The application is organized into reusable UI components
|
||||
- **Context API for State Management**: Uses React's Context API for sharing state across components
|
||||
- **Unidirectional Data Flow**: Data flows from user interaction through the application to PowerPoint and back
|
||||
- **Centralized Error Handling**: Error handling is managed through the Status Context
|
||||
- **Context API for State Management**: `StatusContext` (status/progress/cancellation) and `SettingsContext` (slide size)
|
||||
- **Service Layer**: Batched PowerPoint operations and pure helpers live in `src/taskpane/services/`
|
||||
- **Unidirectional Data Flow**: Data flows from user interaction through services to PowerPoint and back
|
||||
- **Centralized Error Handling**: Errors are reported through the Status Context and an error boundary
|
||||
|
||||
### Main Features
|
||||
|
||||
|
||||
Reference in new issue
Block a user