Commit Graph
8 Commits
Author SHA1 Message Date
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 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 b76b34a332 Optimize AlignmentButtons component with improved documentation, code structure, and performance 2025-03-22 19:37:54 +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 0b97784cc5 Minor rearangement 2025-03-14 00:04:38 +01:00
schihei b185e071ef Added implementations for alignment buttoms. 2025-03-09 15:59:31 +01:00
schihei 09ff4a6555 Re-organisation of Draft and Confidential code 2025-03-09 15:14:43 +01:00