Skip to content

Conversation

@willeastcott
Copy link
Contributor

@willeastcott willeastcott commented Jan 22, 2026

@willeastcott willeastcott requested a review from Copilot January 22, 2026 16:26
@willeastcott willeastcott self-assigned this Jan 22, 2026
@willeastcott willeastcott added the bug Something isn't working label Jan 22, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR continues the TypeScript migration of PCUI extension classes by adding comprehensive type annotations, improving documentation, and fixing several bugs.

Changes:

  • Converted JavaScript classes to TypeScript with proper type definitions and interfaces
  • Fixed two bugs: incorrect property reference (_sort.sortKey_sort.key) and event listener typo (mouesupmouseup)
  • Corrected spelling from British to American English for consistency

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Show a summary per file
File Description
template-thumbnail-renderer.ts Fixed spelling in comment (Neutralise → Neutralize)
element-table.ts Added TypeScript types, interfaces, and fixed _sort.key reference bug
element-table-row.ts Added type annotations and improved constructor argument handling
element-table-cell.ts Added type annotations and implemented colSpan getter/setter
element-layers-input.ts Added TypeScript types and improved type safety
element-gradient-input.ts Added comprehensive type annotations and private field declarations
element-entity-input.ts Added type annotations and corrected flexGrow to string type
element-drop-target.ts Added type annotations and improved null safety with optional chaining
element-drop-manager.ts Added type annotations and fixed mouseup event listener typo
element-curve-input.ts Added comprehensive type annotations
element-color-input.ts Added type annotations and removed unused _isColorPickerOpen field
element-bundles-input.ts Added type annotations and improved method signatures
element-batchgroup-input.ts Added type annotations and optional chaining for safety
element-asset-thumbnail.ts Fixed spelling in comment (optimisations → optimizations)
element-asset-list.ts Added type annotations and fixed typo in comment (seach → search)
element-asset-input.ts Added type annotations and cleaned up constructor

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@willeastcott willeastcott merged commit 78cf73d into main Jan 22, 2026
3 checks passed
@willeastcott willeastcott deleted the pcui-errors branch January 22, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants