- Replace per-slide sync loops in confidential, draft, progress bar, and grid operations
- Use addTextBox options and batch loads; remove the nested PowerPoint.run in grid creation
- Replace O(n^2) progress segments with two rectangles per slide and apply to all slides
- Rewrite Insert Titles with batched loads and a pure title ranking function
- Delete existing marks before adding so repeated clicks replace instead of duplicate
- Report a warning when there is nothing to remove
- Add ConfirmButton and confirmation support to ActionButton
- Load layout name before reading it in progress bar creation
- Load shape dimensions before aligning and align to slide edges/center
- Clamp grid spacing/opacity and guard zero spacing before deleting a grid
- Use hasText and text-capable shape checks with null-safe property matching
- Add info status style and remove dead imports
- Enable strict mode and skipLibCheck; add typecheck script
- Add file-level JSDoc comments to components that were missing them
- Ensure consistent documentation format across all components
- Improve code maintainability and readability
- Updated manifest.xml from 1.0.0.0 to 1.1.0.0
- Updated README.md version history with v1.1.0 entry
- Synchronized package-lock.json version with package.json
All application files now consistently refer to version 1.1.0
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Bumped version from 1.0.1 to 1.1.0 in package.json and UI
- Updated USER_GUIDE.md with new features in v1.1.0
- Enhanced DEVELOPERS.md with:
- Information about reusable components (ActionButton, Section)
- Documentation for type-safe utilities
- Code examples for performance optimizations
- Updated best practices
- Added information about the improved project structure
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Created proper TypeScript types for Office API operations
- Replaced 'any' casts with appropriate types
- Added type-safe utility functions in office-types.ts
- Improved error handling with proper unknown type
- Added helper functions for PowerPoint shape operations
- Created proper TypeScript interface for webpack HMR
These changes improve code quality, maintainability, and help catch potential bugs at compile time rather than runtime.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- GridGuidelineManager: Load all shape names upfront and apply operations in batches
- AlignmentButtons: Replaced for loops with forEach and reduced sync calls
- MatchProperties: Reorganized code to batch load operations and property assignments
This optimization significantly reduces round-trips between JavaScript and the Office application,
improving performance and responsiveness of the add-in.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Created reusable ActionButton component to handle common button behavior
- Created reusable Section component for consistent section styling
- Refactored App, MatchSizes, and SwapPositions to use new components
- Fixed scrolling issues in the main container
- Improved code organization and reduced duplication
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>