processing / processing/p5.js-web-editor

TypeScript migration: `client/modules/Preview`

Open
#3,828 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Typescript Migration Enhancement
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

Increasing Access
Summary

This issue tracks the TypeScript migration of client/modules/Preview.

The goal is to convert the module from JavaScript to TypeScript following the TypeScript migration guidelines outlined here

Scope
  • Migrate client/modules/Preview to TypeScript
  • Preserve existing runtime behavior
  • No functional or UI changes intended
  • No new features added
Implementation notes
  • Migration follows the current incremental TypeScript strategy
  • Uses no-verify where needed to avoid blocking the migration
  • Lint, tests, and typecheck pass locally
Related PR
  • PR: #4049
Feature enhancement details

Incremental Migration of Codebase from JavaScript to TypeScript

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with client/modules/Preview and read the TypeScript migration guidelines linked in the issue. Use the existing migration work in PR #4049 as context, then run the module's lint, tests, and typecheck. Done means the module is migrated to TypeScript with runtime behavior preserved and no UI or feature changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend, web-dev
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.