82 Commits
Author SHA1 Message Date
schihei 9889ce1025 Add raster tool with slide, layout, and master scopes
CI / build (push) Canceled after 0s
- Add 12 × 8 and 24 × 16 wireframe presets plus custom columns, rows, gutter, opacity, and colour
- Place the raster on the current slide, its layout, or the slide master so background rasters sit behind content
- Keep one raster per presentation: add clears every scope and remove cleans the whole presentation
- Share the colour swatch control across grids, guidelines, and rasters, including grey
- Add raster geometry tests and document scope, background, and export caveats
2026-11-25 13:03:43 +01:00
schihei e223dc61c8 Rework task pane UI and document design guidelines
- Add a header, a shared accordion, a docked status region, and token-based styles
- Use the blue primary style for every action button and collapse all sections by default
- Improve labels, selection hints, destructive confirmations, grid semantics, and narrow-pane layout
- Add docs/UI_GUIDELINES.md and update the README, user guide, and developer guide
2026-11-25 12:40:12 +01:00
schihei 89989c04e9 Modernize platform, structure, and UX
CI / build (push) Canceled after 0s
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
2026-11-25 12:01:40 +01:00
schihei e57258afe9 Batch slide operations, make adds idempotent, and add confirmations
- 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
2026-11-25 11:51:04 +01:00
schihei 791cbc7b6c Fix alignment, progress bar, grid safety, and strict typing issues
- 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
2026-11-25 11:43:23 +01:00
schihei 16491c00ce Add IMPROVEMENTS.md with code audit findings across bugs, code quality, performance, and maintainability 2026-05-17 09:00:22 +02:00
schihei e82df2f308 Add UML diagrams to documentation directory 2025-03-31 20:31:31 +02:00
schihei 626b7aaa7a Fix spacing inconsistency between Grid and Guidelines sections by removing redundant margin 2025-03-22 19:58:37 +01:00
schihei 1aeef10ebe Standardize documentation across all *.tsx files
- Add file-level JSDoc comments to components that were missing them
- Ensure consistent documentation format across all components
- Improve code maintainability and readability
2025-03-22 19:53:09 +01:00
schihei b1699a74bc Optimize GridGuidelineManager component
- Improve performance by batching API calls and reducing context.sync() calls
- Add memoization with useCallback for event handlers
- Extract ColorButton component and create reusable numeric input hook
- Define slide dimensions as constants
- Add accessibility attributes to input fields
- Add comprehensive JSDoc documentation
2025-03-22 19:47:18 +01:00
schihei b76b34a332 Optimize AlignmentButtons component with improved documentation, code structure, and performance 2025-03-22 19:37:54 +01:00
schihei 9bb1bf2cdb Optimize DraftButtons component with improved documentation, code structure, and performance 2025-03-22 19:33:46 +01:00
schihei 54328baaec Optimize ConfidentialButtons component with improved documentation, code structure, and performance 2025-03-22 19:31:07 +01:00
schihei fea088fe26 Optimize ProgressBarButtons with performance improvements and documentation
- Reduce API calls by batching operations
- Add performance monitoring
- Create configuration constants
- Improve code documentation
- Enhance variable naming for readability
2025-03-22 19:23:38 +01:00
schihei d6c32b778c Remove unused HeroList component 2025-03-22 19:10:59 +01:00
schihei 1ed34ab888 Refactor RoundImage component for improved maintainability and consistency with other components 2025-03-22 18:11:23 +01:00
schihei e0343dfd65 Add slide numbers toggle dropdown to InsertTitles component 2025-03-22 17:24:03 +01:00
schihei d67db17f4b Align pull-down menu to the right in InsertTitles component 2025-03-22 17:20:38 +01:00
schihei 36190f1ba5 Improve title detection algorithm and UI layout in InsertTitles component 2025-03-22 17:12:50 +01:00
schihei 4ca09b8098 Se version number to 1.2.0-dev 2025-03-22 16:06:18 +01:00
schihei 5e02bfc81e Refactor InsertTitles component for better maintainability and performance 2025-03-22 16:01:10 +01:00
schihei ba304f0047 Refactor SwapPositions component for better maintainability and performance 2025-03-22 15:57:53 +01:00
schihei 577d5b15c8 Refactor MatchSizes component for better maintainability and performance 2025-03-22 15:54:13 +01:00
schihei 04c86c6162 Refactor MatchProperties component for better maintainability and performance 2025-03-22 15:50:19 +01:00
schihei 3dc9afea50 Make version numbers consistent across all files
- 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>
v1.1.0
2025-03-15 00:19:11 +01:00
schihei 338810ef60 Update version to 1.1.0 and enhance documentation
- 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>
2025-03-15 00:16:42 +01:00
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