Commit Graph

56 Commits

Author SHA1 Message Date
schihei 50966867b2 Improve TypeScript types and error handling
- 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>
2025-03-15 00:02:35 +01:00
schihei 07b0232726 Optimize performance by batching context.sync() calls
- 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>
2025-03-14 23:56:54 +01:00
schihei d09dec4706 Refactor UI components for better reusability
- 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>
2025-03-14 23:50:19 +01:00
schihei 0cbb9c948e Minor changes 2025-03-14 23:40:29 +01:00
schihei c0c85e4054 Added depolyment URL v1.0.0 2025-03-14 10:04:53 +01:00
schihei af401c2b4c Made the version number everywhere the same 2025-03-14 09:40:15 +01:00
schihei aa9f72c9b6 Minor changes in the button 2025-03-14 09:37:24 +01:00
schihei 2e53e25da8 Bumped version number to 1.0 2025-03-14 09:33:02 +01:00
schihei cd364c6f62 Removed divider between grid and guidelines 2025-03-14 09:27:19 +01:00
schihei 0b97784cc5 Minor rearangement 2025-03-14 00:04:38 +01:00
schihei ebd698d17d Changed for gride and guidelines 2025-03-13 23:30:58 +01:00
schihei 044bd9ebec Initial commit of grid line function 2025-03-13 00:30:31 +01:00
schihei f0773d93d8 Initial commit of documentation files. 2025-03-12 20:10:39 +01:00
schihei 28b245f1fb Made version number consistent. 2025-03-12 20:04:22 +01:00
schihei 4829366c59 Reorder of buttons 2025-03-11 07:38:17 +01:00
schihei 631acab21c Minor position correction for DRAFT watermark 2025-03-10 21:59:10 +01:00
schihei 64598f1e8f Minor improvment for DRAFT watermark 2025-03-10 21:47:19 +01:00
schihei e8a41e9206 The DRAFT watermark is now added to the master slides with a lighter color 2025-03-10 20:15:04 +01:00
schihei deeed2a735 Inital commit of gitignore file 2025-03-10 19:51:49 +01:00
schihei 3dc463c256 Minor changes in progress bar setup so that progress bar goes to the end of a slide 2025-03-10 19:48:45 +01:00
schihei 213b503c65 Initial commit of ProgressBar file 2025-03-10 18:06:27 +01:00
schihei 29b35a0bfd Minor renaming of buttons and sections 2025-03-10 18:01:48 +01:00
schihei 9c04c6ac55 Initial version of add and remove progress bar. 2025-03-10 17:54:38 +01:00
schihei a501afdce2 Initial version of Progress Bar. 2025-03-10 17:46:17 +01:00
schihei e4c016f8aa Minor changes. 2025-03-10 17:24:08 +01:00
schihei 278b328bec Package changes. 2025-03-10 17:23:45 +01:00
schihei 94d401a353 Package changes. 2025-03-10 17:23:11 +01:00
schihei 8a781653a8 Added initial version of draft watermark functionality 2025-03-09 16:26:05 +01:00
schihei b185e071ef Added implementations for alignment buttoms. 2025-03-09 15:59:31 +01:00
schihei 10d3d8c453 Made the font for confidential buttons smaller 2025-03-09 15:23:24 +01:00
schihei e6e6991bd5 Removed uneded files 2025-03-09 15:17:49 +01:00
schihei 09ff4a6555 Re-organisation of Draft and Confidential code 2025-03-09 15:14:43 +01:00
schihei 2c23c9adfc Added Alignment wrapper functions. 2025-03-09 15:05:25 +01:00
schihei b54dccc49b Added wrapper functions for draft, progress bar and change icon for remove confidential. 2025-03-09 14:54:51 +01:00
schihei 9c137d900f Minor changes 2025-03-08 23:42:40 +01:00
schihei 4eb959c539 Minor changes 2025-03-08 21:19:52 +01:00
schihei d62b86045e Added InsertTitles and Confidential functions 2025-03-08 20:57:25 +01:00
schihei 15b7815f6b Added swap position functionality 2025-03-08 19:50:08 +01:00
schihei 30b9b75972 Moved styles definition in a common style file 2025-03-08 19:45:12 +01:00
schihei bbfca3a67f Minor changes 2025-03-08 18:34:10 +01:00
schihei f30be26bd6 Minor changes, not perfect yet 2025-03-08 18:23:45 +01:00
schihei 65861403b9 Initial commit of Round Image. 2025-03-08 16:59:16 +01:00
schihei abcecb933a Added the remaining sections 2025-03-08 01:05:16 +01:00
schihei 7f957d4ca9 Minor changes 2025-03-08 01:05:08 +01:00
schihei 0611db8c01 Minor changes 2025-03-08 00:35:39 +01:00
schihei a9f0267ee6 Changed version 2025-03-08 00:33:01 +01:00
schihei dd2561adc8 Now only using one status box 2025-03-08 00:30:43 +01:00
schihei ba393bac87 Fixed fill for properties 2025-03-08 00:22:18 +01:00
schihei 87e563af3a Fixed error in Match PRoperties 2025-03-08 00:01:42 +01:00
schihei a9c568a20d Initial version of MatchProperties and border ajustment 2025-03-07 23:54:15 +01:00